Friday, June 7, 2019

[fedora-arm] Re: Moving root fs to sata

Le ven. 7 juin 2019 à 17:24, Steven A. Falco <stevenfalco@gmail.com> a écrit :
>
> I have a wandboard quad, and I'd like to move the root filesystem to a sata drive. I have the drive connected and formatted, and I copied all of "/" to a partition on the sata drive.
>
> Now the question is "where do I need to change the UUID to match that of the new partition".
>
> I know I need to change /etc/fstab, /boot/extlinux/extlinux.conf and perhaps /boot/grub/grub.conf, but do I also have to regenerate the initramfs images, and if so, what command would I use so they contain the correct UUID and drivers?
Hello,

You do not need to regen the initramfs for the UUID, but more to have
the appropriate sata driver (unless you already have a generic
initramfs, which is not the default IIRC).

Unless you really want to re-use an existing installation, I would
recommend to xzcat the image you want on sata from another host.
You only need to have the bootloader on the mmc for the wanboard,
(modern) u-boot can boot to sata directly even for /boot.

--
-

Nicolas (kwizart)
_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org

No comments:

Post a Comment