Ray, When I use root=/dev/mapper/myvg-root (example) i can mount my root partition, but when i use UUID i cannot mount and the lvm was included in initramfs, i've checked it. It's too strange.. I get my UUID through vol_id, it's a tools of udev. Thanks for reply, On Thu, Oct 7, 2010 at 2:38 PM, Ray Morris <support@bettercgi.com> wrote: >> 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/ > _______________________________________________ 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/