Results 1 to 7 of 7

Thread: Delete Widows XP without reformat

  1. #1
    Join Date
    Feb 2012
    Location
    India
    Beans
    109
    Distro
    Ubuntu 14.04 Trusty Tahr

    Question Delete Widows XP without reformat

    I have one PC having XP loaded . is there any procedure to erase/delete entire hard disk without using xp cd.(means without booting and format)??.
    If possible please help me.
    thank you.

  2. #2
    Join Date
    Nov 2009
    Location
    Germany
    Beans
    21
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Delete Widows XP without reformat

    You can use the command line tool dd to wipe out any device. To run a command open a terminal (Applications -> Accessories). First be sure which hard disk it is that you want to erase:
    Code:
     sudo fdisk -l
    This should list all disks and their partitions. If you see the NTFS partition in the list, you can then take the listed device name (e.g. /dev/sdb) for the output file of the dd command like this:
    Code:
    sudo dd if=/dev/zero of=/dev/sdb bs=63b
    The parameters are

    if= input file; /dev/zero is a device that delivers 00 bytes
    of= output file; the /dev/sdb (replace with the disk device you found in step 1) is the device that is written to
    bs= block size; I used 63b which is 63*512 bytes and is usually the logical size of one track on a HDD. You can choose bigger values like 1M, 32M ... (1 mega byte, 32 mega bytes), which may speed up the process.

    The dd command returns with an error when the end of the output file is reached, i.e. when it tries to write beyond the end of the HDD. By then the drive should contain nothing but 00 bytes.

    Please do not use the command unless you are absolutely sure you want to wipe the disk device. You will loose all your data if you specify the wrong destination device!
    Last edited by pullmoll; December 9th, 2012 at 03:59 PM.

  3. #3
    Join Date
    Feb 2011
    Location
    Japan
    Beans
    260

    Re: Delete Widows XP without reformat

    Boot with any linux live CD/DVD/USB which supports command "shred".

    Execute with root privilege,
    Code:
    fdisk -l
    or
    Code:
    parted -l
    to know the device file name of the HDD which you want to delete all the information saved in, such as /dev/sda or so.

    If the device file name is /dev/sda, execute to delete,
    Code:
    shred -n 1 -v /dev/sda
    The above will write randomly 1 or 0 once onto whole the area of /dev/sda.

    Refer to
    Code:
    man shred
    But....
    Why did you write
    Is it a kind of JOKE?

    ADDED at Mon Dec 10 12:50:03 JST 2012;

    Thanks Paady Landau to notice that the above "" is in his signature.
    Last edited by kiyop; December 10th, 2012 at 01:52 PM.
    OpenBox: Debian Wheezy, Sid, Snowlinux, Aptosid, Siduction, Crunchbang, Ubuntu, Mint, ZorinOS, OS4, Arch, Manjaro, Mageia, Fedora, CentOS, OpenSuSE, PCLinuxOS, Sabayon, Slackware, Win XP/7
    http://kiyoandkei.bbs.fc2.com/

  4. #4
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,265
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Delete Widows XP without reformat

    Quote Originally Posted by ramakanta View Post
    is there any procedure to erase/delete entire hard disk...
    You don't make clear if you need the drive "shredded" or if you just want to remove Windows in order to install something else.

    If you just want to delete the partition, you can boot from a Live CD (as kiyop said) and run either Disks or GParted to delete and recreate the partition. Warning: You will lose everything on the hard drive, including your data!

    Quote Originally Posted by kiyop View Post
    Why did you write [LOL]
    I think that's in his signature, not the original post.
    Problems with WINE?
    Full Circle Magazine :: Confused "allot"? :: Cheap Linux stickers
    In my day, we had outdoors in which to run, play, and socialise. Now we have computers to do those.

  5. #5
    Join Date
    Oct 2012
    Beans
    11

    Re: Delete Widows XP without reformat

    Quote Originally Posted by Paddy Landau View Post
    You don't make clear if you need the drive "shredded" or if you just want to remove Windows in order to install something else.

    If you just want to delete the partition, you can boot from a Live CD (as kiyop said) and run either Disks or GParted to delete and recreate the partition. Warning: You will lose everything on the hard drive, including your data!


    I think that's in his signature, not the original post.
    To add onto this, if you DO need your drive shredded, rather than just deleting the partition; you can use Darik's Boot and Nuke to shred the drive with several different security standards. Just know that it will take hours for even the most basic method to complete. If you attempt to use the Gutmann method, which is theoretically the most secure it will take days to complete

  6. #6
    Join Date
    May 2008
    Location
    United Kingdom
    Beans
    4,265
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Delete Widows XP without reformat

    Quote Originally Posted by Mister08 View Post
    … if you DO need your drive shredded…
    … and you will never use the drive again, just remove it from the computer and take a hammer to it.
    Problems with WINE?
    Full Circle Magazine :: Confused "allot"? :: Cheap Linux stickers
    In my day, we had outdoors in which to run, play, and socialise. Now we have computers to do those.

  7. #7
    Join Date
    Nov 2012
    Beans
    30

    Re: Delete Widows XP without reformat

    <Joke>
    Put a shotgun to your hard drive
    that should work
    </Joke>
    Ermm well save all your data to external storage and you will have to reformat

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •