[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: help with lphdisk & restoring hibernation partition



> I have a single disk partitioned into
> 
> /dev/hda1  -->  3905 MB boot
> /dev/hda2  -->   78 MB swap
> /dev/hda3  -->   115 MB hibernation partition (Type A0, IBM Thinkpad 
> hibernation)
> 
> When I run lphdisk from the command line, it reports:
> 
> Recommended partition size is 132 MB.
> parse_table: Partition 1 overlaps with Partition 0!
> Unable to parse partition table.
 
Your fdisk values are illegal somehow.

lphdisk is supposed to create a hibernation partition for you of the
Phoenix BIOS variety.  You really ought to get rid of the hibernation
partition you already have if you want lphdisk to make one for you.

The clear physical space you will need has to be enough for your true RAM,
your full video RAM, and some overhead.  lphdisk can do the math for you
but won't eat a portion out of other partitions to get it for you - too
dangerous, not the "keep it simple" style that makes things work well under
UNIX.  So, you have to have enough clear space already, maybe use parted
to trim something back if you're short on room.
 
If your hibernation partition is sized wrong neither MSwin nor Linux (nor 
in fact any other OS you put on there) will suspend happily at all.

> I'm trying to restore the hibernation functionality of my HP Omnibook 4100.  
> Can anyone help me with understanding what I need to do to get lphdisk to 
> work?
 
lphdisk needs two very basic things:
1. a Phoenix BIOS 
2. clear space at the end of the disk.  Actually recent revisions it might
   be ok anywhere, but end-of-disk worked even before he was finished with 
   it enough to roll out the code for download the first time.

> One person told me that I need to create a /dev/hda4 partition, but I don't 
> know how to get fdisk or cfdisk to create a /dev/hda4 partition.
 
Current revs of lphdisk should make the extra partition... I think.

fdisk:  read the man pages and /usr/share/doc/fdisk carefully before 
continuing this thread.  If you do not then a bunch of what we say will 
whizz right past you.

> TIA.
> Mark

Welcome to the world of debian laptops, hope we can make your stay more 
pleasant soon.

* Heather Stern * star@ many places...



Reply to: