Windows 10 update ate Fedora 25 boot info: EFI. LVM, LUKS, oh, my!

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

 



Booted into Windows 10 to start the annual TurboTax stuff, and it
asked to do an update, as usual. It turned out the "Features Update"
was an entirely new version of Windows 10, Fall Creator's Update
update, or something.

Rebooting to go back into Fedora 25, and the boot menu is gone, replaced with:

grub>

Trying to follow the clues at:

https://fedoraproject.org/wiki/GRUB_2#Encountering_the_dreaded_GRUB_2_boot_prompt

(This is a Dell Inspiron 5558, i5, 12 Gb RAM, 1TB HDD)

I've done the following: determined the boot files are on (hd1,gpt6),
booted an F25 live USB and found the LVM listed below. Fedora25 is
installed in an LUKS-encrypted partition, and is managed with LVM,
volgroup is 'fedora' and root is in LV root.

I'm guessing on a couple of these settings and would welcome
suggestions. Please forgive typos.

grub>insmod xfs
grub>insmod lvm
grub>set root=(dev/fedora/root)
grub>linuxefi (hd1,gpt6)/vmlinuz-4.13.16-100.fc255.x86_64
root=/dev/fedora/root ro quiet rhgb
rd.luks.uuid=luks-95ed05-2b2b-40ef-8eca-95ca54cf22a7 rd.lvm.lv=root
grub>initrdefi (hd1,gpt6)/initramfs-4.13.16-100.fc25.x86_64.img
grub>boot

I see the LUKS unlock dialog and type the proper password, it chugs
along, and after a few I am back at the login screen. Whew!

So, I am back up and running. Now, how can I preserve these settings
so I never have to type these things again?

The fedoraproject page above suggests:

grub2-mkconfig -o /boot/grub2/grub.cfg

and

grub2-install --boot-directory=/boot /dev/sda

Finally, my question: are these last two commands correct with all the
variations of EFI, GPT, LVM, LUKS etc that is my configration? After
all this, I'd really hate to write to the wrong place!




-- 
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[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