Re: FreeBSD dualboot

Rahul Sawarkar <[email protected]> Mon, 17 Nov 2003 16:10:22 +0530
Newsgroups gmane.os.freebsd.configuration
Organization PRIVATE
Message-ID <[email protected]>
Jerry,
I always use fdisk program of a linux distribution - if you don't want it installed, 
cancel the setup half-way after the fdisk part is over...
Better still use a distribution that boots from cdrom like knoppix and doesn't require to 
be installed on a harddisk. A linux distro should be easily & freely available with  a 
local linux  magzine....
I have a triple-boot system with Linux, FreeBSD and NT5. Here is brief note on my 
experience -
1. One can normally only create 3 primary partitions and one extended, or 4 primary... 
etc., .My hdd already had NT & linux on 2 partitions with with a 3rd 1GB spare primary 
partition. (I always keep spare 1gb primary partitions (and within the 1st 1024 cylinders 
as a precaution), it helps like in this case when I decied I wanted fbsd too...)
2 FBSD would not have fitted on the 1gb part with X and KDE, so I decided to use an 
extended-logical partition. However nowhere in my FBSD 4.7 setup process, did I see any 
facility to work with extended partitions. Heres what I did -
2.a Boot linux, use fdisk to make the desired logical partition of type "bsd"
2.b Setup Freebsd with a minimal config that will fit into 1 gb.
2.c Boot FBSD
2.d "newfs" the logical partition ( I do not remember all the commands I gave sorry... I 
think more commands are needed, but simply lookup  the standard set of commands needed for 
creating a new filesystem, as found in FBSD handbook )
2.e "cp -pPrR" the existing /usr folder to the  logical partition after mounting it to say 
/mnt
2.f Edit the /etc/fstab to add the new filesystem/logical partition to mount  at mount 
point "/usr" automatically at boot
2.g Reboot FBSD to see that all is OK. The new /usr on a logical partition with all the 
required files should now be mounted over the old /usr
3. Now run /stand/sysinstall and add X-windows all the other bulky software you need.
3. I use lilo to boot FBSD or Win2k or linux. So I made the appropriate entries in lilo.conf

If you need specific help with commands drop me another mail, and I will try and use my 
(rather weak) powers of recollection.. :)

Rgrds
Rahul Sawarkar


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-config
To unsubscribe, send any mail to "[email protected]"