Linux Lite 7.6 Final Released - Click here for more


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need to authenticate before accessing internal drives
#21
That is a good point about pic quality. I will look into that.




Ok, I'm an imgur convert...  8)
Reply
#22
(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
Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#23
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
[Image: EtYqOrS.png%5D]

A gun in your hand is worth more than a whole police force on the phone.
Reply
#24
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
Download your free copy of Linux Lite today.

Jerry Bezencon
Linux Lite Creator

"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."

[Image: X5qGkCg.png]

[Image: 0op1GNe.png] [Image: LgJ2mtP.png] [Image: vLZcFUE.png] [Image: lrUHro3.jpg]
Reply
#25
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
[Image: EtYqOrS.png%5D]

A gun in your hand is worth more than a whole police force on the phone.
Reply
#26
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
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#27
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.
Reply
#28
Hi,

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

Leafpad is LL text editor
Upgrades WIP 2.6 to 2.8 - (6 X 2.6 to 2.8 completed on: 20/02/16 All O.K )
Linux Lite 3.0 Humming on a ASRock N3070 Mobo ~ btrfs RAID 10 Install on 4 Disks Smile

Computers Early days:
ZX Spectrum(1982) , HP-150 MS-DOS(1983) , Amstrad CPC464(1984) ,  BBC Micro B+64(1985) , My First PC HP-Vectra(1987)
Reply
#29
Ok, I think I have it now. Will check the log in a few days to verify.

Thanks much.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)