LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 04-19-2007, 06:13 AM   #1
dasy2k1
Member
 
Registered: Oct 2005
Location: 127.0.0.1
Distribution: Ubuntu 12.04 X86_64
Posts: 956

Rep: Reputation: 34
GRUB menu.lst/grub.conf file with multiple partitions


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?
 
Old 04-19-2007, 08:42 AM   #2
SlackerJack
LQ Newbie
 
Registered: Aug 2006
Distribution: Slackware 11.0
Posts: 28

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


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


All times are GMT -5. The time now is 07:22 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration