LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2004, 06:32 PM   #1
z3r0ko0l
LQ Newbie
 
Registered: Feb 2004
Location: NE UK
Distribution: Windows Xp Home. SuSE 9.1 Pro and RedHat 9
Posts: 1

Rep: Reputation: 0
Angry Dual Boot After Windows XP Home Re-install



HELP!...I just re-installed windows... but Grub dont load @ startup anymore any1 know how to solve this problem...or is there away to access /dev/hda1 from Windows Xp?




Last edited by z3r0ko0l; 02-06-2004 at 07:03 PM.
 
Old 02-06-2004, 07:36 PM   #2
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Use your cd for your distro or a boot floppy and boot to your partition where Linux resides (use the kernel from the HD)

boot: Linux root=/dev/hda3

if your boot directory resides on /dev/hda3, for example.

Then, you run grub-install. You should be back in business. I don't have a lot of experience with grub, but if you have your grub config in the boot partition from before the XP incident, then you should get grub back as you want it as long as you can get into the drive, so to speak.

Anyone know more about this?

BTW, there are probably about 100 threads about dual boot problems (I know that I have answered several in the last few days alone). Try the search button at the top of the page for more ideas. They're likely here already. GL
 
Old 02-06-2004, 07:37 PM   #3
PengyDaPenguin
LQ Newbie
 
Registered: Feb 2004
Distribution: SuSE, Fedora, RedHat, Mandrake, Slackware, Debian
Posts: 12

Rep: Reputation: 0
Try booting with your distro install disk and doing a RESCUE mode (Usually linux rescue at the boot: prompt). Do a chroot on whatever the primary / filesystem was mounted as (under Rescue Mode the filesystems in you FSTAB are mounted under a separate mount point, so / is not the real / ) and then run your GRUB or LiLo commands to reinstall your boot loader. That's what I've always done when I blow it up
 
Old 02-07-2004, 02:31 AM   #4
jerrymei
LQ Newbie
 
Registered: Feb 2004
Distribution: Red Hat
Posts: 20

Rep: Reputation: 0
XP's Fault

When your install Windows XP it overwrites the GRUB with its own boot loader.(Probably NTLDR) so often it is a good idea to first install Windows then Linux.

Now you have to boot from your distro. CD or rescue disk and mount your root partition. Then you have to become root and re-install GRUB or LILO.

Hope it would be useful.
 
Old 02-07-2004, 10:16 AM   #5
gmichel
Member
 
Registered: Aug 2003
Location: Bangkok
Distribution: Red Hat 9
Posts: 56

Rep: Reputation: 15
Hi!

I am just having the same problem.

What are exactly the steps to re-install Grub only.
I have a rescue disk and tried to boot, it worked but the screen displayed improperly and I couldn't see enough to do a thing.

Any help much appreciated

Michel

 
Old 02-07-2004, 10:33 AM   #6
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
I use LILO, but it's probably exactly the same thing with Grub.
When I re-install WinXp, then I simply boot on the Linux Mandrake install CD, I say "update", it asks me confirmation of my mouse and network settings, reconvigures the boot things, says "remove your cd" and everything works fine again.
 
Old 02-07-2004, 09:33 PM   #7
gmichel
Member
 
Registered: Aug 2003
Location: Bangkok
Distribution: Red Hat 9
Posts: 56

Rep: Reputation: 15
Hi! Thanks for helping.

I solved the problem and this is what I did: RH v.9

1. Boot in Linux with my rescue disk (can use CD in rescue mode)
2. Open a console as root and type: grub
3. Then, grub> (hd0,1)
grub> setup (hd0)
grub> quit
4. Restart

It worked fine.

Michel.

 
Old 02-08-2004, 08:43 AM   #8
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Quote:
Originally posted by gmichel
Hi! Thanks for helping.

I solved the problem and this is what I did: RH v.9

1. Boot in Linux with my rescue disk (can use CD in rescue mode)
2. Open a console as root and type: grub
3. Then, grub> (hd0,1)
grub> setup (hd0)
grub> quit
4. Restart

It worked fine.

Michel.

Thanks for posting what actually worked. Many people wouldn't take the time to do that. Now, others acn learn from your conquest You're an asset to this forum.
 
  


Reply



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
Problems With Dual Boot / Dual Drive Setup Norab Linux - Hardware 1 08-07-2005 09:15 PM
Fedora Core 3 Dual Boot, Dual Hard drives, Grub Boot Loader Denali03 Linux - Newbie 1 03-04-2005 01:44 PM
hOw to dual boot linux suse with a dual boot win98/xp pc walterkai SUSE / openSUSE 1 12-14-2004 05:04 PM
Advice (and some) Needed: Dual-HDD, Dual-Boot - Linux, WinXP elnomadkvn Linux - General 1 03-28-2004 10:11 AM
Newbie needs Mandrake/Win98 dual-HD, dual boot system design help... buddha Linux - Newbie 20 09-04-2003 08:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:10 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration