does wrong type entry in fstab corrupts the partition ?
after a gap of few month i started to using linux again (this time crunchbang on my usb) and mistakenly i added wrong fstype in /etc/fstab (like this )
Code:
#/dev/sda5 /mnt/cdrive ntfs-3g defaults,locale=en_IN 0 0 now i have possible hard disk corruption and before doing anything i want to make sure that can wrong fstype in fstab cause such problems if not what can cause this (because partitions were working absolutely fine before installing crunchbang). before posting this question i did unfinished chkdsk /r on both partitions, unfinished because its taking very very long time (mverse [size=200gb] took at least 11hrs). what should i do ? |
Hi!
As far as I know, wrong entry in /etc/fstab can not corrupt hd (I never heard that); it is possible - depends on the Linux distribution - that you can't start your Linux. To help we should know some details: 1. Windows preinstalled on only one internal hd? 2. You installed any Linux on hd? Which one? 3. You are able to boot from a Linux live medium to Desktop? If not, I recommend to download PartedMagic - it is more than a normal operating system, it contains many useful tools, such as new GParted, UNetbootin,... and you can access your data and edit system files as fstab or menu.lst or grub.cfg or grub.conf. If yes, please post the output of Terminal - as root - Code:
fdisk -l and Code:
parted -l print Code:
sudo su Code:
su - before the commands above. alfredo Edit: Of course you must burn an image of PartedMagic and boot from it to use the tools on PartedMagic. URL: http://partedmagic.com/doku.php?id=screenshots |
Thanks alfredo10 for reply
i am running crunchbang from usb drive (its not live version, its installed on my usb i.e. sdb). 1. windows xp is on /dev/sda5 and its been there before i installed crunchbang. 2. only linux that i is #! and its on usb drive i.e. flash drive or pen drive. 3. yes #! running perfectly fine. even xp is runningm but its very slow now. and i have corrected fstab as soon as i got I/O errors. Code:
sudo fdisk -l Code:
sudo parted -l print |
Hi ununun!
Okay, where is the problem? 1. Quote:
2. Maybe it is useful if you post your fstab. 3. I installed crunchbang, but some years ago, so I don't know details. You have the latest version of it with Grub1.98 - I supppose? After having booted from your USB o Desktop you could run Code:
dpkg --list | grep grub alfredo |
/etc/fstab
Code:
# /etc/fstab: static file system information. Code:
$dpkg --list | grep grub is there any chkdsk-like utility for linux ? thanks for the help |
Hi!
As I wrote in my irst reply/ edit, PartedMagic contains many useful tools, as - GParted (to create partions etc.) - UNetbootin (making USB live) - Testdisk... http://partedmagic.com/doku.php?id=programs alfredo |
A wrong entry in fstab can not corrupt your disk. If Windows runs slow, and you did get I/O-errors I would assume that this is an hardware error. Try the following:
1. Backup all your data. 2. Download and burn the diagnosis tool from the harddisk's manufacturer. 3. Run it. 4. Download and burn Memtest86+. 5. Run it. |
i run seatools dos until hd passed long test with no error and that was about five times.
then i run chkdsk on both partitions. now i have two new problems 1. i cannot detect my hd in crunchbang. 2. windows seems to freezs after logo with black screen and mouse cursor. thanks. |
1. Backup all your data.
2. Download and burn the diagnosis tool from the harddisk's manufacturer. 3. Run it. 4. Download and burn Memtest86+. 5. Run it. Go to step 4 and 5 |
Quote:
|
ok now i can mount with ntfs-3g. but still nothing is shown in either fdisk -l or parted -l about sda which is the hd.
what can cause that ? and about the second question, i think i have to repair with xp cd. thanks for all your help |
All times are GMT -5. The time now is 08:04 PM. |