* [linux-lvm] Grub with UUID
@ 2010-10-07 17:12 Fabricio Archanjo
2010-10-07 17:38 ` Ray Morris
0 siblings, 1 reply; 4+ messages in thread
From: Fabricio Archanjo @ 2010-10-07 17:12 UTC (permalink / raw)
To: linux-lvm
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,
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Grub with UUID
2010-10-07 17:12 [linux-lvm] Grub with UUID Fabricio Archanjo
@ 2010-10-07 17:38 ` Ray Morris
2010-10-07 18:07 ` Fabricio Archanjo
0 siblings, 1 reply; 4+ messages in thread
From: Ray Morris @ 2010-10-07 17:38 UTC (permalink / raw)
To: LVM general discussion and development
> 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/
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Grub with UUID
2010-10-07 17:38 ` Ray Morris
@ 2010-10-07 18:07 ` Fabricio Archanjo
2010-10-07 18:20 ` Fabricio Archanjo
0 siblings, 1 reply; 4+ messages in thread
From: Fabricio Archanjo @ 2010-10-07 18:07 UTC (permalink / raw)
To: LVM general discussion and development
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/
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Grub with UUID
2010-10-07 18:07 ` Fabricio Archanjo
@ 2010-10-07 18:20 ` Fabricio Archanjo
0 siblings, 0 replies; 4+ messages in thread
From: Fabricio Archanjo @ 2010-10-07 18:20 UTC (permalink / raw)
To: LVM general discussion and development
Just to complement.
If i use Raid or the partition with UUID works perfect, just LVM not.
Thanks,
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-10-07 18:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07 17:12 [linux-lvm] Grub with UUID Fabricio Archanjo
2010-10-07 17:38 ` Ray Morris
2010-10-07 18:07 ` Fabricio Archanjo
2010-10-07 18:20 ` Fabricio Archanjo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.