PDA

View Full Version : PC-BSD and Linux


05-19-2005, 09:56 AM
I would like to have 3 different os on my computer (bsd, linux and win).
I know that win os is automaticly added to PC-BSD bootloader but linux is not...
My question is
How to add linux system to PC-BSD bootloader?
or...
How to add PC-BSD to grub (not lilo) linux bootloader?

05-19-2005, 11:24 AM
/boot/grub/menu.lst

Install in (hda,3):

title FreeBSD
root (hd0,2,a)
kernel /boot/loader

05-19-2005, 02:06 PM
I tried that. It doesn't work. I have ubuntu 5.04.

scottro
05-19-2005, 02:48 PM
If that doesn't work, you can always fall back to chainloader +1

I have a page on grub at http://home.nyc.rr.com/computertaijutsu/grub.html

If you go through it (search for FreeBSD) it gives the two possibilities. As Ubuntu is Deb based, my guess is that their grub might be older. Some of the older versions of grub can't boot the new UFS2.

05-19-2005, 04:14 PM
My ubuntu uses grub ver. 0.95+cvs20040624...
I think it has a problem with BSD file system.

maxim_86ualb2
05-19-2005, 06:41 PM
you could try to use the WinNT's boot loader.... get bootpart ( http://www.winimage.com/bootpart.htm ) it is a small app that will show you everything it could boot , I use this at the moment... dono if it will work with BSD but worth a try...


I used this coz 3 years ago, I didnt want to mess up the windows partition , so I used the win bootloader... ( i didnt know better back then)

scottro
05-19-2005, 06:49 PM
I think you need 0.96 for it to work the way you tried it.

However, the chainloader +1 as mentioned on the page I linked to above should work.

05-19-2005, 10:17 PM
try using smart boot loader, it boots anything - including a cd drive
you can get a floppy image from slackwares site which will let you install it to the hard drive or check out there homepage at:
http://btmgr.sourceforge.net/about.html

pcbsdusr
05-19-2005, 11:17 PM
I use ubuntu hoary hegehog, Windows XP Pro and PC-BSD (0.7 in a couple of minutes) so it has to work as it is the same as you use.

title FreeBSD
makeactive (hd0,2,) (this is what you are missing i think)
root (hd0,2,a)
kernel /boot/loader

Happy Booting :)

PS:to try this before editing the config file press c on GRUB and type the same commands.

seaman
06-30-2005, 07:12 PM
I resolved that problem adding to my menu.lst lines as below:

title PC-BSD 0.7.5
rootnoverify (hd0,2)
savedefault
makeactive
chainloader +1

It work well...

07-02-2005, 09:07 AM
My ubuntu uses grub ver. 0.95+cvs20040624...
I think it has a problem with BSD file system.

I have four different OS's on this computer A couple of Linuxes, PCBSD 7.0 and Windows 98SE. The GAG multibooter works very well, and it really likes BSD, it tells what partition that it is on.

http://gag.sourceforge.net/

I have found it functional.

popey
07-02-2005, 09:39 AM
Lilo works as well, just add PCBSD the same as windows.

# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda3
label = Linux
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda1
label = pcbsd
table = /dev/hda
# Windows bootable partition config ends
# Windows bootable partition config begins
other = /dev/hdb1
label = pcbsd2
table = /dev/hdb
# Windows bootable partition config ends

seaman
07-08-2005, 08:12 PM
The GAG multibooter works very well, and it really likes BSD, it tells what partition that it is on.

http://gag.sourceforge.net/

I agree. It works wery well and looks nice. I use it on another computer for booting winxp, ubuntu, mandriva and freebsd.