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 ...
- 06-22-2011 #1Just 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?
- 06-22-2011 #2
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.
- 06-22-2011 #3Just 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
- 06-23-2011 #4
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.
- 06-23-2011 #5Just 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.
- 06-23-2011 #6
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
- 06-23-2011 #7Just Joined!
- Join Date
- Feb 2007
- Location
- Cobleskill, NY
- Posts
- 51
I didn't add the byte size since the default is 512.
- 06-26-2011 #8Just Joined!
- Join Date
- Feb 2007
- Location
- Cobleskill, NY
- Posts
- 51
I should have said block size.
Originally Posted by ProfTheory


Reply With Quote