Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Other *NIX Forums > *BSD
User Name
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.


  Search this Thread
Old 06-04-2003, 12:44 AM   #1
Registered: Mar 2003
Posts: 34

Rep: Reputation: 15
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

Old 06-04-2003, 11:26 AM   #2
Registered: Apr 2002
Location: The District
Distribution: FreeBSD, OBSD maybe Gentoo and Winblech XP
Posts: 291

Rep: Reputation: 30
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

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

## 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.
Old 06-05-2003, 04:57 PM   #3
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 59
For LILO, its rather simple:

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

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




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Duel Boot only different... 13fty Linux - Newbie 1 03-21-2005 11:00 AM
duel boot again help me kennycc Linux - Software 2 03-19-2005 03:55 PM
Duel boot?? Lost_linux_Noob Linux - Newbie 6 10-08-2003 03:41 AM
Duel boot?? Caper Linux - Software 4 07-13-2003 06:44 PM
Duel Boot KrazyKid Linux - Software 5 07-03-2002 06:16 PM > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration