![]() |
|
|
|
|
|
Fast & dirty way for dualbooting FreeBSD & Linux
By Saju <unreal@ufie.org>
We will start by installing FreeBSD first. Boot into freeBSD installer via the boot floopies / cdrom etc. FreeBSD installer (sysinstall) will run fdisk on your hard disk. This is where you need to split your hard disk into different sections on which you can install different operating systems. These sections are called slices in freeBSD terminology and partitions in DOS/Linux terminology. Suppose you have a single IDE HDD, freeBSD will call this disk \"ad0\". Think of ad0 as a pizza. Now you need to mark out the slices which freeBSD will have and which Linux will have. The trick here is to create a Linux slice(s) just before you create a freeBSD slice. Just select \"c\" for creating a slice and mark it as a linux slice by entering the proper sysid when prompted by the installer. Note: The linux slice you created should be atleast 25MB in size and should be the first slice. You can optionally create other mount points ( /home, /usr, /var etc now. ... this is not recommended though.) The linux slice ofcourse will be empty and of no use to you as of now. Then go ahead and create a freeBSD slice as normal. Make sure that you install the FreeBSD boot manager on the MBR. After you finish, the freeBSD fdisk should look something like:
ad0s1 : Linux The order of slices s2, s3, s4 do not matter. Now reboot your machine with Linux installation CD / floopy. The Linux fdisk should show:
/hda1 --- Linux partition While installing Linux make sure that you install your /boot (for Red Hat) or your bootfile (kernel image) on the first Linux slice/partition (/hda1) you created using freeBSD. Do not install lilo. You can go ahead and create other linux mount points if you had not created them earlier. Now boot your machine without any installation media. You will see the freeBSD loader \"BT\" booting with the options :
F1 Linux This has been tested with Linux 2.4 and FreeBSD 4.2.
Other articles by Saju
Current Rating: [ 6.48 / 10 ]
Number of Times Rated: [ 29 ]
|
|
|
© 1998-2004 FreeOS Technologies (I) Pvt. Ltd. All rights reserved.
[Privacy Policy]
![]() |