Re: Recovering/Restoring Boot Partition

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

 



On 2/18/2014 17:46, Don Levey wrote:
> On 1/29/2014 13:59, Chris Murphy wrote:
>>
>> ...
>> Anyway, if you're for sure convinced it's corrupt then reformat the partition. 
>> Use blkid to get the new volume UUID to insert into /etc/fstab so it gets mounted 
>> when you next boot. And then mount root, boot, (boot/efi if this is a UEFI machine), and use:
>> mount -B /dev /mnt/dev    #where /mnt is where rootfs is mounted
>> mount -B /proc /mnt/proc
>> mount -B /sys /mnt/sys
>> chroot /mnt
>> yum reinstall kernel     #grubby will probably complain due to lack of grub.cfg
>> grub2-install /dev/sdX                       
>> grub2-mkconfig -o /boot/grub2/grub.cfg
>>
>>
> Chris,
> After several weeks of schedule hell, I was finally able to work on
> this.  The upshot is that the previously installed kernels weren't
> available (so I had to pull the more recent available one), I got some
> errors on the grub2 commands, and when rebooting into the new kernel I
> get several errors:
> 
> When entering GRUB:
> error: file `/grub2/locale/en.mo.gz' not found
> 
> After selecting kernel from the grub menu:
> error: invalid magic number.
> Loading initial ramdisk...
> error: you need to load the kernel first
> 
> These were similar errors to the ones I was getting when the problem
> first appeared - and yet now things should be installed into the boots
> directory on the / partition rather than the separate /boot partition
> that seems to have become unloadable.
> 
> Does this make any sense?
>  -Don
> 
> 
A gentle bump, in case anyone is able to answer this.
Am I better off just doing the mount -B, chroot, and then fedup to get
me to F20?

 -Don
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[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