LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-24-2006, 11:02 AM   #1
invincible_king
LQ Newbie
 
Registered: Sep 2006
Posts: 18

Rep: Reputation: 0
Reinstall WinXP on dual boot system with FC4


hi guys,
there have been similar threads on this question, but i have few more queries than just reinstalling xp....hope the moderators wont mind. well comming to my query, here is what my hard disk looks like. C: Win Xp(10gb),D:FC4(10Gb),E:NTFS(10GB),F:NTFS(10GB)...now i need to reinstall XP, cos its giving me hell of time... and also its been so long since i formated it. Now not only do i want to format Win XP, i want to delete the two NTFS drives and add it to my linux, cos i use linux all the time and for everything, XP is for my parents to use the net and nothing else... the probelm now is i could have reinstalled Win XP, and rescued FC4, but now i dont have the FC4 cds. and downloading again is not an option cos, its dial up i am running on.. i use this program just for programming so didnt invest in the broad band. one more thing is i do have FC4 DVD, but i dont have a DVD drive on this system, i have a normal CD drive. guys, plz i need your help..
 
Old 09-24-2006, 12:58 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
you could just download a 70MB cd, and burn it. http://vlaai.snt.utwente.nl/pub/linu...6-rescuecd.iso
thats a boot cd, that you would need. you dont need all the 5 cds.

so just install winxp use the rescue disk and in linux use mkfs -t ext3 on the ntfs part. that you have.
 
Old 09-24-2006, 01:32 PM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
It is simpler than you think to work with Linux.

Boot FC4 up, click root terminal, supply the root password, slip a floppy into the drive and type
Code:
grub-install /dev/fd0
Thereafter you can use the floppy to boot up FC4.

Do what the hell you wish with XP. When you are ready to put FC4 back into the MBR just use the root terminal and type
Code:
grub-install /dev/hda
If you boot to a Sata change "hda" to "sda".

Piece of cake isn't it?
 
Old 09-24-2006, 03:29 PM   #4
invincible_king
LQ Newbie
 
Registered: Sep 2006
Posts: 18

Original Poster
Rep: Reputation: 0
wow....thants amazing guys......am gonna work on that tommorow...thanxs a ton for your response guys...
 
Old 09-25-2006, 03:07 PM   #5
invincible_king
LQ Newbie
 
Registered: Sep 2006
Posts: 18

Original Poster
Rep: Reputation: 0
well guys..........i am stuck with my floppy drive.......its giving me hell of time.... is there any way of making a bootable USB....
 
Old 09-25-2006, 07:47 PM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Nop.

Grub and Lilo don't like USB because its response is too slow. Try Isolinux instead.
 
Old 10-09-2006, 05:20 AM   #7
invincible_king
LQ Newbie
 
Registered: Sep 2006
Posts: 18

Original Poster
Rep: Reputation: 0
hi guys, i got the FC4 CDs, i re-installed winXP, but when i tried to rescue grub nothing happned, i went into the rescue mode, tried
grub-install /dev/hda i got a message sbin/grub: not found, i browsed through sbin and found there was no grub in sbin, so what do i do now....i do not have floppy drive but i do have the 4 FC4 installation cds.... please help me...
 
Old 10-09-2006, 05:45 AM   #8
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
When you boot up FC4 installation CD and in rescue mode you have access to the Bash shell (terminal mode). You can invoke a Grub there by typing "grub".

According to your 1st post your Linux is in 2nd partition. Since Grub counts from 0 it would idenify your Linux partition as (hd0,1) meaning the 2nd partition of the 1st disk. You can restore Grub in a Grub shell as follow
Code:
grub
root (hd0,1)
setup (hd0)
exit
reboot
If no error message is reported then Grub should appear on a reboot.

The above commands are similar to those given in Post #3 except the former is executed in Linux terminal mode (Bash shell). The latter (current Post) is executed inside a Grub shell.
 
Old 10-10-2006, 02:54 AM   #9
invincible_king
LQ Newbie
 
Registered: Sep 2006
Posts: 18

Original Poster
Rep: Reputation: 0
i have reinstalled FC4...because i couldnt wait any further... but thanxs a lot for your reply.... now i wanted to know whether i can find out where the grub is installed for instance you said it shud be on(hd0,1).... but i am sure i tried that as well.... i want to know for furture reference where grub has been installed....thanxs a zillion again for all your help!!!
 
Old 10-10-2006, 03:25 AM   #10
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Grub has two parts; stage1 and stage2.

If your FC4 boots from the hard disk then its stage1 is in the MBR, the first 512 bytes of the hard disk which the Bios read on power up.

The stage2 is always in the /boot/grub directory of the partition you have chosen to install FC4. Grub makes the two files linked. You should find all the files needed by GRub in /boot/grub directory.
 
Old 10-10-2006, 07:18 PM   #11
invincible_king
LQ Newbie
 
Registered: Sep 2006
Posts: 18

Original Poster
Rep: Reputation: 0
thanxs a lot buddy....
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
reinstalling WinXP on a dual booting system (XP - FC4) snaggy Linux - Newbie 5 08-16-2006 04:54 AM
reinstalling winXP on an existing dual boot system with winXP and FC4 grub not workin champion Fedora - Installation 3 02-13-2006 03:37 PM
Dual Boot Reinstall - FC4 and XP evannextel Linux - General 2 02-08-2006 08:44 PM
how to wipe disk in best way to reinstall WinXP and Mandrake as dual boot jukebox4joe Linux - Software 3 01-23-2004 05:57 PM
Dual boot system - reinstall w2k? itsjustme Linux - General 1 10-13-2003 10:15 PM


All times are GMT -5. The time now is 06:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration