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, 2019-06-12 at 22:31 -0600, Chris Murphy wrote:
> 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

Thanks for the answer 
Correct  , but anaconda generate /etc/default/grub and GRUB comand-line 
in particularity and I'd like have a way to generate /etc/default/grub
again without run anaconda installer again ... .

All the magic that anaconda does , should be interesting reproduce inbash shell . 

Best regards,
 

> 
> -- 
> 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
-- 
Sérgio M. B.
_______________________________________________
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