[ltp] Can't hibernate (SMAPI BIOS error)
Dr. Edmund Weitz
linux-thinkpad@www.bm-soft.com
25 Aug 2001 18:04:53 +0200
Markus Alt <altmark@de.ibm.com> writes:
> Really strange. My hibernation partition is marked as hidden:
>
> root@altmark: root (9) # fdisk -l /dev/hda | grep hda2
> /dev/hda2 256 327 544320 16 Hidden FAT16
I though I had it when I read this!!! (I thought...)
When I did the same with my hard disk I got
root@bird:/home/edi > fdisk -l /dev/hda | grep hda3
/dev/hda3 4094 4134 309960 e Win95 FAT16 (LBA)
Looks like PartitionMagic has another concept of "FAT16". (To be
honest, up until now I didn't know there were so many different FAT
partition types.)
Anyway, I followed Vivek's procedure and used fdisk to delete the
partition and create a new one (primary partition #3 on /dev/hda3),
then I marked it as bootable and changed its partition type to 6 (for
FAT16). The next step was to use mkfs.msdos -F 16 /dev/hda3 to create
a filesystem on this partition.
Finally, I rebooted from the floppy disk. (Markus - yes, it was
created from the stndalhd.exe file that you referred to.) It gave me
the option to create a hibernation file and I did it. I rebooted to
Linux and still cannot hibernate!!!!
I toggled the bootable flag, made the partition hidden - nothing
helped. I'm still where I was a couple of days ago (only a few dozen
reboots more). FYI here is my setup. Maybe one of you can see
something that I don't see:
root@bird:/home/edi > fdisk -l /dev/hda
Disk /dev/hda: 240 heads, 63 sectors, 4134 cylinders
Units = cylinders of 15120 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 2025 15308968+ 7 HPFS/NTFS
/dev/hda2 2026 4093 15634080 f Win95 Ext'd (LBA)
/dev/hda3 4094 4134 309960 6 FAT16
/dev/hda5 2026 2060 264568+ 82 Linux swap
/dev/hda6 2061 4093 15369448+ 83 Linux
root@bird:/home/edi > mount -t vfat /dev/hda3 /mnt
root@bird:/home/edi > ls -l /mnt
total 271792
-r-xr-xr-x 1 root root 278315008 Aug 25 17:37 save2dsk.bin
One last straw: When the hibernation floppy asked for the size of my
hibernation file I chose the default value (see above) which I think
should be correct for 256MB RAM plus the Savage card. Did you guys
choose another size?
Thanks,
Edi.
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html