You are not logged in.

#1 2018-01-14 23:00:32

iboyperson
Member
Registered: 2017-11-02
Posts: 7

Moving Root Partition

I recently got a SSD and am trying to move my root partition over to the SSD. So far i have used a Live CD with GParted to copy the root partition over to the SSD anf change the copied partitons UUID. I then booted back into my arch and updated the UUID in /etc/fstab. Yet when I reboot and check GParted on my Arch install the old root is still being mounted.

Offline

#2 2018-01-14 23:05:07

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Moving Root Partition

Did you change the root= Kernel_parameter of the system's bootloader/boot manager?

Last edited by loqs (2018-01-14 23:05:30)

Offline

#3 2018-01-14 23:23:28

iboyperson
Member
Registered: 2017-11-02
Posts: 7

Re: Moving Root Partition

loqs wrote:

Did you change the root= Kernel_parameter of the system's bootloader/boot manager?

I have not however I don't see this option under /etc/defaults/grub

Offline

#4 2018-01-14 23:31:32

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: Moving Root Partition

It's a kernel parameter so you can add it to GRUB_CMDLINE_LINUX. However, looks like GRUB does that automagically using grub-mkconfig. See https://wiki.archlinux.org/index.php/GR … ation_file

EDIT/PS: So you'll have to chroot into the new root first, if I'm reading it correctly

Last edited by Steef435 (2018-01-14 23:32:22)

Offline

#5 2018-01-14 23:32:11

loqs
Member
Registered: 2014-03-06
Posts: 19,113

Re: Moving Root Partition

Check /boot/grub/grub.cfg it should reference the old UUID.  If you boot the system from the new root I believe grub-mkconfig should update the UUID when you regenerate /boot/grub/grub.cfg

Offline

Board footer

Powered by FluxBB