After Fedora reinstall damaged /dev/sda1 /boot or mbr or efi - Page 2
FedoraForum.org - Fedora Support Forums and Community
Page 2 of 2 FirstFirst 1 2
Results 16 to 18 of 18
  1. #16
    Join Date
    Oct 2011
    Posts
    1,897

    Re: After Fedora reinstall damaged /dev/sda1 /boot or mbr or efi

    A guide on how you might be able to pull this off using existing Ubuntu install found on the drive and booting it using Live media: https://bugs.launchpad.net/ubuntu/+s...7/comments/554

    In short you could:
    1. Use Live media to boot installation from the drive
    2. Install the kernel with a fix to install found on the drive
    3. Reboot and again use Live media to boot into install found on the drive but this time choose to boot the kernel with a fix

  2. #17
    Join Date
    Feb 2018
    Location
    to be changed
    Posts
    11

    Re: After Fedora reinstall damaged /dev/sda1 /boot or mbr or efi

    Ok, tried Windows recovery USB, none booting-repair helped, also command prompt
    bootrec /fixMbr, bootrec /fixBoot
    ...but I haven't reinstalled whole windows so maybe do this?

    this is the structure after adding windows efi file and ubuntu efi file in ubuntu 17.10.1 live mode:
    Code:
    sudo efibootmgr -c -d /dev/sda -p 1 -L "Ubuntu" -l \EFI\ubuntu\shimx64.efi
    Code:
    sudo efibootmgr -c -d /dev/sda -p 1 -L "Windows" -l \EFI\Microsoft\Boot\bootmgfw.efi
    then...
    Code:
    efibootmgr -v
    BootCurrent: 0009
    Timeout: 1 seconds
    BootOrder: 0001,0000,0009,0007,0008
    Boot0000* Ubuntu	HD(1,GPT,f874cbe0-f4e9-4972-8fac-6abf2eea49d7,0x800,0x32000)/File(EFIubuntushimx64.efi)
    Boot0001* Windows	HD(1,GPT,f874cbe0-f4e9-4972-8fac-6abf2eea49d7,0x800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)
    Boot0007* Hard Drive 	BBS(HD,,0x0)..GO..NO........i.M.D.O. .U.S.B. .2...0. .5...0.0....................A.............................6..Gd-.;.A..MQ..L.M.D.O. .U.S.B. .2...0. .5...0.0........BO
    Boot0008* CD/DVD Drive 	BBS(CDROM,,0x0)..GO..NO........o.H.L.-.D.T.-.S.T. .D.V.D.R.A.M. .G.U.7.1.N....................A...........................>..Gd-.;.A..MQ..L.Z.K.D.B.J.7.2.F.1.7. .3. . . . . . . . ........BO
    Boot0009* UEFI: MDO USB 2.0 5.00	PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(1,0)/HD(1,GPT,1ba7e9d7-5953-4ef3-8b09-f83c1fec0ffe,0x800,0x3d37df)..BO
    ubuntu@ubuntu:~$
    maybe it's about how hard drive (not USB listed as hard drive) filestystem is now assigned before reboot? It's something strange happens now with this not seeing hard drive as filesystem to choose while to be detected physically. Hard drive doesn't appear with all factory info, model, etc...
    Maybe I have to make entirely new partition table? but what then with windows recovery partitions added by factory Asus? I'm out from Ideas
    Last edited by pawel; 2nd March 2018 at 05:34 PM.

  3. #18
    Join Date
    Feb 2018
    Location
    to be changed
    Posts
    11

    Re: After Fedora reinstall damaged /dev/sda1 /boot or mbr or efi

    I will further check this guideline but it seems little bit complicated, the overal grub prompt...but...hmm...found something I guess to the point:
    https://www.gnu.org/software/grub/ma...tml#Filesystem how to set devices and filesystems to be seen by bios...so there's some path for now to follow probably but the grub2 guideline itself seems complicated, will try anyway
    Last edited by pawel; 2nd March 2018 at 07:11 PM.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. crash sda1 on boot
    By nohup in forum Using Fedora
    Replies: 1
    Last Post: 23rd September 2016, 04:21 PM
  2. Dual DOS / XP boot damaged by Fedora 14 installation
    By Engineeringtech in forum Installation, Upgrades and Live Media
    Replies: 23
    Last Post: 9th March 2011, 06:17 AM
  3. reinstall fedora 12 in dual boot
    By kkshethin in forum Installation, Upgrades and Live Media
    Replies: 2
    Last Post: 21st May 2010, 10:17 AM
  4. How Reinstall XP Without Losing grub/fedora boot?
    By riffin-rich in forum Using Fedora
    Replies: 7
    Last Post: 19th July 2007, 02:00 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •