Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Windows Installation After Linux
post Aug 26 2004, 05:08 AM
Post #1

Its GNU/

Group: Support Specialist
Posts: 1,439
Joined: 3-January 04
From: Germany
Member No.: 2,069

Hello all,

I'm kinda confused here, so this is the current situation.

I've got a WinXP on ide 1 , some data on ide 2 and cd on ide 3 and linux on ide 4.

What I want to do is , reinstall WINDOWS XP on ide 1 , which will then kill my grub boot loader , right?

How am I supposed to build a new grub boot loader from nothing (the linux I'm using/testing is Suse 9.1 ) help me .

Robert B

Robert Becskei
May the source be with us!
AMD X2-3800 @ 2400Mhz
2048MB DDR 400Mhz
DFI Lanparty UT4 NF4 ULTRA-D
GeForce 7800GT
Pioneer DVD-RW
17inch Samsung Syncmaster 757NF
WinXP Pro (SP2)/ CentOS 4.3
Go to the top of the page
+Quote Post
post Aug 26 2004, 05:29 AM
Post #2

Its GNU/

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151

Hi robert...

Before you install windows, make sure you know what your root and boot partitions are for linux ... I'll assume boot is /dev/hdd1 and root is /dev/hdd3 (with swap as /dev/hdd2).

Boot with a linux startup disk like SystemRescueCd ... or use linux rescue from almost any distro of linux ... after booting up, exit direct to the console mode (if required, like on some distro boot disks)...or use knoppix and just open a terminal window as root.

At the command prompt, make a directory to mount your root partition into ...

mkdir /mnt/fixgrub

then mount the root partition:

mount /dev/hdd3 /mnt/fixgrub

then mount the boot partition into /mnt/fixgrub/boot (if boot is a seprate partition ... it is possible that /boot is included in the root partition, in which case this step is not required:

mount /dev/hdd1 /mnt/fixgrub/boot

now we need to chroot to the SUSE install like this:

chroot /mnt/fixgrub

If that works, you should be the root user in the SUSE install ... now run the command:


Then, at the grub prompt, run the command:

root (hd0)

That should fix the boot partition using the version of grub that is installed on the SUSE install. exit grub and reboot...

Johnny Hughes
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
+Quote Post
post Aug 26 2004, 08:33 AM
Post #3

RMS is my Hero

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29

Or else..make a boot disk for your linux system..and then you boot using the bootdisk...

Hemant Kumar
user posted image
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 21st July 2018 - 06:30 PM