Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Can't repair Master Boot record with boot-repair tool. Xubuntu/Windows 7

  1. #1
    Join Date
    Dec 2017
    Beans
    33

    Exclamation Can't repair Master Boot record with boot-repair tool. Xubuntu/Windows 7

    Hi Guys,

    I am unable to boot into any of my two operating systems, my 1st Partition is Xubuntu encrypted with Luks and my 2nd partition is windows 7 Pro.

    When I run a live usb of ubuntu 18.04 LTS and then run boot-repair I get the following message

    You may want to retry after decrypting your partitions. (https://help.ubuntu.com/community/En...ivateDirectory)
    Do you want to continue?


    I click on no and the operation is aborted, if I click yes and I continue the repair it doesn't repair my boot-records properly and I am unable to boot into either partition and no grub menu appears, all I get is a windows 7 repair window which never repairs the master boot record.

    Thank you for having a look

  2. #2
    Join Date
    Dec 2017
    Beans
    33

    Re: Can't repair Master Boot record with boot-repair tool. Xubuntu/Windows 7


  3. #3
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Can't repair Master Boot record with boot-repair tool. Xubuntu/Windows 7

    To repair or even just run report, Boot-Repair needs to see your system.
    So if encrypted you have to mount and decrypt your install.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #4
    Join Date
    Dec 2017
    Beans
    33

    Re: Can't repair Master Boot record with boot-repair tool. Xubuntu/Windows 7

    Hi oldfred,

    Thanks for replying to my post, Im unsure which commands I need to type in terminal to mount and decrypt my install

    Can you provide assistance ?

    thank you

  5. #5
    Join Date
    Dec 2017
    Beans
    33

    Re: Can't repair Master Boot record with boot-repair tool. Xubuntu/Windows 7

    is there any one else that can help me ?

  6. #6
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Can't repair Master Boot record with boot-repair tool. Xubuntu/Windows 7

    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  7. #7
    Join Date
    Dec 2017
    Beans
    33

    Re: Can't repair Master Boot record with boot-repair tool. Xubuntu/Windows 7

    Code:
    Setup ~ Desktop (Live) CD, Adding the tools to manage encrypted partitions
    
     Resizing  an encrypted partition must be performed from a live CD and support for  encryption and LVM are not included on the live CD. 
    1. Boot the live (Desktop) CD and install lvm2 and cryptsetup. 
    sudo apt-get update && sudo apt-get install lvm2 cryptsetup2. Load the cryptsetup module. 
    sudo modprobe dm-crypt3. Decrypt your file system. 
    sudo cryptsetup luksOpen /dev/sda5 crypt14. Get the live CD to recognize (activate) your LVM. 
    sudo vgscan --mknodes
    sudo vgchange -ay


    "step 3"
    sudo cryptsetup luksOpen /dev/sda5 crypt14. Get the live CD to recognize (activate) your LVM.

    After step 3 I enter my password and I get the following message "Cannot use device /dev/sda5 which is in use (already mapped or mounted)."

    im not sure how to proceed from here

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Can't repair Master Boot record with boot-repair tool. Xubuntu/Windows 7

    Is sda5 your encrypted partition?
    those look like older instrucions.
    Did you try the first link first?
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9
    Join Date
    Dec 2017
    Beans
    33

    Re: Can't repair Master Boot record with boot-repair tool. Xubuntu/Windows 7

    im using the 1st link you posted with instructions

    HTML Code:
    sudo apt-get install lvm2   #This step may or may not be required.
    sudo pvscan                 #Use this to verify your LVM partition(s) is/are detected.
    sudo vgscan                 #Scans for LVM Volume Group(s)
    sudo vgchange -ay           #Activates LVM Volume Group(s)
    sudo lvscan                 #Scans for available Logical Volumes
    sudo mount /dev/YourVolGroup00/YourLogVol00 /YourMountPoint
    HTML Code:
    ubuntu@ubuntu:~$ sudo apt-get install lvm2
    Reading package lists... Done
    Building dependency tree   
    
    ubuntu@ubuntu:~$ sudo lvscan
    ubuntu@ubuntu:~$ 
    
        
    
    sudo mount /dev/YourVolGroup00/YourLogVol00 /YourMountPoint 
    
    I m stuck here I dont know what my volgroup is or my yourlogvol00 or /yourmountpoint is
    
    Reading state information... Done
    lvm2 is already the newest version (2.02.176-4.1ubuntu3.18.04.2).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Code:
    ubuntu@ubuntu:~$ sudo pvscan
      No matching physical volumes found
    ubuntu@ubuntu:~$
    Code:
    ubuntu@ubuntu:~$ sudo vgscan 
      Reading volume groups from cache.
    ubuntu@ubuntu:~$ sudo vgchange -ay
    ubuntu@ubuntu:~$

  10. #10
    Join Date
    Dec 2017
    Beans
    33

    Re: Can't repair Master Boot record with boot-repair tool. Xubuntu/Windows 7

    https://pasteboard.co/IXBnxQH.png


    heres a link of my gparted setup oldfred thanks for your help

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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