LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 04-27-2008, 10:06 PM   #1
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Rep: Reputation: 31
How to see FreeBSD with Grub


Note: I also placed this on the debian forum.

Hello,

I have 3 hard drives and installed FreeBSD on one of them today. During install, I chose to leave my Debian grub boot record untouched. I'm having trouble figuring out how to list the BSD drive in grub for boot up (basically what to add for the root line). Here is my menu.lst file now:

## ## End Default Options ##

title Debian GNU/Linux, kernel 2.6.24-1-686
root (hd1,2)
kernel /vmlinuz-2.6.24-1-686 root=/dev/hde1 ro quiet
initrd /initrd.img-2.6.24-1-686

title Debian GNU/Linux, kernel 2.6.24-1-686 (single-user mode)
root (hd1,2)
kernel /vmlinuz-2.6.24-1-686 root=/dev/hde1 ro quiet single
initrd /initrd.img-2.6.24-1-686

title Debian GNU/Linux, kernel 2.6.22-3-686
root (hd1,2)
kernel /vmlinuz-2.6.22-3-686 root=/dev/hde1 ro quiet
initrd /initrd.img-2.6.22-3-686

title Debian GNU/Linux, kernel 2.6.22-3-686 (single-user mode)
root (hd1,2)
kernel /vmlinuz-2.6.22-3-686 root=/dev/hde1 ro quiet single
initrd /initrd.img-2.6.22-3-686

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1

title FreeBSD- 7.0 Release
root (hd2)
savedefault
makeactive
chainloader +1

title Microsoft Windows XP Professional: Necessary Evil
root (hd0,0)
savedefault
makeactive
chainloader +1


Thanks,

ab
 
Old 04-27-2008, 10:56 PM   #2
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Original Poster
Rep: Reputation: 31
Ok, after trial and error and many reboots the following entry worked:

title FreeBSD- 7.0 Release
root (hd2,0)
savedefault
makeactive
chainloader +1


Later,

ab
 
  


Reply


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
How to see FreeBSD with Lenny Grub aquaboot Debian 2 04-28-2008 09:55 AM
FreeBSD and GRUB danielanson *BSD 4 07-24-2005 12:04 PM
Booting FreeBSD with Grub offaxis Linux - Newbie 3 09-21-2004 11:21 AM
Grub Bootloader not seeing FreeBSD cmf5150 Linux - Newbie 3 01-29-2004 08:59 PM
GRUB can't boot FreeBSD 5.1 bhaskie *BSD 4 01-17-2004 03:31 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 08:23 PM.

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