LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This 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
 
Thread Tools
Old 04-19-2007, 07:13 AM   #1
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Ubuntu 9.04 X86_64
Posts: 922
Thanked: 3
GRUB menu.lst/grub.conf file with multiple partitions


[Log in to get rid of this advertisement]
here is my problem:

i have /boot on /dev/sda3 and / on /dev/sda7

i need to get my grub conf file to boot form those.

if it use
Code:
 
root (hd0,6)
kernel=/dev/sda3/kernel
root=/dev/sda7
the kerenel isnt found.

if i use
Code:
root (hd0,2)
kernel=kernel
root=/dev/sda7
the kernel boots but then panics as it cant find /

what is teh correct grub SYNTAX for expressing this?
dasy2k1 is offline     Reply With Quote
Old 04-19-2007, 09:42 AM   #2
SlackerJack
LQ Newbie
 
Registered: Aug 2006
Distribution: Slackware 11.0
Posts: 20
Thanked: 0
Is it correct in your box that hd0 = /dev/sda ?
It's your first bios drive?
If your paths are right, maybe try:

Code:
title LINUX
root (hd0,6)
kernel (hd0,2)/PATH-TO-YOUR-KERNEL ro root=/dev/sda7
One of mine entries (that works) looks like this:
Code:
title (hda3) Slackware 11 2.4.33.3
root (hd0,2)
kernel (hd0,2)/boot/vmlinuz-ide-2.4.33.3 ro root=/dev/hda3
SlackerJack is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
/grub/menu.lst file disappeared but computer still boots (grub) rrrssssss Linux - General 5 04-08-2007 10:02 AM
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 02:06 PM
grub.conf vs. menu.lst netstv Linux - General 3 11-24-2004 07:19 PM
grub.conf vs menu.lst linmix Linux - Software 2 08-26-2004 04:17 PM
grub.conf is menu.lst??? zombyLINUX Linux - General 4 03-31-2004 09:12 PM


All times are GMT -5. The time now is 03:53 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration