grub lost after re-installing xp on xp partition

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help

grub lost after re-installing xp on xp partition

Postby tony.sankey on Tue Feb 10, 2009 12:32 pm

As a complete newcomer to LinuxMint-6, I was thrilled to set up a dual boot (XP/LinuxMint-6) system, and was nicely finding my way around Linux. This morning I did a re-installation of XP Pro on its partition, and was horrified to find that the grub had disappeared on bootup to select the OS. Could someone please advise how I can access my LinuxMint partition and/or reinstate the grub.
Last edited by tony.sankey on Thu Feb 12, 2009 2:12 pm, edited 1 time in total.
tony.sankey
Level 1
Level 1
 
Posts: 2
Joined: Tue Feb 10, 2009 12:20 pm

Linux Mint is funded by ads and donations.
 

Re: grub lost after re-installing xp on xp partition

Postby garda on Tue Feb 10, 2009 12:54 pm

The information you are looking for is described in adequate detail at the Linux Mint Wiki, under the Howtos section.
User avatar
garda
Level 5
Level 5
 
Posts: 744
Joined: Sat Aug 30, 2008 2:55 am
Location: /root

Re: grub lost after re-installing xp on xp partition

Postby locutus on Tue Feb 10, 2009 8:22 pm

All versions of Windows do that. MS doesn't like to admit that there are any other OS's out there.

Here is a link to EasyBCD, which is a bootloader for Windows and anything else you want. It's free and easy to use.

http://www.softpedia.com/get/System/OS- ... yBCD.shtml
User avatar
locutus
Level 4
Level 4
 
Posts: 406
Joined: Mon Dec 04, 2006 4:54 pm
Location: Ontario, Canada

Re: grub lost after re-installing xp on xp partition

Postby altair4 on Wed Feb 11, 2009 8:25 am

If I'm not mistaken EasyBCD is a bootloader ( actually it's a bootloader editor ) for WinVista since only Vista has BCD (Boot Configuration Data) which replaces the old boot.ini, etc.. from WinXP and prior Windows.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 16
Level 16
 
Posts: 6213
Joined: Tue Feb 03, 2009 10:27 am

Re: grub lost after re-installing xp on xp partition

Postby kansasnoob on Wed Feb 11, 2009 1:55 pm

You should just be able to boot your Mint Live CD and then open the Terminal and type:

Code: Select all
sudo grub


Which will drop you into a grub prompt that looks like this:

[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]

grub>


Then run the following:

Code: Select all
find /boot/grub/stage1


That will return something like:

(hd0,0)


Which, in that case, indicates grub/stage1 is on drive #1, partition #1. Grub begins numbering with 0 (zero). Anyway whatever that output is you'll want to enter next like this:

Code: Select all
root (hd0,0)


Then the next step involves the drive# only so I use only the first digit ie: (hd0):

Code: Select all
setup (hd0)


Next simply type:

Code: Select all
quit


After reboot you should be able to access the Grub bootloader again.

Clear as mud?
kansasnoob
Level 4
Level 4
 
Posts: 294
Joined: Sun Jul 20, 2008 1:45 pm

Re: grub lost after re-installing xp on xp partition

Postby tony.sankey on Wed Feb 11, 2009 2:44 pm

Many thanks for all your helpful suggestions, and the trouble you've taken to reply. Today I tried all sorts of approachs and have completely messed up the system!

I have reformatted the hard drive and started to re-install as a Linux-only system. I'm fortunate to have tried out Linux on an old system: 1000Mhz Athlon, 640 MB SDRAM, 40 GB HD, and have kept my 'workhorse' computer separate.

I'll keep the faith though.

Blooded, but unbowed.
Last edited by tony.sankey on Thu Feb 12, 2009 2:11 pm, edited 1 time in total.
tony.sankey
Level 1
Level 1
 
Posts: 2
Joined: Tue Feb 10, 2009 12:20 pm

Re: grub lost after re-installing xp on xp partition

Postby kansasnoob on Wed Feb 11, 2009 3:22 pm

I can assure you that it all gets easier with time!

And you never have to worry about "re-licensing" Mint!

There are many things I like about Mint and Ubuntu, really Linux in general, but the number one thing is that I never have to worry about whether I'll be able to reinstall if I totally hose things or if I've changed some hardware.

It's free and hopefully it will always be free! Use it, modify it, and at some point give back a little by supporting in any way you can.
kansasnoob
Level 4
Level 4
 
Posts: 294
Joined: Sun Jul 20, 2008 1:45 pm

Linux Mint is funded by ads and donations.
 

Return to Newbie Questions

Who is online

Users browsing this forum: baldrick.777, Bing [Bot] and 27 guests