grub root=/dev/hd$v$n not root=LABEL=/ why

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I began in Red Hat 9.

I see root=/dev/hda2 always works for me in
/etc/grub.conf.

I see the root=LABEL=/ supplied by the `make install`
here panics any kernel I boot after building after
fetching source from kernel.org rather than from
redhat.com.

Anyone know why?  Or how I can find out?

Since root=/dev/hda2 always works for me, I don't Need
to know why root=LABEL=/ only sometimes chokes, but
I'm curious, all the same.

Pat LaVarre

---

Specifically, when I reboot what I built & installed,
I see:

VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00

Except with later kernels I see:

VFS: Cannot open root device "LABEL=/" or
unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on
unknown-block(0,0)

Transcribing the earlier panic into Google yielded the
suggestion that I edit what `make modules_install &&
make install` originally wrote into /etc/grub.conf as:

title Red Hat Linux (2.5.72-pel)
        root (hd0,0)
        kernel /vmlinuz-2.5.72 ro root=LABEL=/
        initrd /initrd-2.5.72-pel.img

Specifically I tried root=/dev/hda2 ... for me that
works great in 2.4.20, 2.4.21, 2.5.69, and 2.5.72.

---

On my own, I figure I will pursue:

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-custom-kernel-additional-resources.html
http://www.redhat.com/mirrors/LDP/HOWTO/Kernel-HOWTO/
http://www.redhat.com/mirrors/LDP/HOWTO/Kernel-HOWTO/grubconf.html

Also Google of the newer panic.

---

I saw no hits at:

http://www.google.com/search?as_q=root%3DLABEL&as_sitesearch=www.gnu.org

---

http://marc.theaimsgroup.com/?l=kernelnewbies&s=grub+label

says we have left this question unanswered three times
before:

2003-05-31  Re: VFS cannot open root device "LABEL=/"
or unknown_
2003-03-26  Re: What does kernel option `root=LABEL=/'
do?
2002-11-19  Re: Kernel panic: VFS unable to mount root
fs

---



__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux