В общем захотелось мне попробовать tuxOnIce.
Мои действия:
Скачал ядро версии 2.6.35.2 и tuxOnIce, пропатчил ядро, сконфигурировал для себя - вроде всё работает, кроме tuxOnIce.
При попытке усыпить компьютер:
Проблема 1:
Код: Выделить всё
ABORTING: resume is not setup correctly. Unless you have setup your bootloader
correctly, resuming will most likely fail. To correct this, add
"resume=UUID=7cbb4600dff4452581eea27a94946cff:0x163c000" to your kernel command line in your
LILO or GRUB configuration file and reboot.
hibernate: Aborting.
Добавил в /etc/grub.d/40_custom
Код: Выделить всё
menuentry 'Ubuntu, with Linux 2.6.35-bfqbfs' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd1,1)'
search --no-floppy --fs-uuid --set eb17809d-3517-4a99-8ee7-3f815e9f0f51
linux /vmlinuz-2.6.35-ci root=UUID=7cbb4600-dff4-4525-81ee-a27a94946cff ro quiet splash resume=UUID=7cbb4600dff4452581eea27a94946cff:0x163c000
initrd /initrd.img-2.6.35-ci
}
Ошибка осталась. Как подружить grub2 и tuxOnIce
2. Проблема(и похоже главная)
в dmesg:
Код: Выделить всё
TuxOnIce: Can't translate "UUID=7cbb4600dff4452581eea27a94946cff" into a device id yet.
В FAQ сказано:
A misspelt resume= option on your kernel command line.
You are using an initrd, and IDE support is built as modules and the modules are not loaded yet. Load the IDE modules before calling the resume process in the initrd.
You are using an initrd, and it does not contain a /sys/ directory.
Первые 2 варианта отпадают. Посмотрел я в initrd и уведел, что /sys там нет, также как нет там и /proc, и /dev.
Как мне собрать initrd чтобы все 3 директории там появились?
Как оно вообще может загружаться? о.О
Спасибо!