Author Topic: [SOLVED] Question about adding an ssd to system  (Read 1091 times)

Offline horusfalcon

  • Hero Member
  • *****
  • Posts: 998
  • Wayfarer of The Western Wastes
Re: [SOLVED] Question about adding an ssd to system
« Reply #15 on: January 24, 2013, 12:30:44 PM »
This looks like it's been solved a while, but I have a question about the solution:

This can be done from a live boot, yes?  It looks as though some sort of Linux console has to be available to implement it...

If I'm right in suspecting this, it could prove a useful tool for system recovery.

Later On,
D
"The Way is not a matter of knowing or not knowing.  One word to a wise man; one lash to a bright horse."

Dell Latitude D620, PCLinuxOS 2012.08 KDE4/LXDE, 3.2.18.pclos.bfs, specs here.

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10668
  • MLUs Forever!
Re: [SOLVED] Question about adding an ssd to system
« Reply #16 on: January 24, 2013, 01:08:17 PM »
This looks like it's been solved a while, but I have a question about the solution:

This can be done from a live boot, yes? 

Yes, provided it has Grub available on it.


Quote
It looks as though some sort of Linux console has to be available to implement it...

If I'm right in suspecting this, it could prove a useful tool for system recovery.

Later On,
D

Not necessarily Linux.
All is needed is an instance of Grub available.

It could be on a floppy, CD or other media.
Provided the media booted and made Grub available it can be run and installed.

Although I don't remember making use of them, there are Grub4DOS and WinGrub too, as well as the Grub we use on Linux.

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline horusfalcon

  • Hero Member
  • *****
  • Posts: 998
  • Wayfarer of The Western Wastes
Re: [SOLVED] Question about adding an ssd to system
« Reply #17 on: January 25, 2013, 07:57:39 PM »
This looks like it's been solved a while, but I have a question about the solution:

This can be done from a live boot, yes? 

Yes, provided it has Grub available on it.


Quote
It looks as though some sort of Linux console has to be available to implement it...

If I'm right in suspecting this, it could prove a useful tool for system recovery.

Later On,
D

Not necessarily Linux.
All is needed is an instance of Grub available.

It could be on a floppy, CD or other media.
Provided the media booted and made Grub available it can be run and installed.

Although I don't remember making use of them, there are Grub4DOS and WinGrub too, as well as the Grub we use on Linux.



Even better!  Yeah, I'll have to play with this some more... looks like a very useful tool for these purposes.  Thanks!

Later On,
D
"The Way is not a matter of knowing or not knowing.  One word to a wise man; one lash to a bright horse."

Dell Latitude D620, PCLinuxOS 2012.08 KDE4/LXDE, 3.2.18.pclos.bfs, specs here.

Online atolboo

  • Full Member
  • ***
  • Posts: 231
Re: [SOLVED] Question about adding an ssd to system
« Reply #18 on: Yesterday at 01:51:35 PM »
I have added a Samsung 840 series SSD 120GB and put the system / partition on it.
My /home partition is on a HDD.
Here is an overview of the changes I made:
1. Modified the following bold options in the file /etc/fstab
        UUID=d220dffe-f66d-42a2-bd3f-303db9c8bb36 / ext4 defaults,noatime,nodiratime,discard 1 1
2. Added the following line to the end of the file /etc/rc.local
        echo deadline >/sys/block/sda/queue/scheduler

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12525
Re: [SOLVED] Question about adding an ssd to system
« Reply #19 on: Yesterday at 03:08:41 PM »
I have added a Samsung 840 series SSD 120GB and put the system / partition on it.
My /home partition is on a HDD.
Here is an overview of the changes I made:
1. Modified the following bold options in the file /etc/fstab
        UUID=d220dffe-f66d-42a2-bd3f-303db9c8bb36 / ext4 defaults,noatime,nodiratime,discard 1 1
2. Added the following line to the end of the file /etc/rc.local
        echo deadline >/sys/block/sda/queue/scheduler


Here's mine.

 /etc/rc.local

echo noop > /sys/block/sda/queue/scheduler
echo 0 > /sys/block/sda/queue/add_random
echo 0 > /sys/block/sda/queue/rq_affinity
echo 1 > /proc/sys/vm/swappiness

/etc/fstab
UUID=6d0239e7-ff31-4406-86bc-d755bf76682e / ext4 defaults,noatime,discard   0  1

Thanks to everyone who donates. You keep the servers running.

Offline JohnW_57

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2130
Re: [SOLVED] Question about adding an ssd to system
« Reply #20 on: Yesterday at 04:57:55 PM »
Lol, so many configurations are possible.

Mine is in fstab
Code: [Select]
# Entry for /dev/sda1 :
UUID=e9a58f1d-2a0d-466b-9b6a-becea0d1c91f / ext4 noatime,nodiratime,discard,errors=remount-ro 0 1

Also other options are possible for less writing to the ssd drive:

Code: [Select]
tmpfs   /tmp       tmpfs   defaults,noatime,mode=1777   0  0
tmpfs   /var/spool tmpfs   defaults,noatime,mode=1777   0  0
tmpfs   /var/tmp   tmpfs   defaults,noatime,mode=1777   0  0
tmpfs   /var/log   tmpfs   defaults,noatime,mode=0755   0  0

JohnW
PCLinuxOS 2013 KDE4 (64 bit) on: home build system:  Intel Core 2 Quad (q6700) (2.66ghz), Asus P5K motherboard, 4 gig ddr2 memory, Asus Nvidia Geforce GTS 250 1024 mb gddr3, Crucial M4 128 SSD,  2x Samsung 500 gig HDD (sata), TSSTcorp CDDVDW SH-224BB.