Re: How to change root "/" partition?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2024-12-01 23.34, Felix Miata wrote:
Robin Laing composed on 2024-12-01 22:08 (UTC-0700):

On upgrade to Fedora 41, I got stuck due to lack of space on "/"
partition.  I had an unused partition that was more than double the size
of the present root partition.

I rsyncd the data across to the new partition
	sudo rsync -avPAHXx --numeric-ids --exclude="lost+found"
-exclude="home" --exclude="boot" / /mnt/TEMP/

The above line was recommended on a web page.

I made sure the partition was in the crypttab file.

I did a test mount of the drive using fstab into the /mnt/TEMP directory.

I changed the setting in /etc/fstab to the new partition and rebooted.
Failed.

I did other stuff and finally changed /etc/default/grub to point to the
new partition and remade the grub.cfg file.

System boots into basic.target and freezes.

This is still in f39.

There must be an "official" procedure to do this.

Somewhere there is a setting that points to the present root drive that
I cannot change.

If there is no official way, I do know that there is a suggestion to
just change the UUID's for the drives which I think is not the best option.

Try including rd.hostonly=0 on kernel cmdline in bootloader. If that doesn't get
you going, try it plus rd.auto=1 or rd.auto along with it.


Tried it.  Not much luck.  Thanks for the suggestions though.

Kept getting stuck at dev-disk-by\x2duuid uuid(of the boot disk) Left it for over an hour and nothing changed.

Got back to a booting system and then tried changing the UUIDs and that failed as well.

Finally reverted everything back to the original setting and decided to just move the var directory to its own partition. Wasn't easy either.

Issues with moving var due to Selinux.

Finally got a working system and started the upgrade to F41 but the screen went blank during the process and the HDD light is flashing like crazy. Not going to touch anything until the morning as I suspect is has to do with both xorg and nvidia.

From what I learned today, with Selinux and luks encryption, there is no easy way to do changes on a system. Even systemd flagged me on changes to the fstab file.

When I get some spare time, I will just install and configure a new drive. If I had started that at the beginning, I would have completed by now. Still learned many things though.

Robin

--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux