reopen 379628
found 1.13.1-6
thanks

I'm sorry to reopen this bug, but this problem happened again
on my d-i test environment.

[Test environment]
- Windows Vista Ultimate (MSDN) on VMware i386 (1024MB memory)
  18GB sda (SCSI LSI53C1030 emulation)
  and filled by Vista as /dev/sda1
- netinst.iso Debian GNU/Linux testing "Etch" - Official Snapshot i386 NETINST 
Binary-1 20070209-21:47
  includes ntfsprogs-udeb_1.13.1-6_i386.udeb
- Removed "exit 1" from partman resize.sh to skip Vista-check.
- Booted installer and tried resizing sda1 from 18GB to 10GB on partman menu.

[Result]
It made corrutpted NTFS filesystem. I can't boot/mount/read Windows no
more. Rebooting doesn't help it.

[Log]
 ...
Feb 10 11:12:09 anna[4318]: DEBUG: ask for ntfs-modules-2.6.18-4-486-di, 
matches kernel
 ...
Feb 10 11:16:16 ntfsresize: ntfsresize v1.13.1 (libntfs 9:0:0)
Feb 10 11:16:16 ntfsresize: Device name        : 
/dev/scsi/host0/bus0/target0/lun0/part1
Feb 10 11:16:16 ntfsresize: NTFS volume version: 3.1
Feb 10 11:16:16 ntfsresize: Cluster size       : 4096 bytes
Feb 10 11:16:16 ntfsresize: Current volume size: 19325252096 bytes (19326 MB)
Feb 10 11:16:16 ntfsresize: Current device size: 19325255680 bytes (19326 MB)
Feb 10 11:16:16 ntfsresize: Checking filesystem consistency ...
Feb 10 11:16:16 ntfsresize: Accounting clusters ...
Feb 10 11:16:16 ntfsresize: Space in use       : 8712 MB (45.1%)
Feb 10 11:16:16 ntfsresize: Collecting resizing constraints ...
Feb 10 11:16:16 ntfsresize: You might resize at 8711770112 bytes or 8712 MB 
(freeing 10614 MB).
Feb 10 11:16:16 ntfsresize: Please make a test run using both the -n and -s 
options before real resizing!
Feb 10 11:16:16 anna-install: Installing ntfs-modules
Feb 10 11:16:16 anna[10587]: DEBUG: resolver (kernel-image-2.6.18-4-486-di): 
package doesn't exist (ignored)
Feb 10 11:16:16 kernel: NTFS driver 2.1.27 [Flags: R/W MODULE].
Feb 10 11:16:16 kernel: NTFS volume version 3.1.
Feb 10 11:16:16 partman: Partition /dev/sda1 contains Windows Vista
Feb 10 11:16:16 partman: Resizing of Vista NTFS partitions is not supported
Feb 10 11:16:16 partman: See http://bugs.debian.org/379835 for details
Feb 10 11:16:28 init: Starting pid 1036, console /dev/vc/2: '/bin/sh'
Feb 10 11:17:02 ntfsresize: ntfsresize v1.13.1 (libntfs 9:0:0)
Feb 10 11:17:02 ntfsresize: Device name        : 
/dev/scsi/host0/bus0/target0/lun0/part1
Feb 10 11:17:02 ntfsresize: NTFS volume version: 3.1
Feb 10 11:17:02 ntfsresize: Cluster size       : 4096 bytes
Feb 10 11:17:02 ntfsresize: Current volume size: 19325252096 bytes (19326 MB)
Feb 10 11:17:02 ntfsresize: Current device size: 19325255680 bytes (19326 MB)
Feb 10 11:17:02 ntfsresize: Checking filesystem consistency ...
Feb 10 11:17:02 ntfsresize: Accounting clusters ...
Feb 10 11:17:02 ntfsresize: Space in use       : 8712 MB (45.1%)
Feb 10 11:17:02 ntfsresize: Collecting resizing constraints ...
Feb 10 11:17:02 ntfsresize: You might resize at 8711770112 bytes or 8712 MB 
(freeing 10614 MB).
Feb 10 11:17:02 ntfsresize: Please make a test run using both the -n and -s 
options before real resizing!
Feb 10 11:17:02 anna-install: Installing ntfs-modules
Feb 10 11:17:02 kernel: NTFS volume version 3.1.
Feb 10 11:17:02 partman: Partition /dev/sda1 contains Windows Vista
Feb 10 11:17:02 partman: Resizing of Vista NTFS partitions is not supported
Feb 10 11:17:02 partman: See http://bugs.debian.org/379835 for details
Feb 10 11:52:19 ntfsresize: ntfsresize v1.13.1 (libntfs 9:0:0)
Feb 10 11:52:19 ntfsresize: Device name        : 
/dev/scsi/host0/bus0/target0/lun0/part1
Feb 10 11:52:19 ntfsresize: NTFS volume version: 3.1
Feb 10 11:52:19 ntfsresize: Cluster size       : 4096 bytes
Feb 10 11:52:19 ntfsresize: Current volume size: 19325252096 bytes (19326 MB)
Feb 10 11:52:19 ntfsresize: Current device size: 19325255680 bytes (19326 MB)
Feb 10 11:52:19 ntfsresize: New volume size    : 9999995392 bytes (10000 MB)
Feb 10 11:52:19 ntfsresize: Checking filesystem consistency ...
Feb 10 11:52:19 ntfsresize: Accounting clusters ...
Feb 10 11:52:19 ntfsresize: Space in use       : 8712 MB (45.1%)
Feb 10 11:52:19 ntfsresize: Collecting resizing constraints ...
Feb 10 11:52:19 ntfsresize: Needed relocations : 384236 (1574 MB)
Feb 10 11:52:19 ntfsresize: Schedule chkdsk for NTFS consistency check at 
Windows boot time ...
Feb 10 11:52:19 ntfsresize: Resetting $LogFile ... (this might take a while)
Feb 10 11:52:19 ntfsresize: Relocating needed data ...
Feb 10 11:52:19 ntfsresize: Updating $BadClust file ...
Feb 10 11:52:19 ntfsresize: Updating $Bitmap file ...
Feb 10 11:52:19 ntfsresize: Updating Boot record ...
Feb 10 11:52:19 ntfsresize: Syncing device ...
Feb 10 11:52:19 ntfsresize: Successfully resized NTFS on device 
'/dev/scsi/host0/bus0/target0/lun0/part1'.
Feb 10 11:52:19 ntfsresize: You can go on to shrink the device for example with 
Linux fdisk.
Feb 10 11:52:19 ntfsresize: IMPORTANT: When recreating the partition, make sure 
that you
Feb 10 11:52:19 ntfsresize:   1)  create it at the same disk sector (use sector 
as the unit!)
Feb 10 11:52:19 ntfsresize:   2)  create it with the same partition type 
(usually 7, HPFS/NTFS)
Feb 10 11:52:19 ntfsresize:   3)  do not make it smaller than the new NTFS 
filesystem size
Feb 10 11:52:19 ntfsresize:   4)  set the bootable flag for the partition if it
existed before
Feb 10 11:52:19 ntfsresize: Otherwise you won't be able to access NTFS or can't
boot from the disk!
Feb 10 11:52:19 ntfsresize: If you make a mistake and don't have a partition 
table backup then you
Feb 10 11:52:19 ntfsresize: can recover the partition table by TestDisk or 
Parted's rescue mode.
Feb 10 11:52:19 ntfsresize: ntfsresize v1.13.1 (libntfs 9:0:0)
Feb 10 11:52:19 ntfsresize: ERROR(2): Failed to check 
'/dev/scsi/host0/bus0/target0/lun0/part1' mount state: No such file or directory
Feb 10 11:52:19 ntfsresize: Probably /etc/mtab is missing. It's too risky to 
continue. You might try
Feb 10 11:52:19 ntfsresize: an another Linux distro.
Feb 10 11:52:19 partman: Error resizing the NTFS file system to the partition 
size

partman shows:
SCSI1 (0,0,0) (sda) - 19.3 GB VMware, VMware Virtual S
      1. primary  10.0 GB B
         pri/log   9.3 GB    FREE SPACE

Thanks,
-- 
Kenshi Muto
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to