[SOLVED] can and how can i delete all my windows files?
Linux - NewbieThis 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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
linux-82ts:/home/FAILsaurus # mount -t ntfs /dev/sda3 /windows/D
Unexpected clusters per mft record (-1).
Failed to mount '/dev/sda3': Invalid argument
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Click here to see the post LQ members have rated as the most helpful post in this thread.
The device '/dev/sda3' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
My guess is that either
the third partition does indeed contain your data but has been corrupted somehow;
the third partition was created but not actually formatted --- i.e. there was never an NTFS filesystem on it in the first place, and your data is all on /dev/sda1
If it's the first option, then it may not be possible to rescue your files. ...So let's look at the second option: can you see what's on /dev/sda1? It's mounted automatically on /windows/C. Typing
should give you a list of files. If it does, then probably the easiest option from there is to browse through the mounted volume using a file manager.
If KDE is your desktop environment, then open Konqueror from the panel at the bottom of the screen and look for something like "Storage Media". On the other hand, if you're using GNOME, then choose the "Places" menu at the top of the screen and see if you can find something like "Removable Media" --- clicking on the relevant volume should open up a window in Nautilus.
Once you're into your Windows filespace you can then look around to find the files you want to keep.
I dont want windows on my computer at all anymore and i dont want the files either can i just delete it all
Certainly! Running fdisk from Linux and removing the two partitions will do it! You can then reuse the space for Linux.
Log in a terminal as root and run
Type p to display the partition table. Then type d to delete a partition: you will be prompted for the partition you want to delete. Choose the third partition /dev/sda3. Then type d again, this time choosing /dev/sda1. If you want to create a new partition, you can do it now, by typing n and specifying what number the partition should be and what size it should be. You can do this a few times, as you've got up to three primary partitions to play with --- /dev/sda1, /dev/sda3 & /dev/sda4. Make sure you don't delete your extended partition (/dev/sda2) unless you want to wipe your disk completely and reinstall Linux with a totally new partition layout.
Once you're done type p again to check that all's as it should be: if it is, then enter w to write the modified partition table to the disk (or if it's wrong, just enter q to quit without writing). The partition table will be used the next time you reboot the machine.
If you want to know all about partitions, take a look at this HOWTO over at the Linux Documentation Project.
i did as you said and now my compute wont boot anything i even tried booting from a linux disk i had it didnt work. im using a friends computer. please help
...Then there's something else going on here: even if the hard drive had been totally wiped, it should not prevent booting from a Linux CD/DVD. There could be a hardware issue underneath all this: can you remember how exactly your Windows partition came to be corrupted? (Was it after a power surge, or did someone spill liquid on the machine, or anything like that?) Installing Linux (or indeed any software) is pointless if the machine has a significant hardware issue, so we must first try to get to the bottom of that before proceeding.
i turn on my computer it displays the manufacturer Compaq and then screen goes bland with flashing underscore.
i do the f10 button to access menus and tell it to boot from disk but it doesn't
D'you mean that you can you get into the BIOS setup screen with F10 and instruct the machine to boot first from your CD/DVD drive, but that the computer takes no notice of the settings? Or do you mean that you can't even get into the BIOS setup screen?
1. was installing diff version of windows (that was apparently corrupted)
2. its my start up screen, in the middle of it it says "compaq" and at the bottom of it it has a few "f" options then the screen goes blank with the flashing underscore if i dont hit an "f" option quick enough.
When you get into your bios you should have a section for boot sequence or boot order. Make sure the the optical drive is first. Save and exit. You should be able to boot from cd even without a hard drive installed. I have Puppy 4.2.1 on a disk just for checking old computers to see if they are worth messing with. If your Linux install disk fails to boot with optical as first boot device try download a live version. Burn the cd at slowest speed and try it.