Find the answer to your Linux question:
Results 1 to 6 of 6
Recently I brought my friends laptop at home and installed Linux on external HDD. By mistake I have installed boot loader on the internal HDD of the laptop with all ...
  1. #1
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493

    [SOLVED] recovering Windows MBR through ubuntu live cd

    Recently I brought my friends laptop at home and installed Linux on external HDD. By mistake I have installed boot loader on the internal HDD of the laptop with all the grub information on the external HDD. So windows on the laptop doesn't boot unless I attach the external HDD to the laptop and choose windows from the grub. Now the problem is that I have to return this guy he's laptop back , He's totally non technical and would be shocked to see the Grub error
    I googled some pages and found this link How to fix your Windows MBR with an Ubuntu liveCD|ArsGeek
    But when I do as it say's I get this error
    Code:
    vickey@vickey-laptop:~$ sudo apt-get install ms-sys
    [sudo] password for vickey: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Couldn't find package ms-sys
    vickey@vickey-laptop:~$
    SO the problem is how do I reinstall the MBR through linux as I don't have the windows recovery disk with me.
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    You can use SuperGRUB CD/Floppy/USB to re-install Windows Boot Loader.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    I only want to put Windows on my friends laptop i.e recover the orignal MBR which I have messed up. Can that be done with it
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  4. #4
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    Man I m stuck !!
    I selected the option of windows from super grub and then fix mbr but it just shows some dd line and hangs there.
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    I selected the option of windows from super grub and then fix mbr but it just shows some dd line and hangs there.
    Could you post exact error message here?

    Do you have Windows Installation CD of any version? Windows 98 or XP?
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Linux User vickey_20's Avatar
    Join Date
    Mar 2009
    Location
    Mumbai, India
    Posts
    493
    bingo the ms-sys package is available on the this website
    Debian -- Package Download Selection -- ms-sys_2.1.0-1_i386.deb
    I downloaded the packege on the ubuntu live cd and gave this command
    sudo ms-sys -m /dev/sda and it worked like charm now wi(n)dow boots properly.
    Thanks for the help anyway.
    Only if I could understand the man pages
    Registered Linux user #492640
    OS: RHEL4,5 ,RH 9,Ubuntu

Posting Permissions

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