You are not logged in.

#1 2018-08-16 20:24:46

Skunky
Member
Registered: 2018-01-25
Posts: 230

[Solved] Switching to SSD

Hello everyone, i'm currently using Arch Linux with Windows 8.1 (UEFI dual boot) and Windows is running on SSD while Arch is on the HDD, i would like to resize the SSD by 30GB and use it for Arch (i would like to move boot files only to SSD and keep the /home directory to HDD) so that should be a partial disk clone i guess?If it is possible how can i achieve that? Sorry for my bad english it is not my native language.
Thanks in advance big_smile

Last edited by Skunky (2018-08-19 08:14:18)

Offline

#2 2018-08-17 00:21:36

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [Solved] Switching to SSD

Create and format a partition on the SSD, and copy the installation with rsync: https://wiki.archlinux.org/index.php/Rs … tem_backup

Remember to make sure your EFI system partition, and /boot are set up correctly on the SSD, and fix at least your bootloader configuration and fstab according to the new partitions.

Offline

#3 2018-08-17 06:49:20

Skunky
Member
Registered: 2018-01-25
Posts: 230

Re: [Solved] Switching to SSD

I forgot to say my Arch partition is using 118GB that's why i wanna move boot files only to SSD thanks for your help much appreciated (EDIT: should i just clean install?)

Last edited by Skunky (2018-08-17 08:30:22)

Offline

#4 2018-08-18 18:07:53

philipW
Member
Registered: 2017-03-21
Posts: 145

Re: [Solved] Switching to SSD

If i where you i would boot into windows and resize your windows partition with windows partition manager. you can resize windows with parted or other linux tools but i think its best to use windows tools when resizing a windows system.
Then you boot into an arch installation usb and mount your arch partition and chroot into it.
Cd to / and use this tar command to backup your system:

tar -cvpzf backup.tar.gz --exclude=/backup.tar.gz --one-file-system /

When its done you will have a tar file with your entire system.
Leave the chroot environment and make a new partition on the free space you created on your ssd.
Mount that partition and copy your backup.tar.gz to it.
Make a folder on the empty partition called home.
Make your home partition on your hdd and mounted on the home folder you just created.
Your system should be backed up on on your new ssd partition in backup.tar.gz
Untar your backup with:

tar -xzf backup.tar.gz

Chroot into the new system on your ssd and install grub.
Then you should have the setup you want.

Last edited by philipW (2018-08-18 18:08:21)

Offline

#5 2018-08-19 08:12:42

Skunky
Member
Registered: 2018-01-25
Posts: 230

Re: [Solved] Switching to SSD

Hi philipW thanks for the answer, i already performed a clean install, still good to know it is possible to do this

Offline

Board footer

Powered by FluxBB