[Desktop] ald 4 suspend to disk

Andrei Lomov =?iso-8859-1?q?lomov_=CE=C1_math=2Ensc=2Eru?=
Чт Окт 11 20:08:14 MSD 2007


Anton Farygin wrote:

> Не совсем, у kpowersave ещё пачка скриптов выполняется, облегчающих
> зависание.
> 
> Точнее выполняет их powersaved
> 
> смотрите powersave --help под пользователем.

Вот некоторая информация:

$  powersave -U


 The resume partition is not set up. Probably you need to add a 'resume=...'
option to your kernel command line and reboot.

# cat /etc/lilo.conf
...
lba32
compact
prompt
message="/boot/splash/desktop/message"
boot="/dev/hda"
map="/boot/map"
timeout="100"
install="menu"
append="panic=30 splash=silent resume=swap:/dev/hda9"
default="ALTLinux"
#default="3.0.4+"

image="/boot/vmlinuz"
        label="ALTLinux"
        initrd="/boot/initrd.img"
        root="UUID=f4d82556-ed71-4ec9-9e4d-d32ff0ca2541"
        append="splash=silent"
        read-only
...

[root на note ~]#  /sbin/fdisk /dev/hda

The number of cylinders for this disk is set to 5168.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 40.0 GB, 40007761920 bytes
240 heads, 63 sectors/track, 5168 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1208     9132448+   7  HPFS/NTFS
/dev/hda2            4574        5168     4498200   12  Compaq diagnostics
/dev/hda3            1209        4573    25439369    f  W95 Ext'd (LBA)
/dev/hda5            1209        1830     4702288+  83  Linux
/dev/hda6            1831        1972     1073488+  82  Linux swap / Solaris
/dev/hda7            1973        2594     4702288+  83  Linux
/dev/hda8            2595        4435    13917928+  83  Linux
/dev/hda9            4436        4573     1043248+  82  Linux swap / Solaris

Partition table entries are not in disk order




-- 
Всего доброго,
А.Л.





Подробная информация о списке рассылки Desktop