You are not logged in.

#1 2015-03-05 01:25:45

NagatoPain
Banned
From: Hangzhou
Registered: 2012-09-10
Posts: 5
Website

[SOLVED] How to switch to SSD from HDD *better*?

I have one new SSD drive (256G PLEXTOR M6 Pro), and want to switch to it from HDD.

I already have one running Arch Linux on HDD, and empty fresh SSD.

Some ideas about the solutions:
1. copy-move current HDD Arch Linux to SSD.
   - this need to keep Arch linux complete in copy progress.
   - keep the new SSD Arch linux is same, and can be boot from it.
   - is there something I need to configure after switch? like /etc/fstab ? GRUB ?

2. install a NEW Arch to SSD.
   - Can I install Arch Linux to SSD in current running HDD Arch Linux? If can, then HOW?

I want to create two parts in SSD:
1. one for Linux system.
2. one for Other system (like windows, another Linux distribution?)

The plan about my SSD and HDD.
I hope to use SSD as system directory like /, /usr etc, (except /home)
And use HDD as /home directory.(UPDATE: keep my old arch linux)

If you have any better solution, please tell me.

Last edited by NagatoPain (2015-04-29 06:02:40)

Offline

#2 2015-03-05 01:54:08

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] How to switch to SSD from HDD *better*?

Partition the SSD to suit your needs, use liveCD / liveUSB to install Arch onto the SSD, copy the configs (pacman.conf etc.).
It would be best to repartition your HDD as it will have only your /home, not the whole OS.

Offline

#3 2015-03-05 09:02:39

Xabre
Member
From: Serbia
Registered: 2009-03-19
Posts: 755

Re: [SOLVED] How to switch to SSD from HDD *better*?

Or you can just use cp -a to copy your existing installation to a new disk with all attributes/permissions preserved and just adjust few files (mostly fstab).

Offline

#4 2015-03-05 09:08:43

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: [SOLVED] How to switch to SSD from HDD *better*?

NagatoPain wrote:

2. install a NEW Arch to SSD.
   - Can I install Arch Linux to SSD in current running HDD Arch Linux? If can, then HOW?

Just follow the Beginner's Guide but make sure all the operations are being applied to the attached drive rather than your internal HDD; you can treat your existing Arch system as a live ISO with a GUI.

If you have a slow internet connection you can use `pacstrap` with the "-c" flag to install the packages from the pacman cache in your extant system:

# pacstrap -c /mnt base <other packages>

Jin, Jîyan, Azadî

Offline

#5 2015-03-05 09:33:21

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,696
Website

Re: [SOLVED] How to switch to SSD from HDD *better*?

Just partition it and rsync over that you want. Chroot in and install your boot loader, rebuild the boot image, and adjust the fstab if need be.

Last edited by graysky (2015-03-05 09:34:06)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#6 2015-03-05 09:38:59

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 390
Website

Re: [SOLVED] How to switch to SSD from HDD *better*?

If the hdd is already correctly parititoned, just create similar (same size or bigger ) partitions on SDD, then use dd to copy the partitions.
Modify /etc/fstab accordingly.
Reinstall bootloader for correct partition containing boot.
Check everything allright, then extend your home partition on your whole hdd.

Last edited by GloW_on_dub (2015-03-05 09:40:56)

Offline

#7 2015-03-05 12:44:31

lightstream
Member
From: Britain
Registered: 2011-10-30
Posts: 69

Re: [SOLVED] How to switch to SSD from HDD *better*?

Here's how I did it with rsync:

http://www.rdeeson.com/weblog/157/movin … -rsync.htm

Using rsync should be quicker than dd as it only copies actual files rather than doing a bit-by-bit copy. You can also exclude certain directories, if for instance you're going to keep the HDD in the system with large files on (such as movies)

Offline

#8 2015-03-05 16:01:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] How to switch to SSD from HDD *better*?

Offline

#9 2015-03-08 03:51:51

NagatoPain
Banned
From: Hangzhou
Registered: 2012-09-10
Posts: 5
Website

Re: [SOLVED] How to switch to SSD from HDD *better*?

This is great, seems this is not very diffcult.

I'm going to try tonight.

And thanks, guys.

Offline

Board footer

Powered by FluxBB