Difference between revisions of "Tphdisk"

From ThinkWiki
Jump to: navigation, search
(fixed links)
 
(3 intermediate revisions by 3 users not shown)
Line 6: Line 6:
 
http://samba.anu.edu.au/junkcode/#tphdisk
 
http://samba.anu.edu.au/junkcode/#tphdisk
  
 +
=== Help output ===
 +
Usage: tphdisk <size in MB>
 +
.
 +
written by Andrew Tridgell <tridge@samba.org>
 +
.
 +
.
 +
This program writes a 'save2dsk.bin' hibernation file to stdout. To
 +
use it you should do something like this:
 +
.
 +
1) create a type 16 (Hidden FAT16) partition on your laptop
 +
2) format the partition with 'mkdosfs'
 +
3) mount the partition as VFAT
 +
4) create the 'save2dsk.bin' file on the partition using something like
 +
      tphdisk 280 > save2dsk.bin
 +
5) Do a full reboot
 +
.
 +
The only parameter is the size in megabytes of the save file. This
 +
needs to be at least as big as your main memory + video memory, but you
 +
can make it larger if you want to.
 +
.
 +
You should also be able to use this to create a hibernation partition
 +
by directing the output to the right device (eg. /dev/hdaX) and
 +
setting the partition type to A0.  I haven't tried this as my thinkpad
 +
doesn't seem to support hibernation partitions.
 
=== Status ===
 
=== Status ===
 
stable, finished
 
stable, finished
  
 
=== Packages ===
 
=== Packages ===
* [[:Category:Debian | Debian]] packages: http://www.think-future.de/CS/Debian/tphdisk/
+
* {{Debian}} packages: http://www.think-future.de/CS/Debian/tphdisk/
* [[:Category:Redhat | RedHat]] packages: http://dag.wieers.com/packages/tphdisk/
+
* {{Redhat}} packages: http://dag.wieers.com/packages/tphdisk/
  
 
=== Contact ===
 
=== Contact ===
Line 19: Line 43:
 
=== Related links ===  
 
=== Related links ===  
 
-->
 
-->
 +
<!-- Search WORDS: Hibernate Hibernation Linux ThinkPad SEO :-D -->
  
[[Category:Tools]] [[Category:Debian]] [[Category:Redhat]]
+
[[Category:Tools]]

Latest revision as of 16:59, 14 July 2005

tphdisk

tphdisk is a small program that enables you to create a save2dsk.bin hibernation file on a fat partition of a phoenix notebios based laptop. It is a linux replacement for the msdos program phdisk.exe.

Project Homepage / Availability

http://samba.anu.edu.au/junkcode/#tphdisk

Help output

Usage: tphdisk <size in MB>
.
written by Andrew Tridgell <tridge@samba.org>
.
.
This program writes a 'save2dsk.bin' hibernation file to stdout. To
use it you should do something like this:
.
1) create a type 16 (Hidden FAT16) partition on your laptop
2) format the partition with 'mkdosfs'
3) mount the partition as VFAT
4) create the 'save2dsk.bin' file on the partition using something like
      tphdisk 280 > save2dsk.bin
5) Do a full reboot
.
The only parameter is the size in megabytes of the save file. This
needs to be at least as big as your main memory + video memory, but you
can make it larger if you want to.
.
You should also be able to use this to create a hibernation partition
by directing the output to the right device (eg. /dev/hdaX) and
setting the partition type to A0.  I haven't tried this as my thinkpad
doesn't seem to support hibernation partitions.

Status

stable, finished

Packages

Contact

Contact the author at tridge@samba.org.