Find the answer to your Linux question:
Results 1 to 5 of 5
I was dual booting windows XP and Debian and decided I wanted to try another distro. Without really thinking, I deleted my linux partitions and created new ones for the ...
  1. #1
    Linux Newbie
    Join Date
    Feb 2006
    Location
    Dover, DE
    Posts
    112

    How do I boot if I deleted GRUB?

    I was dual booting windows XP and Debian and decided I wanted to try another distro. Without really thinking, I deleted my linux partitions and created new ones for the next distro. I can't get around to installing the next distro for a while so now GRUB is gone so I can't boot into windows. My family will kill me. How do I fix the MBR so that it goes straight to the Windows bootloader? I don't have the WinXP CD, all I have are Linux LiveCDs.

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,086
    If you don't have the WinXP CD, you can use a Windows emergency boot disk. Just boot with it and type:

    fdisk /mbr
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    try something similar to this http://www.sorgonet.com/linux/grubrestore/

  4. #4
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,086
    Oh, and if you don't have a Windows boot disk, you can use a Knoppix Live-CD to do the same thing. Just boot the live-cd, go to a terminal and type:

    Code:
    sudo install-mbr /dev/hda
    Be sure to replace /dev/hda with your own drive device.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  5. #5
    Linux Newbie
    Join Date
    Feb 2006
    Location
    Dover, DE
    Posts
    112
    Thanks for the quick reply guys. I was awoken last night by my pissed off mother who needed to read an email in outlook express. So I used my bro's laptop to see if anyone had replied, found a Win98 boot disk of my dad's that was laying around his laptop booted into MS-DOS ran FDISK /MBR, and listo, my mom was able to find out the flight number of the people she needed to pick up at the airport (that's why she was so pissed)

Posting Permissions

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