Thread: LVM Rescue Help - Can't boot
hi gang,
i've done stupid...closed laptop lid while doing apt-get upgrade. well, late @ night , falling asleep on laptop. anyways, when boot now, "the disk drive / not ready yet or not present" , dumps me single user mode or rescue mode.
when first installed ubuntu 10.04 desktop 64-bit, did default install. main partition should 1 big lvm volume root et al stuck in there.
next booted off of live ubuntu cd attempt rescue. when run fdisk -l still sees partitions:
disk /dev/sda: 500.1 gb, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
units = sectors of 1 * 512 = 512 bytes
sector size (logical/physical): 512 bytes / 512 bytes
i/o size (minimum/optimal): 512 bytes / 512 bytes
disk identifier: 0x0009cf3f
device boot start end blocks id system
/dev/sda1 * 2048 569539157 284768555 83 linux
/dev/sda2 960167934 976773119 8302593 5 extended
/dev/sda5 960167936 976773119 8302592 82 linux swap / solaris
when run pvscan says "no matching physical volumes found".
installed lvm2 follows...
sudo -i
apt-get install lvm2
, ran these commands:
modprobe dm-mod
vgchange -a y
still nothing. it's not finding volumegroup config info think.
tried extract lvm configuration file beginning of partition with:
dd if=/dev/sda1 bs=512 count=255 skip=1 of=/tmp/lvm.txt
when @ lvm.txt i'm seeing binary data of course no lvm config data.
doing wrong? data hosed? else can do?
tips can give.
cheers,
tony
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] LVM Rescue Help - Can't boot
Ubuntu
Comments
Post a Comment