Red Hat Bugzilla – Bug 113222
grub.conf on two disk machine must be edited to do first reboot
Last modified: 2007-11-30 17:10:35 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1)
Description of problem:
I installed Fedora onto an aging machine which had two physical disks,
hda was 1 Gbyte and hdc was 2 Gbytes.
An obscure message during the install said there was not enough disk
to complete the install onto the 1 GByte disk - it says how much more
space would have been needed, but the phrasing suggests this is the
size of the disk.
I did manual partitioning, and put /boot swap and /home onto the 1
Gbyte disk, and put / onto the 2 GByte disk.
I had to drop staroffice and some packages like cd burner and scanner
support to get it to fit into 2 GBytes.
It installed and rebooted beautifully, though things were pretty slow
in 64 megabytes of ram.
Rebooting the next day did not go so well. Everything works up to the
point where it goes to mount / read/write. This fails, logs a message,
and then the kernel loads and gives a panic message.
I fixed the problem by editing my grub.conf file:
where the Kernel line said "root=NAME=/"
I changed it to "root=/dev/hdc1"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. use partd to put / on /dev/hdc1
I did this all from memory, I can get you the grub.conf and logs, if
you really need them.
root=LABEL=/? This should work fine assuming the drive didn't somehow
lose it's label. What does tune2fs -l /dev/hdc1 show?
tune2fs -l /dev/hdc1 says the volume name is /
hda1 is /boot
hda3 is /home
swap is on hda2
I looked at grub.conf today and saw that it was back to saying
root-HOME=/ and I thought I was going crazy until I figured out that
it had been changed by running up2date.
My first kernel version (off the yarrow i386 iso) was
2.4.22-1.2115.nptl (firstname.lastname@example.org) (gcc version
3.2.3 20030422 (Red Hat Linux 3.2.3-6)) #1 Wed Oct 29 15:20:17 EST 2003
Kernel command line: ro root=/dev/hdc1 rhgb
My current kernel version is
2.4.22-1.2135.nptl (email@example.com) (gcc version
3.2.3 20030422 (Red Hat Linux 3.2.3-6)) #1 Mon Dec 15 15:46:09 EST 2003
Kernel command line: ro root=LABEL=/ rhgb
This should be fixed in newer releases.