Re: how /etc/default/grub was generated on a clean install of F30 server with boot.iso

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

 



On Wed, Jun 12, 2019 at 7:27 PM Sérgio Basto <sergio@xxxxxxxxxx> wrote:
>
> Hi,
> The F30 server with boot.iso  made a install of Fedora with partitions
> on xfs and we can't shrink it , So I had to dump and restore the
> content , and I changed disk geometry , for ext4 with 3 primary
> partitions (without LVM) .
>
> But /etc/default/grub have command line with something like
> resume=/dev/mapper/fedora-swap .
>
> How I regenerate the /etc/default/grub to comand-line use the new swap
> partition and adjust other commands (like LVM), etc ?

resume=UUID=<swapuuid that you get with blkid>

So you use that instead of resume/dev/mapper/fedora-swap
And you can remove all the rd.lvm related stuff. Then grub2-mkconfig
like normal. That will stuff it where it really goes, starting with
Fedora 30, which is in the grubenv


-- 
Chris Murphy
_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/test@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux