Linux Lite Forums

Full Version: Need to authenticate before accessing internal drives
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
That is a good point about pic quality. I will look into that.




Ok, I'm an imgur convert...  8)
(07-30-2015, 12:05 AM)paul1149 link Wrote:That is a good point about pic quality. I will look into that.

Thank you, it will certainly motivate people to help you more when you provide good quality, clear images Smile
Hello!

(07-29-2015, 11:56 PM)Jerry link Wrote:Trim SSD - use this command to check if Trim is supported:

Code:
sudo hdparm -I /dev/sda | grep "TRIM supported"

If it is, follow the guide in the Help Manual Smile If you don't Trim, your SSD life will be reduced, so it's a must do given their cost.

Type carefully in the fstab and always check with sudo mount -a before rebooting Smile

After carefully following the Help Manual instructions on how to do this, at the next reboot, booting stopped at this point:

"Starting Bridge socket events into upstart".

I had to restore from a backup to be able to boot again. This time, I skipped the log creation in rc.local, and it booted.

I thought I had typed all that verbatim, leaving out the partitions I didn't have. I only have one partition here, '/', to make things easier.

I'm not sure that the additional command in rc.local will work for me, but to reduce typos, can it be made to 'cut-and-paste'? I could then cut/paste it into a text editor to make my changes...

73 DE N4RPS
Rob
Here's my rc.local:

Code:
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

LOG=/var/log/trim.log
echo “*** $(date -R) ***” >> $LOG
fstrim -v /boot >> $LOG
fstrim -v / >> $LOG
fstrim -v /home >> $LOG
fstrim -v /sparessd >> $LOG
echo " " >> $LOG

exit 0
Hello!

Thanks, Jerry. We'll give it another shot.

If it doesn't work for me again, it's no big deal. Redo and 25 minutes are all I need to be 'back on the air'. SSD + USB3 external HD = AWESOME!

73 DE N4RPS
Rob
The SSD Trim came up in one of my post's, can't find it.
Here's how I do trim on my SSD's, see the
"Using a daily cron job - recommended" method in this link

http://www.webupd8.org/2013/01/enable-tr...rives.html

I read doing it in fstab causes a "trim" on each file delete, probably a bit excessive

Dave
To my eye, this is a better method, not least because it has a positive test that it is working. But I'm stuck in this line:

Code:
gksu gedit /etc/cron.daily/trim

What is the equivalent of that in LL? Leafpad only creates a text file, rather than a script.

Thanks.
Hi,

Use:
Code:
gksu leafpad /etc/cron.daily/trim

Leafpad is LL text editor
Ok, I think I have it now. Will check the log in a few days to verify.

Thanks much.
Pages: 1 2 3