SSD set up assistance please? (solved)

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

SSD set up assistance please? (solved)

Post by Wompoo »

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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: SSD set up assistance please?

Post by catweazel »

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
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: SSD set up assistance please?

Post by Wompoo »

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 #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: SSD set up assistance please?

Post by catweazel »

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.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: SSD set up assistance please?

Post by Wompoo »

All good then Catweazel, thanks again.
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: SSD set up assistance please?

Post by Wompoo »

oopps! I must have done something wrong.


Please ignore - wrong command entered!
Desktop PC #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: SSD set up assistance please?

Post by catweazel »

Wompoo wrote: Sat Mar 03, 2018 9:59 pm All good then Catweazel, thanks again.
You're most welcome.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: SSD set up assistance please?

Post by Wompoo »

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 #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: SSD set up assistance please?

Post by catweazel »

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.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Wompoo
Level 6
Level 6
Posts: 1116
Joined: Sat Dec 28, 2013 2:42 am

Re: SSD set up assistance please?

Post by Wompoo »

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 #1
Linux Mint 20.3 MATE desktop (64-bit), Asus
ASUSTeK model: P5G41T-M LX, 8 Gb RAM
Locked

Return to “Hardware Support”