LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-22-2010, 11:29 AM   #1
s1n9l3t0n
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Question Grub Multiboot 2 linuxes filesystem context


Hi,

Does anyone know if the context is related to the current filesystem, or the one defined in root setting grub.conf.

Is this possible

Code:
title LinuxX
root=/dev/sdb2
kernel=/boot/kernel

title LinuxY
root=/dev/sdc1
kernel=/boot/kerne2
or I have to write it like this:

Code:
title LinuxX
root=/dev/sdb2
kernel=/boot/kernel

title LinuxY
root=/dev/sdc1
kernel=(/dev/sdc1)/boot/kerne2
 
Old 10-22-2010, 02:04 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Assuming that /boot is NOT in a partition of its own:

Linux X
root (hd0,0)
kernel /boot/kernel-1

Linux Y
root (hd1,0)
kernel /boot/kernel-2

In grub legacy, hd0 refers to the first drive, hd1 refers tot he second drive, etc.
0 refers to the first partition, 1 refers to the second partition, etc.

So, (hd0,0) refers to the first drive, first partition.

In your case, if sdb is the first hard drive, and Linux is on the first partition, you would use "root (hd0,0)
and for sdc, "root (hd1.0)" (without quotes of course).
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
grub overwrote lilo multiboot, missing one boot in Grub rl23455 Linux - Newbie 1 12-09-2007 01:50 PM
grub multiboot help firephenix405 Linux - Newbie 2 09-10-2006 09:51 PM
Grub ?????? [Multiboot] UsualTuxpect Linux - Software 4 09-13-2004 12:37 AM
difference between various linuxes at grub startup riseanranger Linux - Software 2 09-01-2004 05:31 PM
GRUB multiboot zokik Linux - General 7 06-25-2003 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:17 AM.

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