Re: Boot Problem...

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

 



Mehmet Fatih AKBULUT wrote:
> recompiled kernel and named it to vmlinuz_mehmet.
> when when booting from newly created kernel i got a kernel panic error which
> says root LABEL cannot be opened or read.

No-one's clarified this yet for you...

Mounting partitions by label is supposed to be a Good Thing (by Red Hat)
because if you move your hard drive, or if the name of the device
changes (e.g. /dev/hda1 -> /dev/sda1), then the system will still find
the right partition and load properly.

(It's considered a Bad Thing by some because if you ever end up with two
partitions with the same label on the same drive, the system will get
confused).

Partitions can be mounted with the mount command or by the kernel. Only
the mount command knows how to mount by label: the kernel doesn't. This
means that if you want to mount / by label, you need an initrd, which
contains (a version of) the mount command.

An initrd image can be created with the mkinitrd command.

Hope this helps,

James.

-- 
E-mail address: james | A: Because people don't normally read bottom to top.
@westexe.demon.co.uk  | Q: Why is top-posting such a bad thing?
                      | A: Top-posting.
                      | Q: What is the most annoying thing in e-mail?


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux