2010年4月24日 星期六

再生龍安裝到eeepc 1000的sdb4


我試照這下面網頁做,想將再生龍裝到sdb4,notebook就能直接備份或還原,就不需要在燒一片live光碟(或live-usb),這樣是比較方便,
http://drbl.nchc.org.tw/clonezilla/clonezilla-live/livehd.php
可是在GRUB2開機一直無法成功
嘗試幾次後發現只要加入
search --no-floppy --fs-uuid --set 5ff3e30c-2d11-4ad6-8814-150f5da933d4
GRUB2就能正確啟動再生龍
這是5ff3e30c-2d11-4ad6-8814-150f5da933d4(原來這只是標籤,Gparted沒給標籤就會出現一長串),掛載上分割區的標籤,那如何得知,很簡單,ubuntu-位置-點選該裝置就會被掛載,終端機下ls /media就會出現

ls /media
5ff3e30c-2d11-4ad6-8814-150f5da933d4

我的/etc/grub.d$ sudo vi 40_custom如下





#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Clonezilla-live-1.2.5-2-686" {
set root=(hd1,4)
search --no-floppy --fs-uuid --set 5ff3e30c-2d11-4ad6-8814-150f5da933d4
linux /live-hd/vmlinuz boot=live union=aufs vga=788 ip=frommedia live-media-path=/live-hd bootfrom=/dev/sdb4 toram=filesystem.squashfs
initrd /live-hd/initrd.img
}

netbook OS:ubuntu 10.04(裝在16G記憶卡),硬碟裝有其他2套OS
硬碟分割器:Gparted

沒有留言: