You are not logged in.

#1 2020-08-30 08:08:46

GamerSenpaiUwU
Member
Registered: 2020-08-11
Posts: 13

Changing which disk is mounted as "/"(root)

I changed the UUID in fstab for the root disk, but it still mounts the old one.

Last edited by GamerSenpaiUwU (2020-08-30 08:11:44)

Offline

#2 2020-08-30 08:19:20

frostschutz
Member
Registered: 2013-11-15
Posts: 1,652

Re: Changing which disk is mounted as "/"(root)

`cat /proc/cmdline` to see kernel parameters, if the old device is specified here, you have to change kernel parameters in your bootloader configuration

it's also possible it's done by initramfs, in that case you have to re-generate initrd to reflect your new configuration

Offline

#3 2020-08-30 08:34:33

GamerSenpaiUwU
Member
Registered: 2020-08-11
Posts: 13

Re: Changing which disk is mounted as "/"(root)

I tried generating new grub config, but that didn't help at all, it added the entry with the correct disk, and there  was (roling) written next to it. But didn't mount the root on the correct one.

Offline

#4 2020-08-30 12:50:45

philo
Member
Registered: 2015-01-26
Posts: 275

Re: Changing which disk is mounted as "/"(root)

What is the output of

cat /etc/fstab

Fstab is just a text fille which you can edit (with care). The wiki and man fstab contain useful information on the subject.

Last edited by philo (2020-08-30 18:33:30)

Offline

Board footer

Powered by FluxBB