Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1502  / 2 Years ago, tue, april 5, 2022, 9:59:08

Before you crucify me for saying something incorrect, I am an absolute beginner. Thanks for your patience. I m on 12.04
Every time I boot there are two things that appear.
The first one is that /dev/sdc1 couldn't no be mounted and then could not mount /dev/mapper/cryptswap1.



This is what the /etc/fstab looks like:



# /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>
proc /proc proc nodev,noexec,nosuid 0 0
# swap was on /dev/sda7 during installation
UUID=0af05a68-8fea-432e-974d-a4f75c172c12 none swap sw 0 0
/dev/sda2 /media/sda2 ntfs nls=iso8859-1,ro,users,umask=000,user 0 0
/dev/sda5 /media/sda5 ntfs nls=iso8859-1,users,umask=000,user 0 0
/dev/sdc1 /media/sdc1 ntfs nls=iso8859-1,ro,users,umask=000,user 0 0
/dev/mapper/cryptswap1 none swap sw 0 0


My swap is in sda7 and my ext4 in sda6. sda2 and sda5 are the windows drives.



What do I have to change/do to avoid this problem that is slowing down my computer?


More From » 12.04

 Answers
0

Is that your full fstab? It does not show the / (root) line which would mean you could not boot at all?



Did you encrypt /home. It then converts swap to /dev/mapper/cryptswap1 but you cannot mount it unencrypted as you have with UUID for sda7.



Better to use UUID for all mounts. If sdc is external that may be an issue or it may need chkdsk from Windows.



Before anything:



sudo cp /etc/fstab /etc/fstab.backup


then and you can use # at beginning of a line to comment it out if testing:



gksu gedit /etc/fstab


Better to use this example and modify it to your UUID and mount point.
For ntfs UUID shown is example only see below:



UUID=DA9056C19056A3B3 /media/WinD ntfs defaults,nls=utf8,umask=000,uid=1000,windows_names 0 0


Window_names prevents the use of invalid windows characters:
(which are the nine characters ” * / : < > ? | and those whose code is less than 0×20)
uid=1000 should fix the trash problems as well:



** To find the correct UUID for your partitions:



sudo blkid -c /dev/null -o list


** And when you are done editing fstab and saving it run the following command to test for errors and mount the partitions without requiring a reboot. You will know before you reboot if something is amiss. Make sure you have partition unmounted if prevously mounted:



sudo mount -a

[#30161] Wednesday, April 6, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
itutejagua

Total Points: 89
Total Questions: 124
Total Answers: 113

Location: British Indian Ocean Territory
Member since Sun, Feb 13, 2022
2 Years ago
;