Re: Grub with UUID

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

 



I wanted to use GRUB with UUID when i pass the
boot flags root=. When i did this, my system cannot mount the root
more.

root= is not a grub argument, it's a kernel argument.
If it's wrong, you'll get a few dozen lines of output and then
it'll say "can not mount root filesystem" or something similar.

root (hd0,0) would be grub.  If it's wrong, you'll get less than
a dozen lines of output before the error message.

Try mounting first with root=/dev/sda2 or whatever, then double
check a) the UUID and b) the syntax you're using, which should be
something like:
root=UUID=xxx

If the root volume isn't a plain disk partition, but is rather
a logical voume or mdadm, your initrd will need to include lvm,
raid, or whatever else is needed to get the root volume up and
running.

See also super grub disk, which can be helpful for figuring all
of this stuff out.
--
Ray Morris
support@bettercgi.com

Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/

Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/

Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user/register.php


On 10/07/2010 12:12:56 PM, Fabricio Archanjo wrote:
Hey all,


Sorry because my stupid question, but i don't know more. I'm using
Debian with LVM and I wanted to use GRUB with UUID when i pass the
boot flags root=. When i did this, my system cannot mount the root
more. May someone know why it happend? is there a problem with GRUB
v1??


Thanks all,

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux