Re: grub recovery

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

 





On 11/20/2016 02:15 PM, peterlesterhuis@xxxxxxxxxx wrote:
Hi,
After a Windows update my (dual boot) system won't boot into fedora anymore.
Somehow the grub bootloader doesn' t start.

After booting this is what I see:

/Minimal Bash-like line editing is supported. For the first word TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.

grub>_/

When I issue the command "exit" the Windows bootloader pops up.

I googled on this subject, but found many completely different answers.
I would appreciate any suggestion. How can I recover my system?
The Solution:
01. Boot a live fedora cd or dvd
02. mount your on-disk  fedora linux on .... say /fedora, like so:
      mkdir /fedora
mount /dev/sd?? /fedora # where ?? is the disk and partition where your fedora is installed.
03. tar cf - dev   | tar -C /fedora -xpvf -
04. chroot /fedora
05. grub2-install --recheck  /dev/sd??
06. grub2-mkconfig -o /etc/grub2.cfg

When the command (at point 8) returns, then
07. cd /dev
08. rm -rf *
Why? because /dev/  is populated  dynamically at boot time.

Let the list know how it went.
_______________________________________________
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