Re: [Linux-NTFS-Dev] when resizing, I get the error "The device '/dev/sda1' doesn't have a valid NT
Development moved to https://sourceforge.net/projects/ntfs-3g/
Brought to you by:
antona,
cha0smaster
From: Michael S. <li...@mi...> - 2008-11-20 23:49:03
|
On Thu, 20 Nov 2008 09:34:22 +0000 "Mikel Ward" <mi...@mi...> wrote: > I then deleted that partition, and re-created it using the full size > of the volume, setting it to NTFS and making it bootable, giving: > . > . > At this point, I got a GUI dialog saying: > mount: wrong fs type, bad option, bad superblock on /dev/sda1, Mikel, I'm not an expert on this, but the ntfsresize man page says: Partitioning When recreating the partition by a disk partitioning tool, make sure you create it at the same starting sector and with the same partition type as before. Otherwise you won't be able to access your filesystem. Use the 'u' fdisk command to switch to the reliable sector unit from the default cylinder one. Thus, you should always use fdisk -u, and IMHO, this should have been set as the default a long time ago by the fdisk developers. Failing to use -u might result in fdisk using a different start sector within the "start cylinder 1". Try to recreate your *old* partition table via fdisk (without -u), see if you can mount it, and if so, then use fdisk -u to enlarge the partition keeping the start *sector* (not cylinder) the same. Cheers, Mike Shell |