Forum Home
Press F1
 
Thread ID: 54086 2005-02-03 22:23:00 Dual booting FC3 and FreeBSD johnd (85) Press F1
Post ID Timestamp Content User
321220 2005-02-03 22:23:00 I am helping a friend dual boot a FC3 system with FreeBSD 5. At this stage, he knows more about FreeBSD than I do since he has installed a number of times and has had goes at configuring the system with varying degrees of success.

We have started from scratch with a fresh install of FC3. We have allocated the (Linux) primary partition hda2 for the FreeBSD slice. At first we went with the automatic allocation of FreeBSD partitions inside hda2, then we tried manually partitioning.

In both cases we cannot get past the acceptance of the partitions. We get a message something like: "cannot find /dev/ad0s2b" which is the swap partition. This was not a problem when FreeBSD was installed by itself on the disk.

The basic problem seems to be that the install routine cannot allocate the space given to the swap partition (inside the FreeBSD slice) by the disk partitioning tool.

A peruse of the web did not seem to give any clues.

Any ideas?
johnd (85)
321221 2005-02-05 07:19:00 No FreeBSD experts out there? johnd (85)
321222 2005-02-05 07:52:00 ... We have allocated the (Linux) primary partition hda2 for the FreeBSD slice. At first we went with the automatic allocation of FreeBSD partitions inside hda2, then we tried manually partitioning.

In both cases we cannot get past the acceptance of the partitions. We get a message something like: "cannot find /dev/ad0s2b" which is the swap partition. This was not a problem when FreeBSD was installed by itself on the disk.

The basic problem seems to be that the install routine cannot allocate the space given to the swap partition (inside the FreeBSD slice) by the disk partitioning tool.

A peruse of the web did not seem to give any clues.

Any ideas?

Are you deleting all the partitions within the FBSD slice before trying to disklabel them again? I have never come across this problem before.

Try using the linux swap space instead of creating another swap space. Swap space is swap space. Saves on disk space too.
vinref (6194)
321223 2005-02-05 08:13:00 Are you deleting all the partitions within the FBSD slice before trying to disklabel them again? I have never come across this problem before.
It was a partition made during the FC3 install with nothing in it. We changed the partition type from Linux to FreeBSD (forgotten the numbers).



Try using the linux swap space instead of creating another swap space. Swap space is swap space. Saves on disk space too.

Yes - we could try that. I see there is HOWTO on that:
www.tldp.org
johnd (85)
321224 2005-02-05 08:50:00 It was a partition made during the FC3 install with nothing in it. We changed the partition type from Linux to FreeBSD (forgotten the numbers).

Did you re-label the slice as UFS using the FBSD tool, or did you do this using the Linux tool. Somethings never go right when you use a tool from another system.
vinref (6194)
321225 2005-02-05 09:21:00 Did you re-label the slice as UFS using the FBSD tool, or did you do this using the Linux tool. Somethings never go right when you use a tool from another system.

We did it as part of the FBSD install.
johnd (85)
321226 2005-02-05 09:21:00 How are the slices set up within the FreeBSD partition? Caesius (3758)
321227 2005-02-05 09:27:00 How are the slices set up within the FreeBSD partition?

Isn't it the other way around. You have a slice (which is a partition to us in the DOS/Linux world). The slice is divided up into partitions (in much the same way as you make an extended partition and logical drives).

YOu can choose the default partitions offered by the install or delete them and make your own - we tried both but it will not make the swap partition.
johnd (85)
321228 2005-02-05 09:42:00 Yes sorry, my mistake, other way around.

What about installing FreeBSD first?
Caesius (3758)
321229 2005-02-06 08:43:00 Yes sorry, my mistake, other way around.

What about installing FreeBSD first?

I expect that option would work! But quite a lot of setup has been done in Linux and my friend probalby doesn't want to start again. We will probably try sharing the swap partition.

Thanks
johnd (85)
1