LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Ubuntu swap issue (https://www.linuxquestions.org/questions/linux-general-1/ubuntu-swap-issue-4175470057/)

andre227 07-18-2013 07:24 AM

Ubuntu swap issue
 
Hi everybody,

I'm running here Ubuntu 13.04, recently I partitioned my disk and now I'm getting a warning message at the boot.

What happened is that first I installed the Ubuntu in a 1TB disco, then I realized that this wouldn't be a smart thing. So I've redimensioned the partition and created an other one just for my files. Then I changed the directory /home to the new partition and I configured this at the /etc/fstab file too.

Everything worked fine, but now I'm getting the message below when I turn on my computer.

"The disk drive for /dev/mapper/cryptswap1 is not ready yet or not present
Continue to wait; or Press S to skip mounting or M for manual recovery"


Does anybody please could help me to solve this? I would really apreciate your help, I've searched about this error on google, but apparently a lot of reasons can cause this.

Thank you!
Andre

snowday 07-18-2013 07:54 AM

I get that message too on my Mint 14 machine with encrypted /home, but it doesn't seem to actually cause any problems. :)

andre227 07-18-2013 08:03 AM

Quote:

Originally Posted by snowpine (Post 4992526)
I get that message too on my Mint 14 machine with encrypted /home, but it doesn't seem to actually cause any problems. :)

Hello!

I followed a tutorial about how to remove the encryption of /home, but I didn't reboot the machine yet to see if this solve the problem. I guess it is a /etc/fstab issue...

This is my /etc/fstab file:
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>
# / was on /dev/sda1 during installation
UUID=03e442cb-fb0b-4e97-b659-852f68d5f815 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
#UUID=4d781d18-cf12-4659-9c76-2497904723c9 none swap sw 0 0
/dev/mapper/cryptswap1 none swap sw 0 0
/dev/sda3 /home ext4 defaults 0 0
And when I run the blkid command I get this:

Quote:

/dev/sda1: UUID="03e442cb-fb0b-4e97-b659-852f68d5f815" TYPE="ext4"
/dev/sda3: UUID="23ca4913-c4c2-4f09-9a2b-abc9d9f7c6cc" TYPE="ext4"
/dev/mapper/cryptswap1: UUID="041e22f1-ecf9-4620-84d3-91a46e2df5b8" TYPE="swap"

yancek 07-18-2013 08:24 AM

I see that warning message sometimes when booting Ubuntu and hit the s key and it continues booting. Does it fail to boot in your case. You would need to indicate what changes you made in partitions. Are those the only three partitions you have? Swap is on sda5 or elsewhere? Post the output of: sudo fdisk -l.

andre227 07-18-2013 08:49 AM

Quote:

Originally Posted by snowpine (Post 4992526)
I get that message too on my Mint 14 machine with encrypted /home, but it doesn't seem to actually cause any problems. :)

You was right! I deleted the encrypted dir /home/mydir and I've created an other one without the encrypt option...

Now, the warning is not shown!... :D


All times are GMT -5. The time now is 12:04 PM.