LVM + Stromausfall + Wiederherstellen

Peter Lohmann listenmann at elrond.lohmann-services.de
Fri Apr 5 14:08:03 CEST 2002


Moin!

Ich hatte (vor unserem Stromausfall) folgendes Setup:

/dev/hda1 		/boot
/dev/hda2		swap
/dev/myvg/slash 	/
/dev/myvg/usr		/usr
/dev/myvg/var		/var

Bei dem Stromausfall ist irgendwas in der Boot-Partition kaputt
gegangen, so daß das filesystem auf /dev/hda1 total kaputt war. 
Mittlerweile bin ich soweit, daß ich auf /dev/hda2 ein Linux installiert
habe und auch einen Kernel kompiliert habe, mit dem ich auf die LVM-LV's
zugreifen kann. Die neue initrd habe ich mit lvmcreate_initrd erstellt.

Nun will ich wieder von LVM booten....
Per grub:

root hd(0,0)
kernel /vmlinuz-2.4.18 root=/dev/myvg/slash ro
initrd /initrd-lvm-2.4.18.gz
savedefault

Der Bootvorgang läuft an bis:

RAMDISK: compressed image found at block 0
Freeing initrd memory: 1075k freed
VFS: mounted root (ext2 filesystem)
vgscan -- reading all physical volumes (this may take a while)...
vgscan -- found inactive volume group "myvg"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume
group

vgchange -- volume group "myvg" successfully activated

Kernel panic: I have no root and I want to scream


Was kann ich tun?

Gruesse

Peter



More information about the Linux mailing list