Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] grub.conf and partition scheme troubles
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
timroper
n00b
n00b


Joined: 25 May 2005
Posts: 9
Location: Geelong, Victoria, Australia

PostPosted: Sun Jun 12, 2005 1:46 am    Post subject: [solved] grub.conf and partition scheme troubles Reply with quote

Hey people, just wanted some help with configuring grub with a different partitiong scheme than in the 2005.0 Handbook. Here is my partitioning scheme:
Code:

Filesystem    Size    Mounted on
/dev/hdb9    3.6G   /
/dev/hdb1    47M    /boot
/dev/hdb2    512M  /swap
/dev/hdb5    4.6G   /home
/dev/hdb6    5.6G   /usr
/dev/hdb7    3.7G   /var
/dev/hdb8    940M  /opt

Now, I have tried to configure grub according to this scheme. I assume that the root command needs to point to the /boot partition, as dictated grub.conf:
Code:

title=Gentoo Linux
root (hd1,0)
kernel /kernel-2.6.11-gentoo-9 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_boot=/dev/hdb9 udev
initrd /initrd-2.6.11-gentoo-r9

When I boot I get this error after the system goes through some initial processes:
Code:

The root block device is unspecified or not detected. Please specify a device to boot, or "shell" for a shell.

Now at this prompt, when I enter the root partition (/dev/hdb9) the system boots properly. I am unsure of which part of grub.conf to change, Or if any other configuring is needed to rectify this. Could anyone help me out?


Last edited by timroper on Tue Jun 14, 2005 3:53 am; edited 1 time in total
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3059
Location: Korea

PostPosted: Sun Jun 12, 2005 1:59 am    Post subject: Reply with quote

Change
real_boot=/dev/hdb9

to

real_root=/dev/hdb9
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Sun Jun 12, 2005 2:02 am    Post subject: Reply with quote

If you're not using genkernel, replace your kernel line with
Code:
kernel /kernel-2.6.11-gentoo-9 root=/dev/hda9 udev
Back to top
View user's profile Send private message
timroper
n00b
n00b


Joined: 25 May 2005
Posts: 9
Location: Geelong, Victoria, Australia

PostPosted: Sun Jun 12, 2005 2:04 am    Post subject: Reply with quote

I am using Genkernel hehe
_________________
"Everything should be as simple as possible, but no simpler" -Albert Einstein
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3059
Location: Korea

PostPosted: Sun Jun 12, 2005 2:07 am    Post subject: Reply with quote

timroper wrote:
ummm.....

Thats what I already have!


Not according to your post, which is why I responded.
Back to top
View user's profile Send private message
timroper
n00b
n00b


Joined: 25 May 2005
Posts: 9
Location: Geelong, Victoria, Australia

PostPosted: Sun Jun 12, 2005 2:11 am    Post subject: Reply with quote

I'm not sure how, but I definately used Genkernel, following the handbook. I checked the handbook, and I definately followed the Genkernel User's configuration.
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2
_________________
"Everything should be as simple as possible, but no simpler" -Albert Einstein
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3059
Location: Korea

PostPosted: Sun Jun 12, 2005 2:22 am    Post subject: Reply with quote

timroper wrote:
I'm not sure how, but I definately used Genkernel, following the handbook. I checked the handbook, and I definately followed the Genkernel User's configuration.
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=10#doc_chap2


Except according to your first post your configuration file says "real_boot=/dev/hdb9" whereas the guide above says to use "real_root" instead.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Tue Sep 27, 2005 5:25 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
Moved in favour of https://forums.gentoo.org/viewtopic-t-155258.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum