Cannot access or boot encrypted drive (gave up waiting for root device...)


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Cannot access or boot encrypted drive (gave up waiting for root device...)
# 1  
Old 12-11-2015
Hammer & Screwdriver Cannot access or boot encrypted drive (gave up waiting for root device...)

I cannot access or boot from my C drive. I'm running Zorin 9 and the drive is a Samsung SSD. The disk was encrypted on install, and that has not given me any problems before.


When I start the system it gets to the memory test page, and does not then load the password prompt, which it used to. I can go to password manually by pressing "Enter (Boot)", but it does not accept correct password. I have tried cap lock. I know keyboard is good, I have tried wired and wireless keyboards. I checked the disk recently with GSmartControl, and it passed with no comments. Upon attempting password I get "cryptsetup failed". After several attempts I get an error "gave up waiting for boot device". Image


When plugged into windows externally, this drive with the data I want doesn't show up in the drive list as searchable, but it does show up in "safely remove hardware", and in drive management. In drive management, it shows as 2 partitions, both reporting as healthy, one at 243mb, the other at 232.65gb. The drive is formatted to ext2, and with windows drivers, the smaller partition (with grub) displays in drive list, but not the data partition, formatted to raw.


Questions:
1) Does this seem most likely to be a software or hardware problem?
If a software problem:
2) I noticed that it lists the OS it is looking for as being on sda5_crypt, not sure how there could be 5 partitions on that device (it's only 250gb) unless that is part of the encryption protocol. I never noticed the partition designation before, the only thing I put on that drive is the OS, I never manually created any other partitions. Could it just be looking for the wrong partition? Is there a way to check this?
3) Is there a way to repair the boot sector, change the encryption key, or reinstall the OS from DVD without booting up, AND preserve all existing personal data? (fortunately, there's not that much on this drive)
4) I've been thinking of moving from Zorin to Ubuntu OS anyway, and my first thought was that this is an opportunity for that. Is there a way to install Ubuntu and preserve the data?
If a hardware problem:
5) Is there a way to back up and salvage the encrypted data on this disk?

Thanks for any help!
# 2  
Old 12-12-2015
Image is WAY too HUGHE!
I have fullhd screen and need to scroll.
Please reduce the image size/dimension for future images.
4901x1808 is too large, specialy for such few text -> when ican read the text on the image, i cant read anything of the forum.

----

* Did you overwrite the EFI partition (as in reused AND formated)?
* Did you leave out the existing EFI partiton (not used at all)
* Did you mark cryptdevice:/dev/sda5:CRYPTNAME (where sda1 is your crypted partition, and CRYPTNAME its dev mapper name) (in /etc/default/grub :: GRUB_CMDLINE_LINUX.
* In most cases, simply reinstall Linux (in the hope you have /home as its own partition), which should fix the 'no OS found' screen, and eventually the missing crypt partition as well - if done right in the installer - depends on your distro.
* In case you built your own kernel, did you enable the dm+encryption modules and did you rebuild initcpio before rebooting?

Hth to get started.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Debian

Problems with cryptsetup keyfile encrypted root partition under Debian 9, i386

Hello, i'm trying to set up a machine with an encrypted filesystem. It's a Debian 9/i386. The partition table on /dev/sda 1. 1 MiB BIOS BOOT (04) N/A N/A 2. 256 MiB Linux (83) ext4 /boot 3. 2304 MiB Linux (83) ext4 / 4. 1 MiB MINIX (81) N/A N/A 5. 510 MiB Linux... (7 Replies)
Discussion started by: tyuxar
7 Replies

2. SuSE

Auditors want more security with root to root access via ssh keys

I access over 100 SUSE SLES servers as root from my admin server, via ssh sessions using ssh keys, so I don't have to enter a password. My SUSE Admin server is setup in the following manner: 1) Remote root access is turned off in the sshd_config file. 2) I am the only user of this admin... (6 Replies)
Discussion started by: dvbell
6 Replies

3. UNIX for Advanced & Expert Users

Gave up waiting for root device.

Yestoday, in order to analysis the core dump information which is a result of my bugged device driver, I configurate and make the kernel according to "Documentation/kdump/kdump.txt" in linux source code and today, I reboot the system with "crashkernel=64M@16M". The system cannot boot now and... (0 Replies)
Discussion started by: liklstar
0 Replies

4. Boot Loaders

Reboot and Select Proper Boot device or insert Boot media in select Boot device and press a key

Hello, I have kubuntu on my laptop and now I decided to switch to Windows 7. I made the bios settings properly (first choice is boot from cd\vd) but I see the error " reboot and select proper Boot device or insert Boot media in select Boot device and press a key " I have tried CD and... (0 Replies)
Discussion started by: rpf
0 Replies

5. Homework & Coursework Questions

The pseudo-device provides a “backdoor” for gaining root access for a particular user.

Problem statement. In this part of the assignment, delegates will create a pseudo-device and write a device driver for it. The pseudo-device provides a “backdoor” for gaining root access for a particular user. Instead of compiling the device driver into the kernel, delegate will create a module.... (1 Reply)
Discussion started by: nyjilgeorge1
1 Replies

6. UNIX for Dummies Questions & Answers

How to allow access to some commands having root privleges to be run bu non root user

hi i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies

7. SuSE

Waiting for device /de/sda2 to appear .... not found

hi all waiting for a device /dev/sda2 to appear:... not found -- device nodes: console disk fb0 full hdc input kmem kmsg loop0 loop1 loop2 loop3... (1 Reply)
Discussion started by: revenna
1 Replies

8. Solaris

cannot find boot device and won't boot off cdrom

I'm running solaris 2.5.1. My main development server is DEAD, i can't even boot off the cdrom, it powers up, acts like it is starting the boot process but then says cannot find boot device. I've done the search here on this site and saw the other posts, but at the ok prompt it won't even let me... (3 Replies)
Discussion started by: kymberm
3 Replies
Login or Register to Ask a Question