Hey all.
I'm an intermediate Linux user, gradually falling more and more in love with the system while working on my Ubuntu 8.10 desktop box. But I recently ran into some
trouble with reformatting an IDE hard drive that I'm using to increase the storage I have available.
When I installed the drive and booted the system, I was able to see it, mount it, and access the files that were on it at the time - a Windows XP install that I won't be using any more.
I used gParted to delete the data on the drive, setting up a new partition table for it, starting it from scratch. That process ran properly, and I saw the device in gParted as /dev/sdb, a 500gb drive with its entire contents unallocated.
However,
when I attempted to format it to fat32, a single partition using all unallocated space, the process failed, and the drive got flagged as having errors in gParted. I was able to re-clear the partition table, making it all unallocated again, but additional attempts to format it, including attempts with other FS formats, all had the same end result.
Also,
fdisk cannot open the device:
Quote:
andrew@toumar:/media/500$ sudo fdisk /dev/hda
[sudo] password for andrew:
Unable to open /dev/hda
|
I might be missing something that would be obvious to a more experienced *nix user, but I'm not sure what my next step ought to be. I'll greatly appreciate any help I can get.
The details of the error output from gParted are below:
Quote:
GParted 0.3.8
Libparted 1.8.9
Create Primary Partition #1 (fat32, 465.76 GiB) on /dev/sdb 00:00:00 ( ERROR )
create empty partition 00:00:00 ( SUCCESS )
path: /dev/sdb1
start: 63
end: 976768064
size: 976768002 (465.76 GiB)
set partitiontype on /dev/sdb1 00:00:00 ( SUCCESS )
new partitiontype: fat32
create new fat32 filesystem 00:00:00 ( ERROR )
mkdosfs -F32 -v -n "" /dev/sdb1
mkdosfs 2.11 (12 Mar 2005)
mkdosfs: /dev/sdb1 contains a mounted file system.
|