LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-08-2006, 11:31 PM   #1
RogerMG
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Rep: Reputation: 0
Need to reformat my Fedora HDD


Fedora 5 is running on my Dell Inspiron 1300 laptop. I need to put WinXP back and dont care if I reformat the entire HDD. I burnt GParted image to a CD using another computer, intending to reformat my laptop's entire HDD to a single NTFS partition. My laptop BIOS setup to look at the CD drive first. The CD drive spins but the HDD ends up rebooting Fedora from the HDD. How do I reformat my HDD to NTFS, so I can then let it read the XP installation CD's?
 
Old 12-08-2006, 11:45 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
so you want to erase everything on your disk and install windows? during the windows install it will ask you to format, just do it then.

if the windows or GParted disks arent being loaded at boot as you want, burn the images again and make sure you create a bootable/system/iso disk.
 
Old 12-09-2006, 12:59 AM   #3
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
Pop the bootable WinXP cd in the drive and boot from it. Follow its instructions and create/modify/delete the partitions.
 
Old 12-09-2006, 01:52 AM   #4
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Rep: Reputation: 15
Windows XP installation program has a problem formating a HD which has only linux on it. It may be due to the data structure of ext3 or something that linux use that makes the HD unformattable for windows. U need to do a low level format using bootable Disk Utility Program. U may want to use the the Disk Utility Program from the HD manufacturer from thier website or u can use a progam like Active Kill Disk from http://www.killdisk.com/.
 
Old 12-09-2006, 02:53 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Nah, if the 1300 is anything like the Inspiron 1100, you have to hit a pf key even if the CD is listed first in the BIOS.
In my case pf12 - check the splash screen on boot. Then you can select the CD as the boot device; the gparted disk should be fine for doing the work.
 
Old 12-11-2006, 05:15 AM   #6
RogerMG
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the various answers. None of them work, in my situation.

- GParted was ignored, even when on a bootable CD

- Win XP CD does not get to the point where it asks if I want to format my HDD. I just get a black screen with flashing cursor. (These CD's still work on another laptop, which has NTFS format)

- I downloaded Kill Disk, unzipped then burnt onto CD in bootable format. It whirred in the drive, but Fedora appeared, again.

- F12 does indeed stop the Fedora boot process. I then select the option to boot from CD Drive. The drive whizzes, but Fedora booting appears, again.

- I did the Kill Disk again, after intervening with F12, but Fedora appears ... again.

I have a desktop with Fedora and am a true Linux convert. But I HAVE to get XP back on this laptop.

Any other suggestions, I will definitely try.

Appreciat your collective help.
 
Old 12-11-2006, 05:35 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
From a (root) FC terminal session do they following (this will destroy your access to any data on the disk - you have been warned)
Code:
dd if=/dev/zero of=/dev/hda bs=1 count=510
Adjust the target (OutFile) in need. This erases your bootloader code and partition table - the XP installer will see it as an uninitialized disk, and quite happily install to it.
 
Old 12-12-2006, 06:12 AM   #8
RogerMG
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Not sure what you mean by "Adjust the target (OutFile)". So I entered the suggested command in root, verbatim. Got response :

dd: opening 'dev/hda': No such file or directory

I like the idea and hope you can get me across the line mate.
 
Old 12-12-2006, 03:32 PM   #9
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
What I meant was, substitute the correct device - might be /dev/sda if you have S-ATA, might even be /dev/hdc on a laptop. "df" should tell you.
 
Old 12-14-2006, 05:22 AM   #10
RogerMG
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
Yes, it was '/dev/hda1' and the command was accepted. It gave a message about "..510 in" followed by "...510 out", I should have written it down but it did seem to work.

I put the XP Reinstallation CD in the CD Drive, did a shutdown, then turned it back on. F12 made sure it looked at the CD, which whirred for a few seconds, then the screen just went black, no cursor visible. I waited 15 minutes in case it was doing something. Stoll no sign of life.

p.s. I took the CD out and it still boots Fedora ok.
 
Old 12-14-2006, 08:12 AM   #11
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
If we can fix one thing here, it may get you out of the woods. You say that you are able to boot the XP install disks, but not the others---eg GParted. This may mean that something is wrong with how you are making these CDs. Look at one in you desktop and make sure it has many files and not just the one .iso file. Also, try to boot your desktop or any other computer with the CD(s)

Does the laptop have a floppy? If so, you can also get DBAN and put it on a floppy and boot the laptop from that. DBAN is at Sourceforge.
 
Old 12-14-2006, 10:28 AM   #12
Duck2006
Member
 
Registered: Sep 2006
Distribution: Ubuntu 8.04 Hardy Heron LST
Posts: 346

Rep: Reputation: 33
Can you get a utility disk from the manufactory and use it ti wipe the hard drive
 
Old 12-14-2006, 11:06 AM   #13
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by Duck2006
Can you get a utility disk from the manufactory and use it ti wipe the hard drive
Maybe--but things like DBAN will do just fine
BTW, I think DBAN is also on the Ultimate Boot CD--a handy thing to have in its own right.
 
Old 12-16-2006, 06:25 AM   #14
RogerMG
LQ Newbie
 
Registered: Dec 2006
Posts: 6

Original Poster
Rep: Reputation: 0
pixellany, I cannot boot from the XP Reinstallation disks. They are the originals that came with the Dell laptop and are good. The drive whirrs, but the screen stays blank.

The Dell doesn't have a floppy drive so I'll pursue DBAN/Ultimate Boot CD. Thanks for your suggestions.
 
Old 12-16-2006, 01:48 PM   #15
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Do as I suggested - cut and paste the command, looks like you dropped the first "/".
 
  


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
can not reformat hdd after failed ubuntu install (no filesystem) threethirty Linux - Hardware 3 12-16-2005 09:20 AM
hdd reformat from the command line Dewey Linux - Newbie 2 03-28-2005 10:39 PM
Fedora and Slackware on same HDD besttech01 Slackware 7 03-27-2005 09:35 PM
Fedora HDD install... how? crm Fedora - Installation 1 04-27-2004 07:15 PM
How To Reformat HDD Viper Slackware 1 10-24-2002 02:03 AM

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

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