ADD THE SLIDER CODE HERE

2011年4月28日 星期四

Hibernate 實做流程

這篇是以Normal files為主
step 1. 先下載kernel patch檔 and hibernate script  http://tuxonice.net/
step 2. patch kernel and compiler kernel
           kernel選項需要有lzo的選項(lzf我有選)

step 3. 更新完kernel後,安裝hibernate script
step 4. 接著設定參數
            (1)echo "TuxOnIce" > /hibernation-file
            (2)dd if=/dev/zero bs=1M count=1024 >> /hibernation-file
                 空間大小自訂吧!!(Document是512M)
            (3)echo /hibernation-file > /sys/power/tuxonice/file/target
            (4)cat /sys/power/tuxonice/resume
                將輸出的值copy下來,是要加入grub的參數
            (5)由於grub2已經沒有menu.lst 和 lilo.conf 我將參數值直接加到/boot/grub/grub.cfg裡(勿            
                 update-grub)
            (6)執行指令為  echo > /sys/power/tuxonice/do_hibernate




               


 

沒有留言:

張貼留言