Find the answer to your Linux question:
Results 1 to 8 of 8
I installed Kubuntu 10.04-2 on a small hard drive, its in my computer along with my large hard drive which is devoted to Win XP. The Kubuntu worked fine for ...
  1. #1
    Just Joined!
    Join Date
    Jun 2011
    Posts
    2

    GRUB need to remove from Windows hard drive

    I installed Kubuntu 10.04-2 on a small hard drive, its in my computer along with my large hard drive which is devoted to Win XP. The Kubuntu worked fine for a while, then somehow the GRUB got transferred onto my Windows hard drive.

    I'd like to get the GRUB off my Windows hard drive and have that boot via its usual Windows method.

    I reformatted my small / Kubuntu hard drive, that did not help. In fact this made things worse, now there is no Kubuntu in my computer, so now I can't get into either Windows or Kubuntu.

    Please help. How can I get rid of the GRUB AND have Windows boot up normally?

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Hello and Welcome.
    Do you have your Windows installation cd? Not the recovery disks.
    If you do, you can use that, just type "R" at the prompt for repair, then type "fixmbr"
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Just Joined!
    Join Date
    Jun 2011
    Posts
    2

    GRUB needs to be removed from Windows hard drive

    Many thanks for your quick and accurate reply. I've done this and now things are working as they should.
    Again, many thanks
    Dan

  4. #4
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Glad you got it all sorted out, best of luck.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  5. #5
    Just Joined!
    Join Date
    Feb 2007
    Location
    Cobleskill, NY
    Posts
    51
    It's situations like this that has me copying the mbr and boot sectors using dd so if they are overwritten I can copy them back.

    as root
    for mbr
    dd if=/dev/sda of=/root/sda-backup count=1
    With XP I'd copy it to C:\GRUB-mbr
    then add a line to boot.ini
    C:\GRUB-mbr="GRUB menu"
    So that if XP replaced the mbr I could still boot into Linux and make repairs.

    for boot sector
    dd if=/dev/sda# of=/root/sda#-backup count=1
    where # is the partition number.

  6. #6
    Just Joined! calix's Avatar
    Join Date
    Apr 2006
    Posts
    8
    It's also good practice to add the byte size to the dd command

    dd if=/dev/sda of=/root/sda-backup bs=512 count=1

  7. #7
    Just Joined!
    Join Date
    Feb 2007
    Location
    Cobleskill, NY
    Posts
    51
    I didn't add the byte size since the default is 512.

  8. #8
    Just Joined!
    Join Date
    Feb 2007
    Location
    Cobleskill, NY
    Posts
    51
    Quote Originally Posted by ProfTheory
    I didn't add the byte size since the default is 512.
    I should have said block size.

Posting Permissions

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