LinuxQuestions.org
Help answer threads with 0 replies.
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 07-23-2006, 08:38 AM   #1
revoked
Member
 
Registered: Jul 2006
Distribution: fedora core
Posts: 39

Rep: Reputation: 15
Question how to remove existing dual boot winxp and fc5?


i've dual boot winxp and fc5 installed, with fc5 installed via default options(suppose grub was installed to the mbr this way).so far it looks fine and haven had any probs loggin into the 2 via grub.

im still on testing phase(trying out)and due to some reasons i wana remove fc5 and winxp,and reinstall the same dual boot winxp and fc5 config again.

I've set my bios to boot from cdrom as 1st.but when i insert my winxp cd to boot,it freezes with black screen after the prompt "setup is determining hardware configuration" from winxp setup.

So im wondering mayb my steps are incorrect to remove and reinstall them and suspect the problem lies with grub.

anyone here might provide me with some help and advice on doing this?

much appreciated

Last edited by revoked; 07-23-2006 at 08:39 AM.
 
Old 07-23-2006, 08:44 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
You probably have more than one active (bootable) partition - if so, set just the XP one as active, and try again.
 
Old 07-23-2006, 08:54 AM   #3
revoked
Member
 
Registered: Jul 2006
Distribution: fedora core
Posts: 39

Original Poster
Rep: Reputation: 15
thanks for the prompt reply!

im not sure if i have more than one active boot partitions and how do i check if i do?im still quite new to this..

and if i do have more than one active,how can i set the xp one to active?
 
Old 07-23-2006, 09:11 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Let's see the output from a FC terminal session of "fdisk -l" (ell, as in list). If that gets a "command not found" message try "/sbin/fdisk -l"
 
Old 07-23-2006, 10:15 AM   #5
revoked
Member
 
Registered: Jul 2006
Distribution: fedora core
Posts: 39

Original Poster
Rep: Reputation: 15
i've tried fdisk -1 and this is the outcome:
[... ~]$ fdisk -1
bash: fdisk: command not found

so i tried /sbin/fdisk -1 and this is the outcome:
[... ~]$ /sbin/fdisk -1
/sbin/fdisk: invalid option -- 1

Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors

i ain't good with command lines now,how to run the fdisk in this case??
 
Old 07-24-2006, 02:22 AM   #6
revoked
Member
 
Registered: Jul 2006
Distribution: fedora core
Posts: 39

Original Poster
Rep: Reputation: 15
anyone out there?
 
Old 07-24-2006, 03:59 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
I specifically said "...(ell, as in list)"
Looks like you used a character 1 (one) instead.
 
Old 07-24-2006, 05:49 AM   #8
smallville
Member
 
Registered: Dec 2005
Posts: 44

Rep: Reputation: 15
its a smaller letter L not one (1)
 
Old 07-24-2006, 08:13 AM   #9
revoked
Member
 
Registered: Jul 2006
Distribution: fedora core
Posts: 39

Original Poster
Rep: Reputation: 15
hi there and thanks for sticking arnd

realise the mistake my bad..

tried this immediately upon tat and heres wat ive got:
----------------------------------------------------------
Disk /dev/sda: 250.0 GB, 250056171008 bytes
255 heads, 63 sectors/track, 30400 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 5230 42009943+ 7 HPFS/NTFS
/dev/sda2 5231 16708 92197035 f W95 Ext'd (LBA)
/dev/sda3 16709 30400 109980990 7 HPFS/NTFS
/dev/sda5 9060 16708 61440561 7 HPFS/NTFS
/dev/sda6 5231 5243 104359+ 83 Linux
/dev/sda7 5244 9059 30651988+ 8e Linux LVM

Partition table entries are not in disk order
---------------------------------------------------------
fyi.
 
Old 07-24-2006, 08:24 AM   #10
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
If it was booting from the CDROM and you didn't see a grub menu, I doubt that the grub boot loader was run at all. You might want to change the PNP setting in the BIOS and try again. Another thing you could try is removing any usb peripherals that you don't need to perform an installation. I think that when it is probing for hardware there is something that jams it up.

Last edited by jschiwal; 07-24-2006 at 08:27 AM.
 
Old 07-24-2006, 09:36 AM   #11
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Quote:
Originally Posted by revoked
hi there and thanks for sticking arnd

realise the mistake my bad..

tried this immediately upon tat and heres wat ive got:
----------------------------------------------------------
Code:
Disk /dev/sda: 250.0 GB, 250056171008 bytes
255 heads, 63 sectors/track, 30400 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device  Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        5230    42009943+   7  HPFS/NTFS
/dev/sda2            5231       16708    92197035    f  W95 Ext'd (LBA)
/dev/sda3           16709       30400   109980990    7  HPFS/NTFS
/dev/sda5            9060       16708    61440561    7  HPFS/NTFS
/dev/sda6            5231        5243      104359+  83  Linux
/dev/sda7            5244        9059    30651988+  8e  Linux LVM

Partition table entries are not in disk order
---------------------------------------------------------
fyi.
If I read that correctly, your disk contains three physical partitions, sda[1-3]. sda2 is an "extended" (green) partition, containg (red) one NTFS partition, the Linux \boot partition, and a Linux "logical volume" containing, presumably, the swap and root (/) devices.

I suspect that Windoze is confused by the logical partition containing non-Windoze partitions.

Since you intend to re-install both OS, why not just delete ALL the partitions on your HD before you start your new installations?
 
Old 07-24-2006, 10:04 AM   #12
revoked
Member
 
Registered: Jul 2006
Distribution: fedora core
Posts: 39

Original Poster
Rep: Reputation: 15
hi all

yea PTrenholme,u r right about the partitions.

But if i were to delete off all the partitions,mind if i ask:
1)do i loggin into xp and remove the linux partitions first?(but this way as grub was installed to mbr and i felt i may create more mess if i simply remove linux first?)
2)Or i use linux to remove xp first?(but in this way will it solve the problem?as in i will be able to start xp installation via cd this time?)

pls advice
 
Old 07-24-2006, 08:19 PM   #13
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,832

Rep: Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820Reputation: 1820
Windoze should be fine with that partition structure - so long as it can find a bootable primary partition (sda1 in this case) it should proceed.
I can't see any obvious reason why it should fail during the hardware scan unless it needs a (separate) driver for the SATA drive. If it does, one wonders how Windows was installed originally.

As for deleting the partitions, I'd do it from Linux personally. When I last had an issue like this I just zeroed out the first few sectors of the disk (including the MBR). Windows see the disk as unformatted and asks if you want to use it.
 
Old 07-26-2006, 11:23 AM   #14
revoked
Member
 
Registered: Jul 2006
Distribution: fedora core
Posts: 39

Original Poster
Rep: Reputation: 15
hi there,

have got it done after few trials and errors there cos of the commands.
thanks again!
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
VMWare boot existing WinXP Installation HuckinFappy Linux - Software 6 10-17-2007 04:36 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-booting on an existing WinXP Raid 1 array?? bobbryce Fedora - Installation 1 06-28-2005 02:51 PM
Dual Boot with Existing WinXP & SLackware - with New 160GB hrddrive daveg2000 Linux - Newbie 2 09-06-2004 05:46 PM
Dual boot "merge" from existing 98 & existing Linux atsmith Linux - Newbie 4 07-13-2003 04:46 PM


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