l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
September 2: Social gathering
Next Installfest:
TBD
Latest News:
Aug. 18: Discounts to "Velocity" in NY; come to tonight's "Photography" talk
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
PQDisk -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
                                                                                
info_file
===
Select Drive 1
Select Partition Number 1
Check
Info /Usage /Waste /Partition /FS
===
                                                                                
command_file
===
Select Drive 1
Select Partition Number 1
Check
Resize Min
Resize Larger 2048
===
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
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:
O'Reilly and Associates
For numerous book donations.