Hi All,
I have a BAD situation and no reliable backup ...
One of my VM (KVM) was Ubuntu server Jaunty (9-04)
I did a upgrade from jaunty to karmic and everything went fine until the next reboot.
On screen I see
Boot from (hd0,0) ext3 48df...
Starting up ...
Gave up waiting for root device ...
...
ALERT /dev/disk/by-uuid/48df.... does not exist. Dropping to a shell
Looks like GRUB did not update in my Jaunty to Karmic move.
I get thrown into initramfs with ash
cd /dev/disk gives me 2 sub-dir: by-path & by-id
by-path
has 5 entries all starting with:
pci-0000:00:0...
by-id
has 4 entries
scsi-SQEMU_QEMU_HARDDISK
scsi-SQEMU_QEMU_HARDDISK-part1 (to 3)
I can (sometimes) interrupt the reboot and edit the GRUB start line
getting to GRUB I change the first 2 lines
uuid 48df...
kernel /boot/vmlinuz-2.6.28-17-server root=UUID=48df... ro quiet splash
into
root=(hd0,0)
root=/dev/sda1 ro quiet nosplash
This usually gets me out of trouble... but not this time
The systems start booting but reboots after 5-6 seconds without me being able to see a message.
The good news is that I can mount sda1 (and sda3 - sda2 being swap) when I am in the mini shell.
If I could find a way to boot the VM from a live CD and then mount the drives I might get out of trouble...
Changing the boot device to CDROM in the proxmox web interface did not work :-(
Can this be recovered?
Thanks
Peter
I have a BAD situation and no reliable backup ...
One of my VM (KVM) was Ubuntu server Jaunty (9-04)
I did a upgrade from jaunty to karmic and everything went fine until the next reboot.
On screen I see
Boot from (hd0,0) ext3 48df...
Starting up ...
Gave up waiting for root device ...
...
ALERT /dev/disk/by-uuid/48df.... does not exist. Dropping to a shell
Looks like GRUB did not update in my Jaunty to Karmic move.
I get thrown into initramfs with ash
cd /dev/disk gives me 2 sub-dir: by-path & by-id
by-path
has 5 entries all starting with:
pci-0000:00:0...
by-id
has 4 entries
scsi-SQEMU_QEMU_HARDDISK
scsi-SQEMU_QEMU_HARDDISK-part1 (to 3)
I can (sometimes) interrupt the reboot and edit the GRUB start line
getting to GRUB I change the first 2 lines
uuid 48df...
kernel /boot/vmlinuz-2.6.28-17-server root=UUID=48df... ro quiet splash
into
root=(hd0,0)
root=/dev/sda1 ro quiet nosplash
This usually gets me out of trouble... but not this time
The systems start booting but reboots after 5-6 seconds without me being able to see a message.
The good news is that I can mount sda1 (and sda3 - sda2 being swap) when I am in the mini shell.
If I could find a way to boot the VM from a live CD and then mount the drives I might get out of trouble...
Changing the boot device to CDROM in the proxmox web interface did not work :-(
Can this be recovered?
Thanks
Peter
Last edited: