RE: Boot failure after upgrade to wheezy
Nevermind, fixed.
Changed initramfs MODULES=dep to MODULES=most and it boots now.
/etc/initramfs-tools/conf.d/driver-policy
# Driver inclusion policy selected during installation
# Note: this setting overrides the value set in the file
# /etc/initramfs-tools/initramfs.conf
MODULES=most
Seems like there is a bug in initramfs-tools.
Peter
-----Original Message-----
From: Peter McGill [mailto:petermcgill@goco.net]
Sent: August-13-14 12:21 PM
To: 'debian-user@lists.debian.org'
Subject: Boot failure after upgrade to wheezy
I have 2 debian virtual machines running under Windows Hyper-V Server 2012.
I upgraded them from squeeze to wheezy.
They can boot with the squeeze kernel 2.6.32-5-amd64 ok.
But they cannot boot with the wheezy kernel 3.2.0-4-amd64.
Loading, please wait.
Gave up waiting for root device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/8cdd1090-26ac-4767-b975-05fad7d1f554 does not
exist.
Dropping to a shell!
modprobe: module ehci-hcd not found in modules.dep
modprobe: module uhci-hcd not found in modules.dep
modprobe: module ohci-hcd not found in modules.dep
modprobe: module usbhid not found in modules.dep
BusyBox v1.20.2 (Debian 1:1.20.0-7) built-in shell (ash)
Enter 'help' for a list of built-in commands.
/bin/sh: can't access tty; job control turned off
(initramfs)
cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-amd64
root=UUID=8cdd1090-26ac-4767-b975-05fad7d1f554 ro quiet
Adding rootdelay=120 has no effect (other than delaying boot failure...)
root= & UUID is correct and matches exactly the root= & UUID of the working
squeeze kernel.
cat /proc/modules
ata_generic 12479 0 - Live 0xffffffffa0037000
ata_piix 29535 0 - Live 0xffffffffa0029000
libata 140630 2 ata_generic,ata_piix, Live 0xffffffffa003d000
scsi_mod 162269 1 libata, Live 0xffffffffa0000000
ls /dev/hd* /dev/sd* /dev/disk
ls: /dev/hd*: No such file or directory
ls: /dev/sd*: No such file or directory
ls: /dev/disk: No such file or directory
No raid or lvm in use.
root is on Hyper-V IDE 0, disk 0, partition 2 (/dev/sda2)
Rebuilding the initramfs had no effect.
Help is appreciated.
Peter
Reply to: