SSD set up assistance please? (solved)

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
Wompoo
Level 5
Level 5
Posts: 860
Joined: Sat Dec 28, 2013 2:42 am

SSD set up assistance please? (solved)

Post by Wompoo » Sat Mar 03, 2018 8:45 pm

I am stuck at point #7 in this set of instructions on optimizing my new SSD:
https://sites.google.com/site/easylinuxtipsproject/ssd

Specifically this part (c) here:

"c. Now add the word noatime to the line for your root partition and your other Linux partitions, just before errors=remount-ro. Note: don't add it to the line for the swap partition!
Here's an example of an adapted line, in which you can see the exact spot where the noatime switch has to be put:
UUID=xxxxxxx / ext4 noatime,errors=remount-ro 0 1
"

Will someone interpret the above for this beginner please?
Last edited by Wompoo on Sun Mar 04, 2018 12:09 am, edited 1 time in total.
Desktop PC #2
Linux Mint 17.3 Rosa KDE desktop (64-bit), Asus
CPU E7500, 8 Gb RAM


Desktop #1
Dell Vostro 220 64 bit.
Linux Mint 17.3 Rosa KDE

Dell Inspiron 6000 laptop

User avatar
catweazel
Level 17
Level 17
Posts: 7067
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: SSD set up assistance please?

Post by catweazel » Sat Mar 03, 2018 8:50 pm

Wompoo wrote:
Sat Mar 03, 2018 8:45 pm
Will someone interpret the above for this beginner please?
In a terminal:

Code: Select all

sudo nano -w /etc/fstab
Navigate to the line that mounts your / (root) system, for example:

UUID=65654675476AE53 / ext4 errors=remount-ro 0 0"

Navigate to e in errors and type noatime,

Don't forget the comma, and don't include spaces. Your cursor should be over the e when you start to type.

ctrl-o + <enter> to save, ctrl-x to exit.

Before you do that, backup fstab:

Code: Select all

sudo cp /etc/fstab /etc/fstab.bak
If you can't boot after making the change, use ctrl-F1 to start a terminal and issue these commands:

Code: Select all

sudo cp /etc/fstab.bak /etc/fstab
sudo reboot
Caution: Dancing Wu Li Master and Official curmudgeon-in-chief

Wompoo
Level 5
Level 5
Posts: 860
Joined: Sat Dec 28, 2013 2:42 am

Re: SSD set up assistance please?

Post by Wompoo » Sat Mar 03, 2018 9:50 pm

Thanks for the prompt reply Catweazel.
I think I have it. Is this the terminal entry that I now enter after typing in noatime:


# /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=ae6b558b-c19e-4df1-b053-98ca844b75f1 / ext4 noatime,errors=remount$
# swap was on /dev/sda5 during installation
UUID=8ff79968-3597-4632-a6e3-a002242b9909 none swap sw 0 $

But:

Should I go out of that and enter the fstab update command first? Then do the above?

edit: I have now done the backup entry.
Desktop PC #2
Linux Mint 17.3 Rosa KDE desktop (64-bit), Asus
CPU E7500, 8 Gb RAM


Desktop #1
Dell Vostro 220 64 bit.
Linux Mint 17.3 Rosa KDE

Dell Inspiron 6000 laptop

User avatar
catweazel
Level 17
Level 17
Posts: 7067
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: SSD set up assistance please?

Post by catweazel » Sat Mar 03, 2018 9:56 pm

Wompoo wrote:
Sat Mar 03, 2018 9:50 pm

Code: Select all

# /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=ae6b558b-c19e-4df1-b053-98ca844b75f1 /               ext4    noatime,errors=remount$
# swap was on /dev/sda5 during installation
UUID=8ff79968-3597-4632-a6e3-a002242b9909 none            swap    sw              0     $
That looks almost right. I don't recognise the $ symbol in errors=remount$. Maybe the text got cut off. Anyway, noatime, is in the right place and in the right format. You're good to go.

Cheers.
Caution: Dancing Wu Li Master and Official curmudgeon-in-chief

Wompoo
Level 5
Level 5
Posts: 860
Joined: Sat Dec 28, 2013 2:42 am

Re: SSD set up assistance please?

Post by Wompoo » Sat Mar 03, 2018 9:59 pm

All good then Catweazel, thanks again.
Desktop PC #2
Linux Mint 17.3 Rosa KDE desktop (64-bit), Asus
CPU E7500, 8 Gb RAM


Desktop #1
Dell Vostro 220 64 bit.
Linux Mint 17.3 Rosa KDE

Dell Inspiron 6000 laptop

Wompoo
Level 5
Level 5
Posts: 860
Joined: Sat Dec 28, 2013 2:42 am

Re: SSD set up assistance please?

Post by Wompoo » Sat Mar 03, 2018 10:03 pm

oopps! I must have done something wrong.


Please ignore - wrong command entered!
Desktop PC #2
Linux Mint 17.3 Rosa KDE desktop (64-bit), Asus
CPU E7500, 8 Gb RAM


Desktop #1
Dell Vostro 220 64 bit.
Linux Mint 17.3 Rosa KDE

Dell Inspiron 6000 laptop

User avatar
catweazel
Level 17
Level 17
Posts: 7067
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: SSD set up assistance please?

Post by catweazel » Sat Mar 03, 2018 10:13 pm

Wompoo wrote:
Sat Mar 03, 2018 9:59 pm
All good then Catweazel, thanks again.
You're most welcome.
Caution: Dancing Wu Li Master and Official curmudgeon-in-chief

Wompoo
Level 5
Level 5
Posts: 860
Joined: Sat Dec 28, 2013 2:42 am

Re: SSD set up assistance please?

Post by Wompoo » Sat Mar 03, 2018 10:14 pm

I selected all of the terminal result, copy and pasted to word file and saved in documents.
Is that what was meant by "save the modified text file"?

edit:
I found the save option in the terminal options at the top. Done.
However, when I go to close the terminal, it warns that a process is still running. What do I do now?
Last edited by Wompoo on Sat Mar 03, 2018 10:18 pm, edited 1 time in total.
Desktop PC #2
Linux Mint 17.3 Rosa KDE desktop (64-bit), Asus
CPU E7500, 8 Gb RAM


Desktop #1
Dell Vostro 220 64 bit.
Linux Mint 17.3 Rosa KDE

Dell Inspiron 6000 laptop

User avatar
catweazel
Level 17
Level 17
Posts: 7067
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: SSD set up assistance please?

Post by catweazel » Sat Mar 03, 2018 10:17 pm

Wompoo wrote:
Sat Mar 03, 2018 10:14 pm
I selected all of the terminal result, copy and pasted to word file and saved in documents.
Is that what was meant by "save the modified text file"?

edit:
I found the save option in the terminal options at the top. Done.
I didn't read all of Pjotr's instructions so I don't know, sorry.
Caution: Dancing Wu Li Master and Official curmudgeon-in-chief

Wompoo
Level 5
Level 5
Posts: 860
Joined: Sat Dec 28, 2013 2:42 am

Re: SSD set up assistance please?

Post by Wompoo » Sun Mar 04, 2018 12:07 am

No Problem catweazel.

Someone else came to my rescue using TeamViewer.
Thanks for your replies and assistance.
I will mark this as solved.
Desktop PC #2
Linux Mint 17.3 Rosa KDE desktop (64-bit), Asus
CPU E7500, 8 Gb RAM


Desktop #1
Dell Vostro 220 64 bit.
Linux Mint 17.3 Rosa KDE

Dell Inspiron 6000 laptop

Post Reply

Return to “Hardware Support”