LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-10-2004, 09:14 PM   #1
jumpman890
LQ Newbie
 
Registered: Feb 2004
Posts: 13

Rep: Reputation: 0
Linux and HDD


Right now i have XP loaded on one HDD and RH9 on another. I wont to remove RH9 and be able to use that HDD for XP again. How do I do it?
 
Old 03-10-2004, 09:29 PM   #2
alcattle
LQ Newbie
 
Registered: Mar 2004
Location: Seattle,Wa
Distribution: Arch
Posts: 18

Rep: Reputation: 0
you can do it with your XP cd, and the utilities on there. You could also Boot linux and use fdisk to change the partition type and write that to the disk then XP would see it and let you format the drive
 
Old 03-10-2004, 09:30 PM   #3
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Control Panel=>Administrative Tools=>Computer Management=>Disk Management.

Format the RH9 partition. You could also do this with a partitioning tool such as Partition Magic, if you have it.

Then reboot with the XP CD in the CD-ROM drive, go to the Recovery Console, log in as Administrator, and type "fixmbr" (without the quotes). This will restore the Windows bootloader.
 
Old 03-10-2004, 09:34 PM   #4
alcattle
LQ Newbie
 
Registered: Mar 2004
Location: Seattle,Wa
Distribution: Arch
Posts: 18

Rep: Reputation: 0
Not sure the mbr would be broken on the second hard drive, but that also sounds like it will help you to format the linux partitions
 
Old 03-10-2004, 10:47 PM   #5
jumpman890
LQ Newbie
 
Registered: Feb 2004
Posts: 13

Original Poster
Rep: Reputation: 0
i cant do it through windows cause it wont see the drive
 
Old 03-10-2004, 11:41 PM   #6
Serrano
LQ Newbie
 
Registered: Mar 2004
Location: Texas
Distribution: Debian
Posts: 6

Rep: Reputation: 1
Format Drive

Dear Jumpman,

Windows might not see your hard drive but you can go to Tucows and download a freeware program called Swiss Army Knife from the disc utilities section and it will see the other hard drive and format it if that is what you want to do. You could also go to Seagate's web site and download their Disc Wizard to do the same thing.
 
Old 03-11-2004, 12:45 AM   #7
jumpman890
LQ Newbie
 
Registered: Feb 2004
Posts: 13

Original Poster
Rep: Reputation: 0
i cant find Swiss Army Knife at Tucows
 
Old 03-11-2004, 01:03 AM   #8
Serrano
LQ Newbie
 
Registered: Mar 2004
Location: Texas
Distribution: Debian
Posts: 6

Rep: Reputation: 1
CompuApps Swiss Knife

Jumpman,

Go to www.tucows.com....then to windows.....to system and utilities....click on HD utilities and CompuApps Swiss Knife should be there. Trust me it will see your Linux HD. Disc Wizard which can be downloaded at Seagate is good too.

Hope I helped.

Serrano

 
Old 03-11-2004, 07:05 AM   #9
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Quote:
Not sure the mbr would be broken on the second hard drive
Unless RH9 was specifically instructed to install GRUB to the RH9 root partition, and jumpman890 transferred the RH9 boot sector to the Windows boot sector so that RH9 could be called from the Windows bootloader-- which are 1) not the default behaviour of the RH9 installer and 2) unlikely actions for a new user, which it would appear that jumpman890 is-- the system is using GRUB on the MBR as its first-stage bootloader. That won't be affected by deleting the RH9 partition, but the second-stage bootloader will be erased. So there will be no menu (as the menu configuration was on the erased partition), and no way for GRUB to know where Windows is in order to boot it.

This is why the Windows bootloader would need to be reinstalled.

Oh, and sorry, jumpman890-- my Win2KSP4 does see the "alien" partitions, iirc; it just gives me no options of what to do but to format or delete them. Since that's what you wanted to do anyway, it wouldn't have mattered.

Maybe XP is different in that respect. The trial versions of Swiss Army Knife (available at http://www.compuapps.com/Download/sw...swissknife.htm), or its big brother, Drive Wizard (available at http://www.compuapps.com/Products/drivewiz/drivewiz.htm) should solve this problem. You could also try a demo version of Partition Commander (http://www.partition-manager.com/), or the completely free Partition Manager (http://www.ranish.com/part/)-- however Partition Manager does not resize NTFS partitions (which is what XP is likely installed to), so you would be unable to merge the newly free space with any existing partitions using that tool.

Last but not least, you could always use RedHat's own tools to delete the partition. Here's the way that's done (I've done this under Mandrake, and there's no reason why it shouldn't work under RH as well).

Boot from the RedHat CD1. If there are repair tools available from the boot menu, you can check them out to see if one of them is cfdisk, and if so, then just use that to delete the partition and write the new partition table, reboot, stick the XP CD in real fast and then boot to the XP Recovery Console and use fixmbr. You can then boot into Windows normally and do whatever you like with the newly-freed space.

If cfdisk is not available from the RH repair console, just go through the install to the partitioning process. You certainly will get cfdisk here, so use it to delete the current RH partition, write the new partition table, then reset your computer (with the button on the front), again, switch CDs real fast (or go to the BIOS so you have time to switch them slowly ), then as before, boot to the XP Recovery Console and use fixmbr to replace the RH bootloader with the Windows bootloader. You can then use the standard Windows tools to format the free space (from the deleted partition) to either a new partition, or to expand a currently-existing partition.

Hope this helps.
 
Old 03-13-2004, 11:10 PM   #10
jumpman890
LQ Newbie
 
Registered: Feb 2004
Posts: 13

Original Poster
Rep: Reputation: 0
i downloaded Swiss Army Knife from Tucows and it still wont see my hdd. is there anything else i can do?
 
Old 03-13-2004, 11:15 PM   #11
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
surely using a win98 bootdisk you can use the fdisk utility ?
they should show up as Non-Dos partitions ....
and follow the menu to select "remove non-dos" partition ...
then partition with either fat32 or ntfs, and xp will then be able to see it ..
 
Old 03-14-2004, 12:34 AM   #12
Serrano
LQ Newbie
 
Registered: Mar 2004
Location: Texas
Distribution: Debian
Posts: 6

Rep: Reputation: 1
Hard Drive

Dear Jumpman

Just for grins I left my Linux OS and went to XP and ran the Swiss Knife utility. It saw my Linux HD as the master slave and even named it as being an IBM DPTA and this was running under XP. Of course, when I went to " MY COMPUTER" XP did not ackowledge that there was another HD. I have never had this utility or Seagate's utility fail to see a HD. You might need to go back to point zero and make certin that your BIOS is picking up the HD and if you have been tinkering it might be a good idea to make certain that your connections are good to the HD. More than once in my career of tinkering I have found something really basic to be the problem and felt foolish afterwards.
 
Old 03-14-2004, 01:31 AM   #13
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
A good idea for this is to just go ahead and leave Linux on the drive since it's the best. That way you don't have to ask these types of questions. lol
 
  


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
Trying to add a third hard drive (hdd) and get Unable to open /dev/hdd MikeyCarter Linux - Hardware 4 12-26-2005 10:27 PM
move linux from IDE HDD to SATA HDD markmalcolm Linux - Hardware 2 05-07-2005 02:24 AM
Dual HDD Interface Problem, Linux on SATA, NTFS Part on IDE HDD LILO Not Loading Blade44 Linux - Hardware 2 02-01-2005 06:56 PM
How to make mirror image of linux partion to one1 HDD TO 2 HDD raj_1 Linux - General 2 11-04-2004 01:45 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:36 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