LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-21-2014, 05:49 PM   #1
cryptolo
LQ Newbie
 
Registered: Jul 2014
Posts: 9

Rep: Reputation: Disabled
Error on bootup "the disk drive for /dev/mapper/... Is not ready yet or not present


When I went to boot up my Linux mint laptop today I got the error message "the disk drive for /dev/mapper/mint--vg-swap_1 is not ready or not present."

I searched and couldn't find any answers hat fit my situation and were clear/simple enough for me to try on my own. I did find out that it might have to do with UUIDs and etc/fstab.

I am traveling and have limited troubleshooting resources. I do have a live CD and an android phone. Could anyone help me tro bleshoot my problem? I'm kind of desperate as I have a couple thousand pics on the HD from m the last few months of travel.

From other similar posts it seems like providing /etc/fstab and the output of blkid helped troubleshooters so I will post that in just minute once I copy it over to my phone.

Thanks in advance.
 
Old 07-21-2014, 06:19 PM   #2
cryptolo
LQ Newbie
 
Registered: Jul 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
/etc/fstab
Quote:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/mint--vg-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=35d73d38-b834-441d-b7c4-afb12db84bcb /boot ext2 defaults 0 2
/dev/mapper/mint--vg-swap_1 none swap sw 0 0
/dev/mapper/cryptswap1 none swap sw 0
BLKID
Quote:
mint@mint ~ $ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="35d73d38-b834-441d-b7c4-afb12db84bcb" TYPE="ext2"
/dev/sda5: UUID="zWQFRd-xVqA-V79i-2ORo-wQ9q-hllN-uRfGIK" TYPE="LVM2_member"
/dev/mapper/mint--vg-root: UUID="a43b5701-3304-486d-9c7e-f0439fa2b131" TYPE="ext4
Let me know if there is any other info needed

Thanks
 
Old 07-21-2014, 07:08 PM   #3
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
just curious, how did you get the blkid and fstab if the system would not boot?

if you got that info from the LiveCD, does the liveCD have the ability to mount the "missing" drive that grub is not seeing? if so then you might want to verify that the disk is still stable.

this is a laptop, with the power off and the battery removed, unplug and plug the HDD back into the laptop. in other words reseat the drive to see if it just wiggled lose while being moved.

from the liveCD try some of these:

http://blog.shadypixel.com/monitorin...smartmontools/

http://www.cyberciti.biz/faq/find-ha...pecs-on-linux/
 
Old 07-22-2014, 12:58 AM   #4
cryptolo
LQ Newbie
 
Registered: Jul 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Yes I got that info through booting from the livecd. And yes I can mount the missing drive. Any advice on how to tell if the drive is stable.

I will disconnect the drive when I get a chance and look into the links. Thank you.
 
Old 07-22-2014, 01:37 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,937

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
Backups for for just this situation - yes, even (especially) when travelling.

If you can mount the mint--lv-root and see your photos you're probably ok. If the filesystem was broken you'd usually be told. Do you really use two swap extents - and is (ony) one of them actually encrypted ?.
Was this aptop hibernated prior to the inital failed (re-)boot ?.
 
Old 07-22-2014, 01:51 AM   #6
cryptolo
LQ Newbie
 
Registered: Jul 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Yeah, I know I should backup but I only have a single 90 GB ssd and no external. Also I upload new photos pretty regularly and would have to backup quite frequently.

As for being able to mount mint--lv-root I can view the filesystem but I can't view my photos or anything else in /home/username probably because /home is encrypted.

As for swap. I have no idea why there would be two swap partitions if that's what your saying. Or why only one would be encrypted. I followed a tutorial on how to setup encrypted lvm on Linux mint and may have done something wrong, but I recall setting up only one swap partition.

I shutdown the computer prior to the failure but it was really low on battery so could've automatically gone to hibernation as I shut it down.

I'm not real comfortable with Linux yet so I'm sorry I can't provide more definitive answers.
 
Old 07-22-2014, 02:12 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,937

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
Ugh - I don't do crypto, so I'll try not to get in the way. Let's see if we can get some basic info - let's see the output of these from the liveCD
Code:
sudo parted -l
pvs
vgs
lvs
 
Old 07-22-2014, 02:11 PM   #8
cryptolo
LQ Newbie
 
Registered: Jul 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Here is the output of: SUDO PARTED -L
Quote:
Model: ATA Corsair Force 3 (scsi)
Disk /dev/sda: 90.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 256MB 255MB primary ext2 boot
2 257MB 90.0GB 89.8GB extended
5 257MB 90.0GB 89.8GB logical lvm


Model: hp v165w (scsi)
Disk /dev/sdb: 4052MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 65.5kB 4052MB 4052MB primary fat32 boot, lba


Model: hp v165w (scsi)
Disk /dev/sdc: 16.2GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 16.2GB 16.2GB primary fat32 lba


Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/mint--vg-root: 85.7GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number Start End Size File system Flags
1 0.00B 85.7GB 85.7GB ext4


Error: /dev/mapper/mint--vg-swap_1: unrecognised disk label
And of: SUDO PVS (just pvs returned a open failed: permission denied error)
Quote:
PV VG Fmt Attr PSize PFree
/dev/sda5 mint-vg lvm2 a-- 83.60g 0
And of: SUDO VGS
Quote:
VG #PV #LV #SN Attr VSize VFree
mint-vg 1 2 0 wz--n- 83.60g 0
And of: SUDO LVS
Quote:
LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert
root mint-vg -wi-ao--- 79.80g
swap_1 mint-vg -wi-a---- 3.80g
 
Old 07-22-2014, 09:43 PM   #9
cryptolo
LQ Newbie
 
Registered: Jul 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
can anyone advise how i might go about fixing my problem based on the information provided?
 
Old 07-23-2014, 02:30 AM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,937

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
Let's see what this has in it
Code:
cat /etc/crypttab
And provide a link to the tutorial you mentioned above.
 
Old 07-24-2014, 01:16 PM   #11
cryptolo
LQ Newbie
 
Registered: Jul 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Unfortunately I can't recall the tutorial I used. I did some searching and couldn't find a tutorial that looked familiar. I may have just used the Linux Mint 16 step-by-step installer.

Here is the output of "sudo cat /etc/crypttab"

Quote:
# <target name> <source device> <key file> <options>
And "sudo cat /media/mint/a43b5701-3304-486d-9c7e-f0439fa2b131/etc/crypttab"

Quote:
cryptswap1 /dev/dm-1 /dev/urandom swap,cipher=aes-cbc-essiv:sha256

Last edited by cryptolo; 07-24-2014 at 01:24 PM.
 
Old 07-24-2014, 01:20 PM   #12
cryptolo
LQ Newbie
 
Registered: Jul 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Also through another process I was able to decrypt my /home folder and get the pictures and documents I needed from the "lost" drive. So it is much less crucial for me to fix the problem though I would really like to if possible. But if worse comes to worst I can always reinstall Linux Mint without losing any important data.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Linux Setup Failure; "The disk drive for dva / sda 5 not present or ready..." smrsr000 Linux - Newbie 2 02-22-2013 04:11 AM
disk drive for / is not ready yet or not present arunkumarev Linux - Newbie 3 10-09-2012 12:25 AM
The disk drive for /mnt/st is not yet ready or not present saeedsssss Linux - Newbie 1 09-24-2012 02:35 PM
grub/boot problem: the disk drive for /windows/c is not yet ready or is not present bth73 Linux Mint 5 07-05-2012 01:11 PM
Small linux giving "Warning: dev (4:01)...." error during bootup. WJWhite Linux - Newbie 1 01-24-2004 12:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration