diff --git a/ChangeLog b/ChangeLog index 64d4a202..86aa397d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -49,6 +49,8 @@ xx/xx/2005 - 1.12.0-WIP ntfs_resident_attr_record_add. (Yura) - Fix attribute list adding for always resident attributes. (Yura) - New API for hard link creating: dir.[ch]::ntfs_link. (Yura) + - ntfsresize: emphasize that disk partitioning must use sector as the + unit instead of cylinder to avoid shifting of the partition. (Szaka) 08/08/2005 - 1.11.2 - ntfsdecrypt now works and lots of fixes and improvements. diff --git a/ntfsprogs/ntfsresize.8.in b/ntfsprogs/ntfsresize.8.in index 73ea6d94..2a59953c 100644 --- a/ntfsprogs/ntfsresize.8.in +++ b/ntfsprogs/ntfsresize.8.in @@ -1,7 +1,7 @@ .\" -*- nroff -*- .\" Copyright 2002-2005 by Szabolcs Szakacsits All Rights Reserved. .\" -.TH NTFSRESIZE 8 "Aug 2005" "ntfsprogs version @VERSION@" +.TH NTFSRESIZE 8 "Sep 2005" "ntfsprogs version @VERSION@" .SH NAME ntfsresize \- resize an NTFS filesystem without data loss .SH SYNOPSIS @@ -89,8 +89,10 @@ to enlarge the size of the filesystem. .SH 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. +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. Also make sure you set the bootable flag for the partition if it existed before. Failing to do so you might not be able to boot your diff --git a/ntfsprogs/ntfsresize.c b/ntfsprogs/ntfsresize.c index 72581da6..10b2c993 100644 --- a/ntfsprogs/ntfsresize.c +++ b/ntfsprogs/ntfsresize.c @@ -59,13 +59,15 @@ static const char *resize_warning_msg = "crash may result major data loss!\n"; static const char *resize_important_msg = -"You can go on to shrink the device e.g. with 'fdisk'.\n" -"IMPORTANT: When recreating the partition, make sure you\n" -" 1) create it with the same starting disk cylinder\n" +"You can go on to shrink the device for example with Linux fdisk.\n" +"IMPORTANT: When recreating the partition, make sure that you\n" +" 1) create it at the same disk sector (use sector as the unit!)\n" " 2) create it with the same partition type (usually 7, HPFS/NTFS)\n" " 3) do not make it smaller than the new NTFS filesystem size\n" " 4) set the bootable flag for the partition if it existed before\n" -"Otherwise you may lose your data or can't boot your computer from the disk!\n"; +"Otherwise you won't be able to access NTFS or can't boot from the disk!\n" +"If you make a mistake and don't have a partition table backup then you\n" +"can recover the partition table by TestDisk or Parted's rescue mode.\n"; static const char *invalid_ntfs_msg = "Apparently device '%s' doesn't have a valid NTFS.\n"