l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Mar 21 22:18

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Mini Howto: resize NTFS with PQDisk (from v1.0 Xandros CDs)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Mini Howto: resize NTFS with PQDisk (from v1.0 Xandros CDs)

v1.0 Xandros CDs come with a problem called PQDisk, which can be used to
resize NTFS partitions among others types.
If you happen to have a Xandros CD then you can boot up your machine
using the cd, switch to a command shell window to resize a drive... 

It's also possible to boot from some other media (like two debian
rescue floppies) then mount the disk and use the CD to resize.  However
you may need to use do something like
"LD_LIBRARY_PATH=/cdrom/live/usr/lib:/cdrom/live/lib /cdrom/live/bin/PQDisk" 
to use the shared libraries from the CD...).
The PQDisk program is a program meant to be called from scripts, so
it has no user interface.  It has a few command line arguments, but
most control is done by giving it a command script to run.
Here is some example syntax... the "command_file" below would shrink a
NTFS partition to as small as it can be, then grow it by 2 Gigs.
# get drive info
# check script for okay-ness, don't apply changes
PQDisk -CMD=command_file -LOG=Log -SCO
# apply script.
PQDisk -CMD=command_file -LOG=Log
Select Drive 1
Select Partition Number 1
Info /Usage /Waste /Partition /FS
Select Drive 1
Select Partition Number 1
Resize Min
Resize Larger 2048
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.