Package: initramfs-tools
Version: 0.118_all
Severity: Critical
Hi,
I lastly did a clean install of debian amd64. I used for this a SID
mini.iso from here
http://ftp.nl.debian.org/debian/dists/sid/main/installer-amd64/current/images/netboot/
I chose during installation luks partitioning (not lvm), and separated
/boot (on an usb pendrive) partition from /root partition (on another
drive with the other one).
Then, at the end of the installation, I restarted my system and was
unable to get it working. Indeed, debian was unable to find some partitions.
After a lot of time, I find out why things gone wrong. There where
mismatch between /etc/fstab and /etc/crypttab. UUID and devices
combination in crypttab file were different from /etc/fstab.
For exemple, it was written an UUID for a particular /dev on crypttab
that was different from /etc/fstab (like /dev/mapper/sda6_crypt for /usr
in crypttab, but listed as sda7_crypt in fstab, the /var partition)
So, from initramfs, I manually mounted all drives, and then did "CTRL +
D". The system finally boot completely. I corrected the crypttab and the
fstab files, and chose the «file option» for unlocking each partition
(/usr; /var; swap; /tmp; /home
But I still get some problems.
My system does not start automatically after I enter the password for
unlocking the root partition. I have to unlock manually /usr (from
initramfs ), and then do "CTRL + D".
Finally, I discovered that initramfs-tools_0.118_all.deb is buggy.
Indeed, when I replaced it for initramfs-tools_0.116_all.deb, my system
boot perfectly.
Here what I get before booting manually :
/
//
/ /Decompressiong Linux… Parsing ELF… done.//
//Booting the kernel.//
//Loading, please wait...//
//Please unlock disk sda1_crypt://
//cryptsetup: sda1_crypt set up successfully//
//fsck from util-linux 2.25.2//
///dev/mapper/sda1_crypt: clean, 7869/170688 files, 89041/682752 blocks//
//Gave up waiting for /usr device. Common problems://
// - Boot args (cat /proc/cmdline)//
// - Check rootdelay= (did the system wait long enough?)//
// - Missing modules (cat /proc/modules; ls /dev)//
//ALERT! /dev/mapper/sda5_crypt does not exist. Dropping to a shell!//
//modprobe: module ehci-orion not found in modules.dep//
//
//
//BusyBox v1.22.1 (Debian 1:1.22.0-9) built-in shell (ash)//
//Enter 'help' for a list of built-in commands./