怎样 在clonezilla硬碟启动后,自动执行存储和恢复

617 views
Skip to first unread message

vodkaee

unread,
Mar 18, 2009, 10:15:36 AM3/18/09
to ocs-clonezilla
能否省略掉选单画面,直接使用命令行或者配置文件直接执行存储和恢复。
 
 
小弟现行谢过,谢谢各位高人。
2009-03-18

vodkaee

Steven Shiau

unread,
Mar 18, 2009, 11:53:26 PM3/18/09
to ocs-clo...@googlegroups.com
請參考這裡:
http://drbl.nchc.org.tw/clonezilla/clonezilla-live/#make_clonezilla_live

Steven.

vodkaee wrote:
> 能否省略掉选单画面,直接使用命令行或者配置文件直接执行存储和恢复。
>
>
> 小弟现行谢过,谢谢各位高人。
> 2009-03-18
> ------------------------------------------------------------------------
> vodkaee
>
> >

--
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A

kckc...@gmail.com

unread,
Mar 29, 2009, 2:06:50 PM3/29/09
to 再生龍clonezilla
請問在grub有什麼特別的設定嗎?
我照著範例做
基本設定如下
mount /dev/hda5 /home/partimag
mount /dev/hda6 /mnt
cd /home/partimag
cp /opt/drbl/samples/custom-ocs /home/partimag
/opt/drbl/sbin/ocs-live-dev -g zh_TW.UTF-8 -k NONE -s -c -m ./custom-
ocs
unzip clonezilla* -d /mnt
grub --no-floppy --root-directory=/mnt /dev/hda
reboot
重開機後,還是無法出現
restore backup 的選項
就好像只把clonezilla裝在硬碟裡面一樣
是我哪個步驟做錯了嗎?
另外我做一個備份檔default在hda5裡面了

menu.lst 如下
default 0
timeout 3
color cyan/blue white/blue
# since no network setting in the squashfs image, therefore if
ip=frommedia, the network is disabled.

title WinXP
root (hd0,0)
makeactive
chainloader +1

title Clonezilla live (Default settings, VGA 800x600)
root (hd0,5)
kernel /live/vmlinuz1 root=/dev/sda6 ro boot=live union=aufs vga=788
ip=frommedia
initrd /live/initrd1.img

title Clonezilla live (Failsafe mode)
root (hd0,5)
kernel /live/vmlinuz1 root=/dev/sda6 ro boot=live union=aufs
acpi=off irqpoll noapic noapm nodma nomce nolapic nosmp ip=frommedia
vga=normal
initrd /live/initrd1.img
===========
麻煩了謝謝

On 3月19日, 上午11時53分, Steven Shiau <ste...@nchc.org.tw> wrote:
> 請參考這裡:http://drbl.nchc.org.tw/clonezilla/clonezilla-live/#make_clonezilla_live
>
> Steven.
>
> vodkaee wrote:
> > 能否省略掉選單畫面,直接使用命令行或者配置文件直接執行存儲和恢復。
>
> > 小弟現行謝過,謝謝各位高人。
> > 2009-03-18
> > ------------------------------------------------------------------------
> > vodkaee
>
> --
> Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
> National Center for High-performance Computing, Taiwan.http://www.nchc.org.tw

Steven Shiau

unread,
Mar 30, 2009, 12:21:51 AM3/30/09
to ocs-clo...@googlegroups.com


kckc...@gmail.com wrote:
> 請問在grub有什麼特別的設定嗎?
> 我照著範例做
> 基本設定如下
> mount /dev/hda5 /home/partimag
> mount /dev/hda6 /mnt
> cd /home/partimag
> cp /opt/drbl/samples/custom-ocs /home/partimag
> /opt/drbl/sbin/ocs-live-dev -g zh_TW.UTF-8 -k NONE -s -c -m ./custom-
> ocs
> unzip clonezilla* -d /mnt
這裡你還要參考一下/mnt/syslinux/syslinux.cfg中的boot parameters(因為ocs-
live-dev寫的參數是放在syslinux/syslinux.cfg中,而不是去改你的grub),對應
修改到你的grub的設定檔menu.lst中才行。注意,grub與syslinux的設定檔語法有
點不同。

kckc...@gmail.com

unread,
Mar 30, 2009, 2:52:20 PM3/30/09
to 再生龍clonezilla
我有參考過/mnt/syslinux/syslinux.cfg檔案,跟grub的menu.lst很像,但功用應該一樣的
我的問題在於,該怎麼該我選擇hda6開機時
像網頁說的,可以讓我選擇restore or backup
照著網頁上的 "custom-ocs"和Clonezilla live整合
還是無法出現選項...

On 3月30日, 下午12時21分, Steven Shiau <ste...@nchc.org.tw> wrote:
> kckc1...@gmail.com wrote:
> > 請問在grub有什麼特別的設定嗎?
> > 我照著範例做
> > 基本設定如下
> > mount /dev/hda5 /home/partimag
> > mount /dev/hda6 /mnt
> > cd /home/partimag
> > cp /opt/drbl/samples/custom-ocs /home/partimag
> > /opt/drbl/sbin/ocs-live-dev -g zh_TW.UTF-8 -k NONE -s -c -m ./custom-
> > ocs
> > unzip clonezilla* -d /mnt
>
> 這裡你還要參考一下/mnt/syslinux/syslinux.cfg中的boot parameters(因為ocs-
> live-dev寫的參數是放在syslinux/syslinux.cfg中,而不是去改你的grub),對應
> 修改到你的grub的設定檔menu.lst中才行。注意,grub與syslinux的設定檔語法有
> 點不同。
>
>
>
> > grub --no-floppy --root-directory=/mnt /dev/hda
> > reboot
> > 重開機後,還是無法出現
> > restore backup 的選項
> > 就好像只把clonezilla裝在硬碟裡面一樣
> > 是我哪個步驟做錯了嗎?
> > 另外我做一個備份檔default在hda5里面了

kckc...@gmail.com

unread,
Mar 30, 2009, 11:07:16 AM3/30/09
to 再生龍clonezilla
我有看了/mnt/syslinux/syslinux.cfg設定檔
可否指導一下該怎麼設定,才有辦法開機的時候,讓選單出現呢?
謝謝

On 3月30日, 下午12時21分, Steven Shiau <ste...@nchc.org.tw> wrote:
> kckc1...@gmail.com wrote:
> > 請問在grub有什麼特別的設定嗎?
> > 我照著範例做
> > 基本設定如下
> > mount /dev/hda5 /home/partimag
> > mount /dev/hda6 /mnt
> > cd /home/partimag
> > cp /opt/drbl/samples/custom-ocs /home/partimag
> > /opt/drbl/sbin/ocs-live-dev -g zh_TW.UTF-8 -k NONE -s -c -m ./custom-
> > ocs
> > unzip clonezilla* -d /mnt
>
> 這裡你還要參考一下/mnt/syslinux/syslinux.cfg中的boot parameters(因為ocs-
> live-dev寫的參數是放在syslinux/syslinux.cfg中,而不是去改你的grub),對應
> 修改到你的grub的設定檔menu.lst中才行。注意,grub與syslinux的設定檔語法有
> 點不同。
>
>
>
> > grub --no-floppy --root-directory=/mnt /dev/hda
> > reboot
> > 重開機後,還是無法出現
> > restore backup 的選項
> > 就好像只把clonezilla裝在硬碟裡面一樣
> > 是我哪個步驟做錯了嗎?
> > 另外我做一個備份檔default在hda5里面了

Steven Shiau

unread,
Mar 30, 2009, 9:41:31 PM3/30/09
to ocs-clo...@googlegroups.com
你先post你由ocs-live-dev產生的syslinux/syslinux.cfg吧,這樣比較好明確的
說明。

Steven.

kckc...@gmail.com

unread,
Mar 30, 2009, 11:27:11 PM3/30/09
to 再生龍clonezilla
# Created by generate-pxe-menu! Do NOT edit unless you know what you
are doing!
# Keep those comment "MENU DEFAULT" and "MENU HIDE"! Do NOT remove
them.
# Note!!! If "serial" directive exists, it must be the first directive
default vesamenu.c32
timeout 300
prompt 0
noescape 1
MENU MARGIN 5
MENU BACKGROUND ocswp.png
# Set the color for unselected menu item and timout message
MENU COLOR UNSEL 7;32;41 #c0000090 #00000000
MENU COLOR TIMEOUT_MSG 7;32;41 #c0000090 #00000000
MENU COLOR TIMEOUT 7;32;41 #c0000090 #00000000
MENU COLOR HELP 7;32;41 #c0000090 #00000000

# MENU MASTER PASSWD

say
**********************************************************************
say Clonezilla, the OpenSource Clone System.
say NCHC Free Software Labs, Taiwan.
say clonezilla.sourceforge.net, clonezilla.nchc.org.tw
say THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN
RISK!
say
**********************************************************************

# Allow client to edit the parameters
ALLOWOPTIONS 1

# simple menu title
MENU TITLE clonezilla.sourceforge.net, clonezilla.nchc.org.tw

# Since no network setting in the squashfs image, therefore if
ip=frommedia, the network is disabled. That's what we want.
label Clonezilla live
MENU DEFAULT
# MENU HIDE
MENU LABEL Clonezilla live (Default settings, VGA 1024x768)
# MENU PASSWD
kernel /live/vmlinuz1
append initrd=/live/initrd1.img boot=live union=aufs noprompt
ocs_live_run="custom-ocs" ocs_live_extra_param=""
ocs_live_keymap="NONE" ocs_live_batch="no" ocs_lang="zh_TW.UTF-8"
vga=791 ip=frommedia nolocales
TEXT HELP
* Clonezilla live version: 20090331. (C) 2003-2008, NCHC, Taiwan
* Disclaimer: Clonezilla comes with ABSOLUTE NO WARRANTY
ENDTEXT

label Clonezilla live 800x600
# MENU DEFAULT
# MENU HIDE
MENU LABEL Clonezilla live (Default settings, VGA 800x600)
# MENU PASSWD
kernel /live/vmlinuz1
append initrd=/live/initrd1.img boot=live union=aufs noprompt
ocs_live_run="custom-ocs" ocs_live_extra_param=""
ocs_live_keymap="NONE" ocs_live_batch="no" ocs_lang="zh_TW.UTF-8"
vga=788 ip=frommedia nolocales
TEXT HELP
VGA mode 800x600. OK for most of VGA cards.
ENDTEXT

label Clonezilla live 640x480
# MENU DEFAULT
# MENU HIDE
MENU LABEL Clonezilla live (Default settings, VGA 640x480)
# MENU PASSWD
kernel /live/vmlinuz1
append initrd=/live/initrd1.img boot=live union=aufs noprompt
ocs_live_run="custom-ocs" ocs_live_extra_param=""
ocs_live_keymap="NONE" ocs_live_batch="no" ocs_lang="zh_TW.UTF-8"
vga=785 ip=frommedia nolocales
TEXT HELP
VGA mode 640x480. OK for most of VGA cards.
ENDTEXT

label Clonezilla live (To RAM)
# MENU DEFAULT
# MENU HIDE
MENU LABEL Clonezilla live (To RAM. Boot media can be removed later)
# MENU PASSWD
kernel /live/vmlinuz1
append initrd=/live/initrd1.img boot=live union=aufs noprompt
ocs_live_run="custom-ocs" ocs_live_extra_param=""
ocs_live_keymap="NONE" ocs_live_batch="no" ocs_lang="zh_TW.UTF-8"
vga=791 toram ip=frommedia nolocales
TEXT HELP
All the programs will be copied to RAM, so you can
remove boot media (CD or USB flash drive) later
ENDTEXT

label Clonezilla live without framebuffer
# MENU DEFAULT
# MENU HIDE
MENU LABEL Clonezilla live (Safe graphic settings, vga=normal)
# MENU PASSWD
kernel /live/vmlinuz1
append initrd=/live/initrd1.img boot=live union=aufs noprompt
ocs_live_run="custom-ocs" ocs_live_extra_param=""
ocs_live_keymap="NONE" ocs_live_batch="no" ocs_lang="zh_TW.UTF-8"
ip=frommedia nolocales vga=normal
TEXT HELP
Disable console frame buffer support
ENDTEXT

label Clonezilla live failsafe mode
# MENU DEFAULT
# MENU HIDE
MENU LABEL Clonezilla live (Failsafe mode)
# MENU PASSWD
kernel /live/vmlinuz1
append initrd=/live/initrd1.img boot=live union=aufs noprompt
ocs_live_run="custom-ocs" ocs_live_extra_param=""
ocs_live_keymap="NONE" ocs_live_batch="no" ocs_lang="zh_TW.UTF-8"
acpi=off irqpoll noapic noapm nodma nomce nolapic nosmp ip=frommedia
nolocales vga=normal
TEXT HELP
acpi=off irqpoll noapic noapm nodma nomce nolapic
nosmp vga=normal
ENDTEXT

label local
# MENU DEFAULT
# MENU HIDE
MENU LABEL Local operating system in harddrive (if available)
# MENU PASSWD
# 2 method to boot local device:
# (1) For localboot 0, it is decided by boot order in BIOS, so
uncomment the follow 1 line if you want this method:
# localboot 0

# (2) For chain.c32, you can assign the boot device.
# Ref: extlinux.doc from syslinux
# Syntax: APPEND [hd|fd]<number> [<partition>]
# [<partition>] is optional.
# Ex:
# Second partition (2) on the first hard disk (hd0);
# Linux would *typically* call this /dev/hda2 or /dev/sda2, then
it's "APPEND hd0 2"
#
kernel chain.c32
append hd0
TEXT HELP
Boot local OS from first hard disk if it's available
ENDTEXT

# Note! *.bin is specially purpose for syslinux,
# Do NOT use memtest.bin, use memtest instead of memtest.bin
label memtest
# MENU DEFAULT
# MENU HIDE
MENU LABEL Memory test using Memtest86+
# MENU PASSWD
kernel /live/memtest
TEXT HELP
Run memory test using Memtest86+
ENDTEXT

label FreeDOS
# MENU DEFAULT
# MENU HIDE
MENU LABEL FreeDOS
# MENU PASSWD
kernel memdisk
append initrd=/live/freedos.img
TEXT HELP
Run FreeDOS
ENDTEXT

label etherboot
# MENU DEFAULT
# MENU HIDE
MENU LABEL Network boot via etherboot
# MENU PASSWD
kernel /live/eb.zli
TEXT HELP
Run Etherbot to enable network (PXE) boot
ENDTEXT

label gPXE
# MENU DEFAULT
# MENU HIDE
MENU LABEL Network boot via gPXE
# MENU PASSWD
kernel /live/gpxe.lkn
TEXT HELP
Run gPXE to enable network (PXE) boot
ENDTEXT



On 3月31日, 上午9時41分, Steven Shiau <ste...@nchc.org.tw> wrote:
> 你先post你由ocs-live-dev產生的syslinux/syslinux.cfg吧,這樣比較好明確的
> 說明。
>
> Steven.

Steven Shiau

unread,
Mar 31, 2009, 1:37:56 AM3/31/09
to ocs-clo...@googlegroups.com
那你的grub的menu.list就類似這樣寫:
-----------------------
title Clonezilla live (Default settings, VGA 800x600)
root (hd0,5)
kernel /live/vmlinuz1 boot=live union=aufs noprompt
ocs_live_run="custom-ocs" ocs_live_extra_param=""
ocs_live_keymap="NONE" ocs_live_batch="no" ocs_lang="zh_TW.UTF-8"
vga=791 ip=frommedia nolocales
initrd /live/initrd1.img
-----------------------
(//注意//kernel那一行是只有一行,沒有換行).

你也可以參考這裡:
http://clonezilla.org/related_article/008_Batch_mode_Clonezilla_on_hard_drive/file/HOWTO-clonezilla-live-batch-hdd.pdf

Steven.

kckc...@gmail.com

unread,
Mar 31, 2009, 10:45:17 AM3/31/09
to 再生龍clonezilla
選單出現了...謝謝
可是又有問發生了
我不管選擇restroe or backup
都會出現
================
Now you can choose to:
(0) Poweroff
(1) Reboot
(2) Enter command line prompt
(3) Start over
[2]

請問是custom-ocs裡面的問題嗎?
我大致上有看了一下,裡面有一些hda1跟hda5備份還原的格式都跟我所使用的一樣
再麻煩你了...謝謝

On 3月31日, 下午1時37分, Steven Shiau <ste...@nchc.org.tw> wrote:
> 那你的grub的menu.list就類似這樣寫:
> -----------------------
> title Clonezilla live (Default settings, VGA 800x600)
> root (hd0,5)
> kernel /live/vmlinuz1 boot=live union=aufs noprompt
> ocs_live_run="custom-ocs" ocs_live_extra_param=""
> ocs_live_keymap="NONE" ocs_live_batch="no" ocs_lang="zh_TW.UTF-8"
> vga=791 ip=frommedia nolocales
> initrd /live/initrd1.img
> -----------------------
> (//注意//kernel那一行是只有一行,沒有換行).
>
> 你也可以參考這裡:http://clonezilla.org/related_article/008_Batch_mode_Clonezilla_on_ha...
>
> Steven.
> ...
>
> 閱讀更多 >>

Steven Shiau

unread,
Apr 1, 2009, 10:26:31 PM4/1/09
to ocs-clo...@googlegroups.com
Hi,
你有沒有辦法看到螢幕上更多的錯誤訊息?
你的custom-ocs內容是?
你的grub.conf內容?
完整的提供資訊,會比較容易幫你除錯。

Steven.
Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A

kckc...@gmail.com

unread,
Apr 2, 2009, 6:23:06 AM4/2/09
to 再生龍clonezilla
我有看了一下在選單跑出來前是否有錯誤
因為畫面一直在動,應該是沒有錯誤出現
另一個問題是
如果我已經用/opt/drbl/sbin/ocs-live-dev -g zh_TW.UTF-8 -k NONE -s -c -m ./
custom-ocs指令
將custom-ocs包含在zip檔案了
當我解壓縮至硬碟的時候
是否可以更改custom-ocs檔案,讓我需要的選單有更動呢?
我找到底下幾個檔
/opt/drbl/sbin/custom-ocs
/opt/drbl/samples/custom-ocs
/live/image/pkg/custom-ocs
/live/cow/opt/drbl/sbin/custom-ocs
當我開機完之後,系統是去哪一個檔呢?
以下是menu.lst、custom.ocs
謝謝


menu.lst
========================
default 0
timeout 3
color cyan/blue white/blue
# since no network setting in the squashfs image, therefore if
ip=frommedia, the network is disabled.

title WinXP
root (hd0,0)
makeactive
chainloader +1

title Clonezilla live (Default settings, VGA 800x600)
root (hd0,5)
kernel /live/vmlinuz1 boot=live union=aufs noprompt
ocs_live_run="custom-ocs" ocs_live_extra_param=""
ocs_live_keymap="NONE" ocs_live_batch="no" ocs_lang="zh_TW.UTF-8"
vga=788 ip=frommedia nolocales
initrd /live/initrd1.img
==========================
custom-ocs
===============================
#!/bin/bash
# Author: Steven Shiau <steven _at_ nchc org tw>
# License: GPL
# Ref: http://sourceforge.net/forum/forum.php?thread_id=1759263&forum_id=394751
# In this example, it will allow your user to use clonezilla live to
choose
# (1) backup the image of /dev/hda1 (or /dev/sda1) to /dev/hda5 (or /
dev/sda5)
# (2) restore image in /dev/hda5 (or /dev/sda5) to /dev/hda1 (or /dev/
sda1)
# Here we assume the filesystems are ntfs.

# When this script is ready, you can run
# /opt/drbl/sbin/ocs-iso -g en -k NONE -s -m ./custom-ocs
# to create the iso file for CD/DVD. or
# /opt/drbl/sbin/ocs-live-dev -g en -k NONE -s -c -m ./custom-ocs
# to create the zip file for USB flash drive.

# Begin of the scripts:
# Load DRBL setting and functions
if [ ! -f "/opt/drbl/sbin/drbl-conf-functions" ]; then
echo "Unable to find /opt/drbl/sbin/drbl-conf-functions! Program
terminated!"
exit 1
fi
. /opt/drbl/sbin/drbl-conf-functions
. /opt/drbl/sbin/ocs-functions
# load the setting for clonezilla live.
[ -e /etc/ocs/ocs-live.conf ] && . /etc/ocs/ocs-live.conf
# Load language files. For English, use "en". For Chinese, use
"tw.UTF-8"
ask_and_load_lang_set en

# The above is almost necessary, it is recommended to include them in
your own custom-ocs.
# From here, you can write your own scripts.

# functions
decide_sda_or_hda() {
if [ -n "$(grep -Ew sda1 /proc/partitions)" -a -n "$(grep -Ew sda5 /
proc/partitions)" ]; then
disk=sda
elif [ -n "$(grep -Ew hda1 /proc/partitions)" -a -n "$(grep -Ew
hda5 /proc/partitions)" ]; then
disk=hda
else
[ "$BOOTUP" = "color" ] && $SETCOLOR_FAILURE
echo "/dev/hda1 and /dev/hda5 do not exist or /dev/sda1 and /dev/
sda5 do not exist!"
echo "Program terminated!"
[ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL
fi
# src_part: hda1 or sda1, tgt_part: hda5 or sda5
src_part=${disk}1
tgt_part=${disk}5
}
action_backup() {
mkdir -p /home/partimag/
ntfs-3g /dev/$tgt_part /home/partimag/
RETV=$?
if [ "$RETV" -eq 0 ]; then
# If you want to run it in batch mode, add option "-b" in the ocs-
sr command
# For more options about ocs-sr, run "ocs-sr -h"
/opt/drbl/sbin/ocs-sr -l en --use-ntfsclone -z3 -p true saveparts
backup "$src_part"
else
[ "$BOOTUP" = "color" ] && $SETCOLOR_FAILURE
echo "Fail to mount /dev/$tgt_part as /home/partimag!"
echo "Program terminated!"
[ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL
fi
}

action_restore() {
mkdir -p /home/partimag/
if ! mountpoint /home/partimag/ &>/dev/null; then
ntfs-3g /dev/$tgt_part /home/partimag/
fi
if mountpoint /home/partimag/ &>/dev/null; then
# If you want to run it in batch mode, add option "-b" in the ocs-
sr command
# For more options about ocs-sr, run "ocs-sr -h"
/opt/drbl/sbin/ocs-sr -l en -p true --no-fdisk --no-restore-mbr
restoreparts backup "$src_part"
else
[ "$BOOTUP" = "color" ] && $SETCOLOR_FAILURE
echo "Fail to mount /dev/$tgt_part as /home/partimag!"
echo "Program terminated!"
[ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL
fi
}

##################
###### MAIN ######
##################
TMP=$(mktemp /tmp/menu.XXXXXX)
trap "[ -f "$TMP" ] && rm -f $TMP" HUP INT QUIT TERM EXIT
$DIA --backtitle "$msg_nchc_free_software_labs" --title \
"$msg_nchc_clonezilla" --menu "$msg_choose_mode:" \
0 0 0 \
"Backup" "Backup" \
"Restore" "Restore" \
2> $TMP
mode="$(cat $TMP)"
[ -f "$TMP" ] && rm -f $TMP

# find the device and partition
decide_sda_or_hda

#
case "$mode" in
Backup)
action_backup;;
Restore)
action_restore;;
*)
[ "$BOOTUP" = "color" ] && $SETCOLOR_FAILURE
echo "Program terminated!"
[ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL
exit 1
esac
=============================


On 4月2日, 上午10時26分, Steven Shiau <ste...@nchc.org.tw> wrote:
> Hi,
> 你有沒有辦法看到螢幕上更多的錯誤訊息?
> 你的custom-ocs內容是?
> 你的grub.conf內容?
> 完整的提供資訊,會比較容易幫你除錯。
>
> Steven.
>
> ...
>
> 閱讀更多 >>

Steven Shiau

unread,
Apr 6, 2009, 10:22:39 AM4/6/09
to ocs-clo...@googlegroups.com
kckc...@gmail.com wrote:
> 我有看了一下在選單跑出來前是否有錯誤
> 因為畫面一直在動,應該是沒有錯誤出現
> 另一個問題是
> 如果我已經用/opt/drbl/sbin/ocs-live-dev -g zh_TW.UTF-8 -k NONE -s -c -m ./
> custom-ocs指令
> 將custom-ocs包含在zip檔案了
> 當我解壓縮至硬碟的時候
> 是否可以更改custom-ocs檔案,讓我需要的選單有更動呢?
>
可以。
> 我找到底下幾個檔
> /opt/drbl/sbin/custom-ocs
> /opt/drbl/samples/custom-ocs
> /live/image/pkg/custom-ocs
> /live/cow/opt/drbl/sbin/custom-ocs
>
實際開機的時候,/live/image/pkg/custom-ocs 會被複製到
/live/cow/opt/drbl/sbin/custom-ocs。
所以你要更新的時候,就更新zip檔中的/live/image/pkg/custom-ocs。

kckc...@gmail.com

unread,
Apr 18, 2009, 6:12:46 AM4/18/09
to 再生龍clonezilla
再請問一下我的custom-ocs內容是否有什麼問題
因為我不管選擇哪個批次
都會出現
================
Now you can choose to:
(0) Poweroff
(1) Reboot
(2) Enter command line prompt
(3) Start over
這些情況
謝謝
> ...
>
> 閱讀更多 >>

Steven Shiau

unread,
Apr 22, 2009, 8:51:42 AM4/22/09
to ocs-clo...@googlegroups.com
這樣看不出哪裡有問題,因為有可能硬碟分割區跟這個custom-ocs檔內容指定的
hda1, hda5等不同。
你可能要對應修改,或者執行
cat /proc/partitions把你的硬碟中的分割區告訴我們。

Steven.

kckc...@gmail.com wrote:
> 再請問一下我的custom-ocs內容是否有什麼問題
> 因為我不管選擇哪個批次
> 都會出現
> ================
> Now you can choose to:
> (0) Poweroff
> (1) Reboot
> (2) Enter command line prompt
> (3) Start over
> 這些情況
> 謝謝
Reply all
Reply to author
Forward
0 new messages