| View previous topic :: View next topic |
| Author |
Message |
timroper n00b

Joined: 25 May 2005 Posts: 9 Location: Geelong, Victoria, Australia
|
Posted: Sun Jun 12, 2005 1:46 am Post subject: [solved] grub.conf and partition scheme troubles |
|
|
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 |
|
 |
slycordinator Advocate


Joined: 31 Jan 2004 Posts: 3050 Location: Houston, TX
|
Posted: Sun Jun 12, 2005 1:59 am Post subject: |
|
|
Change
real_boot=/dev/hdb9
to
real_root=/dev/hdb9 |
|
| Back to top |
|
 |
jmbsvicetto Moderator


Joined: 27 Apr 2005 Posts: 4725 Location: Angra do Heroísmo (PT)
|
Posted: Sun Jun 12, 2005 2:02 am Post subject: |
|
|
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 |
|
 |
timroper n00b

Joined: 25 May 2005 Posts: 9 Location: Geelong, Victoria, Australia
|
Posted: Sun Jun 12, 2005 2:04 am Post subject: |
|
|
I am using Genkernel hehe _________________ "Everything should be as simple as possible, but no simpler" -Albert Einstein |
|
| Back to top |
|
 |
slycordinator Advocate


Joined: 31 Jan 2004 Posts: 3050 Location: Houston, TX
|
Posted: Sun Jun 12, 2005 2:07 am Post subject: |
|
|
| timroper wrote: | ummm.....
Thats what I already have! |
Not according to your post, which is why I responded. |
|
| Back to top |
|
 |
timroper n00b

Joined: 25 May 2005 Posts: 9 Location: Geelong, Victoria, Australia
|
|
| Back to top |
|
 |
slycordinator Advocate


Joined: 31 Jan 2004 Posts: 3050 Location: Houston, TX
|
Posted: Sun Jun 12, 2005 2:22 am Post subject: |
|
|
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 |
|
 |
nixnut Administrator


Joined: 09 Apr 2004 Posts: 10951 Location: the dutch mountains
|
Posted: Tue Sep 27, 2005 5:25 pm Post subject: |
|
|
Moved from Installing Gentoo to Duplicate Threads.
Moved in favour of http://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 |
|
 |
|