Users online right now: 113 - Login  » search  » forum index  

how to delete windows 7 files from hdd with slax

kewkotin
wrote 1 year ago


reply
got a problem
windows 7 installation on new notebook (dell) had been interrupted
but some files had been copied
now they block installation of any other os on hdd
format c couldn't help me
the guestion: can i clear them with slax, if it possible
?
 
bb as guest
wrote 1 year ago


reply
@ kewkotin ...

Can you successfully boot slax?

#fdisk -l

will show you the partition(s) and their names. Will likely have 3 partitions, all of type ntfs. One will be much bigger than the other two, this will be where your win7 install is placed. Assuming the large one is sda2, then ...

#mkdir /mnt/sda2
#mount -t ntfs-3g -o rw /dev/sda2 /mnt/sda2
#cd /mnt/sda2
#rm -r *

This will remove all files, leaving the ntfs structure. At that point you should be able to reload win7 from your install disks.
 
bharat
wrote 300 days ago


reply
no its not working...:(
can any1 plzz tell me how to remove windows 7 from dual boot using slax bootable usb???
 
josimario
wrote 296 days ago


reply
Do as @kewkotin say BUT, try this #mount -t ntfs-3g -o force /dev/sda2 /mnt/sda2
I just put another "-o" option "force" instead "rw". Remember 1, you need to find out which partition you really have with #fdisk -l. Remember 2, if the partition is already mounted you must umount it before.
 
agreimann
wrote 296 days ago


reply
I wasn't going to say anything here, because I think this topic has already been covered... but what about doing mktable msdos inside parted? That oughta wipe the whole disk clean and allow you to start over by making new partitions from there.

(Note: If you have a newer 64-bit machine, boot a modern Linux-based OS, like Ubuntu, and run parted mktable gpt over mktable msdos if you need support for UEFI for your computer.)

Anyway, hope this input helps a bit... :)
 

  » search  » forum index  

Post your reply

Your name (Login):

Message:

These HTML tags are allowed: <quote>, <b>, <u>, <i>, <pre>, <code>, <small>, <h1>, <h2>, <h3>, <li>



Slax is generously supported by: P&P Software GmbH and wisol technologie GmbH