LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   duel boot (https://www.linuxquestions.org/questions/%2Absd-17/duel-boot-63560/)

seingoku 06-04-2003 12:44 AM

duel boot
 
I have FreeBSD and Slack9. I want to boot Slack and BSD from lilo. I have an Promise Ultra100 Raid card with Slack on IDE1 and BSd on IDE2. My main problem is that I don't know what bootloader bsd uses.
This is my lilo config now:
image =/boot/vmlinuz
root= /dev/hde2
Label = Linux

scizz

5amYan 06-04-2003 11:26 AM

FreeBSD and Slackware 9 with GRUB How-to
by 5amYan




I loaded Slack 9 for a friend and really kinda liked it. I figured it was time to explore linux ia little again...So, I finally decided to blow away MS altogether.

The setup
FreeBSD 4.8
Slack 9
GRUB 0.92

I will assume you already have FreeBSD running on a machine. I personally had FreeBSD dualbooting with XPPro. I was using the FBSD boot manager. It didn't seem to want to work so well with linux kernels.....So I go GRUBby.

##Disk set up, this is in BSD for you linux users

/dev/ad0
ad0s1 - FAT hibernation space for XP
ad0s2 - NTFS/HPFS for XPPro
ad0s3a-g - Free BSD

## I installed slack and used fsdisk from the install to del the first two slices
## and cereate the new ones....

## When the time comes choose not to install LILO. Instead finish the install and
##reboot.

## Boot to FBSD and

cd /usr/ports/sysutils/grub
make all install

## Grab the 'examples' and config

mkdir /boot/grub/
cp /usr/local/share/grub/i386-freebsd/* /boot/grub/

##Edit menu.lst (grub.conf for you Linux folks)

ee /boot/grub/menu.lst

## make it like so changing your hd numbers/letters/options as necessary.

## The defaultOS to boot
default 1
## the amount of time, in seconds, before the default boots
timeout 10

## the entries
title Slack 9
root (0,0)
kernel /boot/vmlinuz-rollMyOwn-2.4.20 ro root=/dev/hda1

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

that's all there is to it ;-)

Hope it was a huge success and all is working well for you.

finegan 06-05-2003 04:57 PM

For LILO, its rather simple:

other=/dev/hdb1 (wherever the root partition of FreeBSD is)
table=/dev/hdb (just the drive itself)
label=FreeBSD

That's all, enter that stanza, re-run lilo an you should be fine.

Cheers,

Finegan


All times are GMT -5. The time now is 09:18 PM.