Re: How to restore MBR on a separate /boot partition?

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

 



On 04/08/2013 09:06 AM, Dan Thurman wrote:
> Since I was unable to install F18, I would like
> to revert back to F17 that I have restored from
> backups, the following partitions:
>
> / (root)   /dev/sda10
> /boot      /dev/sda9
>
> What I have left to do is to restore the MBR
> on /dev/sda9 /boot partition.
>
> I have a separate MBR installed on /dev/sda
> drive which is the master MBR for multiboot
> OS, which is working fine.
>
> What steps can I use to accomplish this?
>
Are these the instructions I am looking for?

   1. Boot the system from an installation boot medium. (live CD/DVD/USB)
   2. Type linux rescue at the installation boot prompt to enter the
rescue environment.
   3. mkdir /mnt/sysimage
   4. mount /dev/sda10 /mnt/sysimage
   5. mount /dev/sda9 /mnt/sysimage/boot
   6. mount --bind /dev /mnt/sysimage/dev
   7. mount --bind /proc /mnt/sysimage/proc
   8. mount --bind /sys /mnt/sysimage/sys
   9. chroot /mnt/sysimage              # root partition.
  10. grub2-install /dev/sda9           # boot partition.
  11. grub2-mkconfig -o /boot/grub2/grub.cfg
  12. Review the /etc/grub.d/10_linux
  13. Reboot the system.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
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