Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
assuming you are sure you want to delete Ubuntu and Debian to leave linux... or just install another linux distro hopefully:
You can do many things:
delete all the partition, then when you make another partition on top of them, format that partition.
OR
format the existing partitions.
OR
scrub that surface with zeros using dd if=/dev/zero of=/dev/harddrive_name
delete/create partitions using cfdisk or fdisk
format using mkfs.NameOfFS
To amplify the remarks of Mimethebrain: use cfdisk to delete the partitions on the disk, re-write the partition table after removing all the partitions, then reboot before doing anything else. In my experience, you must re-boot before trying to create new partitions and format them. If you don't re-boot immediately, you may end up with inconsistent partitions (I struggled with that for a couple of days - SuSE 9.3 Pro).
After re-booting, make new partitions. After making the last partition, write the partition table, then re-boot again.
Then use the mkfs tools to format the partitions for the filesystem of choice.
Then install new distros or do whatever trips your trigger.
Alright, i'm not trying to install a new distribution to clear it up. I want to tottaly delete EVERYTHING on that hard drive. And remove it to put in my other PC. I'm a bit confused...could I format it from windows? Like get a copy of WipeXP and wipe it out? Ooooorrrr....
If I delete the partitions wouldn't it just automatically go into windows again?
----------------------------
And nooo! I'll never get rid of Linux.
Last edited by Infernolinux; 01-05-2006 at 04:06 PM.
from windows... it's a bit more difficult, if you have XP, you can use the partition manager in there to delete them and make a new one. Other versions of windows will require Partition Magic. If you get a copy of windows, you could delete it from the install disk. If you delete the partitions, Windows won't install on it overnight.
XP has graphical fdisk tool as well as the console command.
It does just the basic functions i.e. Create, format, delete. It will label linux partitions as unknown but you should be able to delete them. http://www.theeldergeek.com/disk_management.htm
In xp
click start,
then right click My computer
then click manage
then click storage
then click disk management
then right click whatever Linux partition not assigned a drive letter
then click delete partition
You can then create NTFS partitions and quick format them.
Should be able to do all the above in under 5 minutes.
If you have installed a bootloader to the Master disk's MBR, then you may run into problems on rebooting. Best to run "fixmbr" from within Windows too before rebooting.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.