[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
howtos:general_admin:resize_a_qemu_raw_image_with_an_ntfs_filesytem [2013/12/15 05:17 (UTC)] – [Find the offset into the image] allendhowtos:general_admin:resize_a_qemu_raw_image_with_an_ntfs_filesytem [2013/12/15 05:18 (UTC)] – [Use ntfsresize to resize the NTFS partition] allend
Line 56: Line 56:
 <code>losetup -o$((512*63)) /dev/loop0 Windows_XP_Professional_SP_3.img</code> <code>losetup -o$((512*63)) /dev/loop0 Windows_XP_Professional_SP_3.img</code>
  
-First do a dry run+First do a dry run.
  
 <code> ntfsresize -n -s 6G /dev/loop0</code> <code> ntfsresize -n -s 6G /dev/loop0</code>
  
-If all is OK, do it for real+If all is OK, do it for real.
  
 <code>ntfsresize -s 6G /dev/loop0</code> <code>ntfsresize -s 6G /dev/loop0</code>
  
-Delete the loop device+Delete the loop device.
  
 <code>losetup -d /dev/loop0</code> <code>losetup -d /dev/loop0</code>
 howtos:general_admin:resize_a_qemu_raw_image_with_an_ntfs_filesytem ()