LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 06-15-2005, 07:47 AM   #1
hkl8324
Member
 
Registered: Aug 2003
Location: Hong Kong, China
Distribution: Ubuntu 10.04
Posts: 234

Rep: Reputation: 30
How to "dual boot" linux (debian) and Freebsd using Grub?


how to edit the grub/menu.lst file?

i want to give FreeBSD a try..
 
Old 06-15-2005, 08:17 AM   #2
ewt3y
Member
 
Registered: May 2005
Location: hanoi vietnam
Distribution: mandriva
Posts: 106

Rep: Reputation: 15
the file is located somewhere in /boot folder maybe
add these lines to anywhere you want in menu.lst:
title ewt3y kernel (hd0,6)/boot/freebsd root=/dev/hda7 devfs=mount acpi=ht resume=/dev/hda6 splash=silent
initrd (hd0,6)/boot/initrd-2.6.3-7mdk.img
I know i made mistake, any one help us ? we are newbies
 
Old 06-15-2005, 09:15 AM   #3
hkl8324
Member
 
Registered: Aug 2003
Location: Hong Kong, China
Distribution: Ubuntu 10.04
Posts: 234

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by ewt3y
the file is located somewhere in /boot folder maybe
add these lines to anywhere you want in menu.lst:
title ewt3y kernel (hd0,6)/boot/freebsd root=/dev/hda7 devfs=mount acpi=ht resume=/dev/hda6 splash=silent
initrd (hd0,6)/boot/initrd-2.6.3-7mdk.img
I know i made mistake, any one help us ? we are newbies
initrd 2.6.3?

i am sure that is linux kernel...........

actually i know hot to add linux's entry there...


Last edited by hkl8324; 06-15-2005 at 09:44 AM.
 
Old 06-15-2005, 09:42 AM   #4
hkl8324
Member
 
Registered: Aug 2003
Location: Hong Kong, China
Distribution: Ubuntu 10.04
Posts: 234

Original Poster
Rep: Reputation: 30
after searching google....

the command is so simple....as

title FreeBSD 4.4 #1
root (hd0,2,a)
kernel /boot/loader
title FreeBSD 4.4 #2
root (hd0,3,a)
kernel /boot/loader

i find it here

 
Old 06-15-2005, 02:32 PM   #5
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
Wait....do you already have a free partition, or are you going to resize your linux one/add another hard drive? If so, you'll need to replace the "root (hdx,y,a)" with your hard drive and partition number! If you only have one hard drive, then it'll be "root (hd0,y,a)" (I'm not sure about the "a" because I've never used FreeBSD before). The "y" in what I have written is the partition number, which AFAIK can be found by typing in "fdisk -l" into a console window (the partition will only be visible if you've already made it). As far as resizing your linux partition goes, I don't actually have a clue, though I know it can be done...could I suggest you ask a moderator to move this to a thread like "Linux - General" where your question will be answered more fully than I can?

[EDIT]

Not sure if you know, but you should type it (what you wrote in your last post with the few corrections I have mentioned) into /boot/grub/grub.conf, which you want to open with any text editor. Best of luck,

J_K9

Last edited by J_K9; 06-15-2005 at 02:36 PM.
 
  


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
Debian Boot Up Problem - stuck at "BR" & "I" jc70417 Debian 2 08-30-2005 04:36 PM
Dual-boot install: "Could not find kernel image: linux / boot:" JEBBEDIAH C Linux - Newbie 16 02-02-2005 08:25 PM
I Dual Boot, Is there Compatable "Drive imaging" that works with linux joncolby Linux - Software 6 06-21-2004 03:11 AM
dual boot linux, need to setup "another" lilo during installation? sirpelidor Linux - Newbie 3 02-04-2004 10:10 PM
Seeing Linux as a "Drive" from Windows OS on a dual boot System teclipse Linux - Newbie 4 09-29-2003 10:19 AM


All times are GMT -5. The time now is 07:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration