Operating Systems > Linux and UNIX

BSD booting

<< < (3/6) > >>

Master of Reality:
.... I realize the problem.... My FreeBSD doesnt have its kernel in the boot partition. How can I get my FreeBSD kernel to the boot partition?

voidmain:
Actually you shouldn't need the BSD kernel in /boot, as long as you installed the BSD boot loader on /dev/hdb2 your lilo.conf should be correct.  I can't tell you whether the kernel you have in your lilo file is correct, it has to match your kernel and initrd filenames in /boot (same names should be in the grub configuration file). Did you recompile?  *.*.*debug certainly would not be a default distro kernel.

Try changing /dev/hdb2 to /dev/hdb for the location of your BSD install in your lilo.conf and see if that will boot it (basically make LILO kick off the BSD equivelant loader). Maybe BSD installed it's loader there.

And this page might be of some help to you:
http://students.seattleu.edu/hodeleri/FreeBSD/boot.html

And you can also mount your BSD partition in Linux if you want to look around at the configs:

# mkdir /mnt/bsd
# mount /dev/hdb2 /mnt/bsd -t ufs -o ufstype=44bsd

should do it.

[ June 22, 2002: Message edited by: VoidMain ]

Master of Reality:
my BSD partition is on /dev/hdb3 which is about 21 GB into the drive. I didnt install the bootloader. I will read those pages

[ June 22, 2002: Message edited by: Master of Reality / Bob ]

voidmain:
I'm not sure if the BSD loader has the 1024 cylinder issue but I would be willing to bet that it does not.  You should be able to install BSD on /dev/hdb3 but tell it to install the boot loader on /dev/hdb (or the BSD equivelant /dev/hdb).  Like I said, you should be able to mount the /dev/hdb3 partition and look at the boot loader configuration file and determine where you actually installed the boot loader.

Master of Reality:
it wont let me mount it:
mount: wrong fs type, bad option, bad superblock on /dev/hdb3,
       or too many mounted file systems
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)

I went to that link, then clicked the link to 'home' and each time Mozilla 1.1a would crash. it didnt crash with konqueror.

[ June 22, 2002: Message edited by: Master of Reality / Bob ]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version