Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Fedora Core 1, Fedora Core 4, SUSE Linux 9.3 Live CD, Knoppix Live CD
Posts: 11
Rep:
How do you uninstall Fedora Core 4 ?
How do you uninstall Fedora Core 4, because I want a fresh hard drive to install Windows XP on. I am not dual booting Linux so the hard drive just has linux on it, ill show you what is there when I type fdisk -l :
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 2432 19430617+ 8e Linux LVM
This will make your drive unbootable and unmountable (even from a rescue CD) until you install an OS, so make sure you don't need to boot or access the drive again.
What's wrong with just booting from the Windows CD and proceeding with installation? You should be able to delete the Linux partitions (which may show up as "unknown") and create new ones for use with Windows.
Distribution: Fedora Core 1, Fedora Core 4, SUSE Linux 9.3 Live CD, Knoppix Live CD
Posts: 11
Original Poster
Rep:
I have tried that, it boots up to the Windows XP cd and then says "Windows is now inspecting your systems hardware, please wait..." and then just shows a black screen, so thats why that doesnt work for me.
and on other sites I see this - dd if=/dev/zero of=/dev/hda bs=512 count=1
but on this threads reply it says - dd if=/dev/zero of=/dev/hda bs=512 count=16
What this command does is zero out the first 16 sectors on the hard drive. That includes the volume label, the master boot record (which probably contained lilo or grub), the partition table, and any additional metadata from LVM/software RAID (if you had them installed).
When you run the installer for an OS, it will find that it need to partition and format the drive, since all the data is gone. The OS will assign its default label to the drive.
Distribution: Fedora Core 1, Fedora Core 4, SUSE Linux 9.3 Live CD, Knoppix Live CD
Posts: 11
Original Poster
Rep:
oh, ok, so this means it will actually pass the hardware inspection stage and successfully partition and format the hd then go on its way to install Windows XP, and the reason why I am uninstalling Linux is because my family needs to use the laptop as well so XP will be better.
Distribution: Fedora Core 1, Fedora Core 4, SUSE Linux 9.3 Live CD, Knoppix Live CD
Posts: 11
Original Poster
Rep:
so let me get this straight, here is what I will do:
1. Boot up into Linux and log on as 'root'
2. Start up Terminal
3. Type into the terminal: dd if=/dev/zero of=/dev/hda bs=512 count=16
4. Shutdown and start the laptop up and boot into the Windows XP disk
5. Follow the instructions to install Windows XP
For those interested, the Windows XP installer is particularly brain-dead. I've had it refuse to install/hang/blue screen when finding data it thought it recognized in the these sectors. I've even had it fail when formatting an NTFS filesystem during installation if it finds a bad sector in the wrong location (formatting with Linux corrects that too). To work around these problems, I usually boot a Linux rescue disk, zap the sectors as above.
so let me get this straight, here is what I will do:
1. Boot up into Linux and log on as 'root'
2. Start up Terminal
3. Type into the terminal: dd if=/dev/zero of=/dev/hda bs=512 count=16
4. Shutdown and start the laptop up and boot into the Windows XP disk
5. Follow the instructions to install Windows XP
So is that what you do ?
It's what I've done to correct problems with the Windows installation for others. Personally, I and my extended family run Linux.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.