Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
Create MBR on a USB stick for booting F18 on /dev/sda3
It is a dual boot machine with F18 installed on /dev/sda3. In order to boot F18, I have created ( during F18 installation ) an MBR on a USB stick. So now when I insert the USB stick, my laptop boots F18 system ( otherwise it boots Win7 ). MBR on HDD boots only Win7 and I do not want to touch or modify it. I have a good reason for that, which I do not want to discuss here.
Yesterday I lost my USB stick. Without USB stick I can't boot F18...
How can I (re)create MBR on another USB stick ( without having to reinstall F18 ) that will point to /dev/sda3 as the boot partition?
Last edited by blnl; 06-27-2013 at 12:20 PM.Fedora22.GNOME@Dell_Latitude_E7440
- Join Date
- Oct 2007
- Tucson AZ
Use the Fedora installation media to install Grub to the mbr of the new flash drive. First, determine the device name of the new flash using the fdisk command. Then as root run from a terminal: grub-install /dev/sd?, replacing the ? with the actual device, sdb, sdc, whatever. You can then mount the flash and create a correct menuentry in the grub.cfg file pointing to sda3. If you have a separate boot partition, you would need to point to it rather than the system partition.
I have followed instructions form this web page:
How to Reinstall Grub Onto Your MBR
The exact procedure is:
1) Use gparted to create NTFS partition on the USB stick (and make it bootable)
2) Start F18 Live DVD
mkdir /mnt/f18sys mount /dev/sda3 /mnt/f18sys grub2-install --root-directory=/mnt/f18sys /dev/sdbFedora22.GNOME@Dell_Latitude_E7440