Recently, encrypted Win7 system partition and another NTFS partition with TrueCrypt. After looking around and stumbling upon this I think that could be the reason why I am now stuck in initramfs when booting my linux boot loader (which is located on a /boot partition) even when booting in recovery mode.
Perhaps TrueCrypt messed the naming scheme of my partitions and now the linux bootloader can't find my linux partition anymore?
Here are the most notable error messages after it seems to be successfully loading drivers:
Code: Select all
Gave up waiting for waiting for root device. Common Problems:
-Boot args (car /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/a6f257ca-442f-43cd-b45a-64e127c48c1b does not exist.
Dropping to a shell!
BusyBox v.1.18.4 (Ubuntu 1:1.18.4-2ubuntu2) built-in shell (ash)
Enter help for a list of built-in commands
(initramfs)
Here are some more info from random commands I threw in:
Code: Select all
ls -l /dev/disk/by-label
lrwxrwxrwx 1 10 System\x20Reserved -> ../../sda1
ls -l /dev/disk/by-uuid
lrwxrwxrwx 1 10 30B8ED57B8ED1BDA -> ../../sda1
lrwxrwxrwx 1 10 6d262e5f-3fbb-4d48-9ebb-03a704848a16 -> ../../sda3
cat /proc/partitions/
cat: can't open 'proc/partitions': not a directory
cat /proc/fstab/
cat: can't open 'proc/fstab': not a directory
I doubt my sda3 partition is where Mint is installed, and not seeing it listed worries my a little. (I don't care for data loss, that was a nearly fresh install)try to edit the fstab on your harddisk from the livecd to match the ID's from /dev/disk/by-id or /dev/disk/by-uuid, and reboot.
I should probably add that my NTFS encrypted partition is a logical drive and is part of the same extended partition as the ones my / and /home partitions are on, could this be the origin of the issue?
Any help or hints will be greatly appreciated and used for learning!
[EDIT]: Well, turns out when I used live CD, my linux partition is recognized in Gparted as "unallocated", which baffles me because my /boot/ partition is still intact. However, as I said earlier, the /boot/ partition is outside the extended partition where / and the encrypted NTFS partition reside, so my guess is that encrypting a partition that is part of an extended one somehow corrupts the other partitions too.
I'll reinstall linux again then. Sheesh.