sometimes (1/20 times, its pretty much random) i can't boot to my system got this message (retyping). Im using LUKS encryption, partitons are ext4, system is fully upgraded and disk SMART test look fine.
"early booting stage" ... Running hook [Encrypt] Waiting 10 seconds for device /dev/sda2 ... Waiting 10 seconds for device /dev/mapper/root ... ERROR: device /dev/mapper/root no found skip fsck ERROR: unable to find root device /dev/mapper/root/ then start somemething called "recovery shell" (sometimes helps reboot, sometimes punch to table and reboot to windows :-D)
Due to most of successful boots i gues my mkinitcpio and image are allright, any way my mkinitcpio.conf
MODULES="ext4" BINARIES="" FILES="" HOOKS="base udev sata autodetect pata scsi usb usbinput numlock encrypt filesystems fsck"
I should provide any additionl infomation just ask. should someone help me?
Last edited by ETNyx (2012-12-07 10:21:09)
I think you have to put lvm2 after encrypt into hooks.
Surprise: lvm2 is needed only if you use lvm. There's no reason to add it here.
Looks more like /dev/sda2 is never found, so the cryptdevice is never setup. Are there other physical disks? Have you tried using a UUID for the cryptdevice instead of a kernel name?
Hi, thx for your answers.
First of all i dont use lvm.
Yes there is another physical disk. So i will try to switch defining my discs by UUID, I didnt used it yet so, I propably should change all of records, isnt it? Thats mean grub,crypttab a fstab or there is anything else? And I also looks over net how to get UUID i found this cmd is it correct because some parttion have got another format of UUID (i suggest its made by Windows they are ntfs formated). For example:
sudo blkid /dev/sda3 /dev/sda3: UUID="0072C16772C161D0" TYPE="ntfs" sudo blkid /dev/sda6 /dev/sda6: UUID="ee1a4eb7-0a91-4881-8535-2e7f72280a5f" TYPE="crypto_LUKS"
is that correct way?