LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-02-2007, 07:19 AM   #1
Ecthelion
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
Unhappy Getting rid of GRUB...




I recently installed Ubuntu v6.10 on my Dad's PC. I set it up for Dual Boot with Windows XP, as I was only trying it out and needed to revert to XP when I install Ubuntu on my new PC.

Now, the problem: I resized the Linux partition using Paragon Partition Manager (on Windows) and then shut down the computer. Since then, GRUB repeats an endless repetition of the word whenever I start the machine.

In response to this, (and because I didn't know at the time that GRUB is installed on the MBR of the Windows Partition) I completely deleted the Linux partitions, from within the live CD of Ubuntu.

I realise that the easiest way of resetting the MBR is to overwrite it from a Windows XP home CD, but because the computer was factory built it came without one, so I can't do that.

Wait, there's more... From previous research on the net I have found that there is a command line tool that can be run from DOS (called something like fdisk, run with the parameter "/MBR" or something). Can I do this with XP? If I was able to put this tool on a floppy would that be able to repair the boot record on the hard disk?

Please help!
 
Old 03-02-2007, 07:31 AM   #2
elsheikhmh
Member
 
Registered: Aug 2004
Location: Cairo, Egypt
Distribution: Slackware
Posts: 101

Rep: Reputation: 15
AFAIK you cannot do fdisk /mbr from an NT-based OS. Get a Win98 startup disk and do
Code:
fdisk /mbr

Last edited by elsheikhmh; 03-02-2007 at 07:32 AM.
 
Old 03-02-2007, 07:40 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
This looks promising. I think the tools are on this CD. Also note the link to fix mbr--top left, under ads by Google.

http://homepage.ntlworld.com/hiren.thanki/bootcd.html
 
Old 03-02-2007, 07:46 AM   #4
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 51
If on a XP cd, boot with it, enter recovery mode, give 'fixmbr' at the prompt and reboot.
 
Old 03-02-2007, 10:44 AM   #5
Ecthelion
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Smile

Thanks, that's brilliant. All is repaired. I ran the Windows 98 start-up floppy and fdisk /MBR. Lucky I still have an old PC running Win 98 (amongst other things...) with which I created it.
 
  


Reply

Tags
grub


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting rid of 'Grub' bigoli MEPIS 3 06-12-2005 06:01 PM
How to get rid of GRUB ? nancy25dec Ubuntu 2 05-29-2005 05:21 PM
Getting grub to get rid of itself ? anjanesh Linux - Newbie 1 02-16-2005 07:26 AM
Can't get rid of GRUB aaronfg Linux - Newbie 2 12-07-2004 11:47 AM
How do I get rid of GRUB? Amerist Linux - Software 2 04-13-2002 08:49 AM


All times are GMT -5. The time now is 03:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration