lvm unbootable disk

Nicolas Courtel courtel at cena.fr
Thu Nov 24 12:50:45 CET 2011


Le 24/11/2011 12:10, Natxo Asenjo a écrit :
>> disk_config sda bootable:1
>> primary        /boot  500     ext3      rw
>> primary        -      4096-   -         -
>>
>> disk_config lvm
>> vg             my_pv  sda2
>> my_pv-_swap    swap   2048    swap      sw
>> my_pv-_root    /      2048    ext3      rw
>>
>> which is exactly the config in the simple lvm example in the
>> setup-storage man page.
>>
>> The system is after installation unbootable:
>>
>> gave up waiting for root device
>>
>> ALERT!!! /dev/mapper/my_pv-root does not exist, dropping to shell
>>
>> what am I doing wrong?
> does anybody have a working config for lvm setup-storage with one
> disk? This is on on a vmware vm, but that should not matter.

Your problem may be related to using underlines, could you try using 
something like 'pv-swap' & 'pv-root' for your partitions?
I use a very similar config file that works fine.

-- 
Nicolas



More information about the linux-fai mailing list