PDA

View Full Version : [ubuntu] Unable to setup ext3 file system



volmark
June 12th, 2008, 05:48 AM
I’ve installed second HD that was for formatted as NTFS with Windows 2003 on it.
Then I’ve formatted it with $ mkfs –t ext3 /dev/sdb1. Then it was partitioned with sudo cfdisk.
I could mount it and generally it works fine except when check this with sudo fdisk –l it still reports wrong file system:

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 9728 78140128+ 7 HPFS/NTFS

I have done it multiple times just to be sure that I done all the steps correctly but it still reports file system is HPFS/NTFS

Is there simple way to destroy NTFS partition tables and boot record on my second HD ?? Long time ago I’ve used low level utility for Windows where I could reset HD’s sectors manually bit by bit. Is there something similar for Linux ??

iaculallad
June 12th, 2008, 06:01 AM
Try to use TestDisk (http://www.cgsecurity.org/wiki/TestDisk) utility. The partition table might not have been updated.

volmark
June 12th, 2008, 06:16 AM
I’m quite newbie in Linux environment that’s why I need further instructions.
What TestDisk version should I download, for kernel 2.4 or 2.6 ??
How can I detect my kernel vers??
How I can install TestDisk from …tar.bz2 ??

iaculallad
June 12th, 2008, 06:27 AM
I’m quite newbie in Linux environment that’s why I need further instructions.
What TestDisk version should I download, for kernel 2.4 or 2.6 ??
How can I detect my kernel vers??
How I can install TestDisk from …tar.bz2 ??

You can detect your kernel version by entering the command (using terminal):


uname -a

Just download the SystemRescueCd (http://www.sysresccd.org/Main_Page), it has a built-in TestDisk utility on it.