DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 25th January 2010
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,080
Thanked 198 Times in 156 Posts
Default Installing FreeBSD on an OpenBSD disk

Today I installed FreeBSD 8 on a disk which was installed with OpenBSD 4.5.

This should be no problem you would think, however, FreeBSD and sysinstall seem to be greatly confused by OpenBSD disklabels. fdisk didn't see any partitions, and my /dev/ had ad4a, ad4b, ad4c, etc.
Using fdisk and the disk label editor went fine, but when it tried to commit the changes it complained about missing /dev/ad4* entries.

The solution?

Burn a FreeBSD livefs CD, swap it for the install CD, and clear the first few MB of the disk:
# dd if=/dev/zero of=/dev/ad4 bs=16M count=1

What have we learned:
FreeBSD and OpenBSD disklabels are NOT compatible to the point it may actually break stuff.

Hope this saves someone some confusion and time
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #2   (View Single Post)  
Old 26th January 2010
Beastie Beastie is offline
Daemonology student
 
Join Date: Jan 2009
Location: /dev/earth0
Posts: 270
Thanked 23 Times in 23 Posts
Default

It seems it was seeing OpenBSD partitions as dangerously dedicated (is that how you installed them on OpenBSD?) and DD has been removed from 8.0.
__________________
May the source be with you!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing packages from USB drive (OpenBSD 4.5) divadgnol67 OpenBSD Packages and Ports 26 30th July 2009 04:21 PM
installing openbsd bsdnewbie999 OpenBSD Installation and Upgrading 12 4th May 2009 11:55 AM
About the FreeBSD mall disk set haemulon FreeBSD General 2 10th February 2009 07:39 PM
FreeBSD + Disk speed graudeejs FreeBSD Installation and Upgrading 9 19th November 2008 09:33 PM
FreeBSD 7.0 hangs with USB disk drive. map7 FreeBSD General 7 9th August 2008 03:02 AM


All times are GMT. The time now is 12:40 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick