[CentOS] directory /dev/disk/by-label

Mon Sep 17 15:13:53 UTC 2012
m.roth at 5-cent.us <m.roth at 5-cent.us>

Jerry Geis wrote:
>> *setup (hd0)*
>> Checking if "/boot/grub/stage1" exists... no
>> Checking if "/grub/stage1" exists... yes
>> Checking if "/grub/stage2" exists... yes
>> Checking if "/grub/e2fs_stage1_5" exists... yes
>> Running "embed /grub/e2fs_stage1_5 (hd0)"... 16 sectors are embedded.
>> succeeded
>> Running "install /grub/stage1 (hd0) (hd0)1+16 p (hd0,0)/grub/stage2
>> /grub/grub.conf"... succeeded
>> Done.
> Mark,
> I entered the grub shell and ran the above. All looked good.
> My issue is after that, grub is booting and all that, kernel starts up,
> starts printing a bunch of stuff.
> just at some point it says NO root filesystem found.

And that, to me, tells me that the kernel line in your grub.conf is wrong.
Specifically, I'd guess there's a problem with the parameters
root=<whatever> If you're using label, and I apologize if you know this,
it must read root=LABEL=<mylabel> I don't really know if the word label
must be capitalized, btw. For non-labelled, non-UUID,
root=/dev/<partition>, and the root line, as opposed to the root parm on
the kernel line, is the odd (hdx,y), and y is /dev/devy - 1, partition 1
is 0.

Good reference: