Page 7 of 7 FirstFirst ... 567
Results 61 to 68 of 68

Thread: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

  1. #61
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    You can just restore the XP boot loader with fixMBR.
    How to restore the Ubuntu/XP/Vista/7 bootloader (Updated for Ubuntu 9.10)
    http://ubuntuforums.org/showthread.php?t=1014708

    Or if you cannot find XP cd, you can install lilo's boot loader which works just like windows in looking for a boot partition and jumping to that partition to boot.

    Restore basic windows boot loader - universe enabled
    Simply open Synaptic and Settings > Repositories and tick the box against the Universe repo in the Ubuntu Software tab.
    sudo apt-get install lilo
    sudo lilo -M /dev/sda mbr
    May show error messages about the rest of lilo missing, ignore, we just want MBR with bootloader.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  2. #62
    Join Date
    Feb 2006
    Beans
    47

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    I corrupted my XP partition when experimenting with Ubuntu 11 and was able to bring XP back with these commands from live CD:

    sudo apt-get install mbr
    sudo install-mbr -i n -p D -t 0 /dev/sda

    but after further manipulation, I screwed it up, and the fix failed --
    first -i was invalid, when I removed it,
    error came up 'no 0 directory'
    upon removing that,
    '/dev/sda no directory'

    other permutations come up with error 'missing destitnation file operand...'

    Have I messed it up beyond repair?

    I can see the partition from Prtition Commander
    but have not been able to make a bootable 'fixmbr' disk to work either.
    Is XP gone now?
    Also from live cd, fdisk -l has no output
    Last edited by davedaveh; March 2nd, 2012 at 03:49 PM. Reason: afterthought

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

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    I prefer lilo over mbr.

    You can also run this:

    Boot Repair:
    https://help.ubuntu.com/community/Boot-Repair
    You can repair many boot issues with this or post the link to a run of boot info script so we can see your exact configuration.

    If you cannot fix it, run the boot info script from Boot-Repair, but start a new thread with your post of the boot script link. It gets too confusing to have multiple boot scripts in one thread.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  4. #64
    Join Date
    May 2007
    Location
    SoCal
    Beans
    306

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    Ouch, ubuntu 12.04 LTS final beta? There is no ms-sys in the repos. I even had to apt-get install aptitude... 1st time ever. BUT! If google brought you here like it did me, try this: https://help.ubuntu.com/community/Boot-Repair
    Kinda lost my love for ubuntu, more changey than Vista or Win8
    So LMDE it is for me until there's a way to update my distro and not
    have everything disappear.

  5. #65
    Join Date
    May 2013
    Beans
    3

    Post Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    I was dual booting Windows 8 and BackTrack5 but I corrupted the mbr using easyBCD. So I tried this..

    sudo apt-get install mbrsudo install-mbr -i n -p D -t 0 /dev/sda1
    /dev/sda1 was the primary partition in my system which is "System Reserved" for Windows.When I rebooted my system It got stuck at the boot logo "HP" and BIOS won't show up even when I pressed the "ESC" to pause start up..What could be the reason for BIOS not showing up? Can it be fixed??

  6. #66
    Join Date
    May 2007
    Location
    SoCal
    Beans
    306

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    You might want to post a new question on askubuntu.com and be sure to give as many details as possible. There or serverfault maybe.
    Kinda lost my love for ubuntu, more changey than Vista or Win8
    So LMDE it is for me until there's a way to update my distro and not
    have everything disappear.

  7. #67
    Join Date
    May 2013
    Beans
    3

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD


  8. #68
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: HOW TO: Recover Windows MBR using Ubuntu LIVE CD

    I'm closing this very old thread. Time has moved on, and the only utility described in the OP has long been unavailable from the repositories. Also, the increasing number of uefi systems will mean that this thread could be misleading to inexperienced users.

    Those needing to repair the Windows bootloader in legacy BIOS systems may find this community documentation useful:

    https://help.ubuntu.com/community/Re...ta/7Bootloader

    If anyone needs specific help, please start a new thread in an appropriate section of the forum.

    Thread closed.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

Page 7 of 7 FirstFirst ... 567

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
  •