免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2186 | 回复: 1
打印 上一主题 下一主题

[备份软件] clonezilla备份克隆ubuntu-alternative-11.10,pxe方式无法启动。请帮忙! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-12-19 14:24 |只看该作者 |倒序浏览
需要备份主机:192.168.1.10

ubuntu服务器:192.168.1.103,安装dhcp、tftp、nfs


dhcp配置:
option domain-name "192.168.1.103";
option domain-name-servers 192.168.1.103;

default-lease-time 600;
max-lease-time 7200;
next-server 192.168.1.103;
filename "pxelinux.0";

log-facility local7;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.105 192.168.1.109;
option routers 192.168.1.1;
option broadcast-address 192.168.1.255;
}



nfs配置:
root@ubuntu:/etc# cat exports
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check)
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check)
# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check)
#
/nfs *(sync,rw)




tftp配置:

root@ubuntu:/etc# cat /etc/xinetd.d/tftp
service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot/root
source = 11
cps = 100 2
flags = IPv4
}

root@ubuntu:/etc# cat /etc/default/tftpd-hpa
# /etc/default/tftpd-hpa

RUN_DAEMON="yes"
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftpboot/root"
TFTP_ADDRESS="0.0.0.0:69"
#TFTP_OPTIONS="-l -c -s"
TFTP_OPTIONS="--secure -c"


tftp根目录为:/tftpboot/root
该目录下文件有:
root@ubuntu:/etc# ls /tftpboot/root/
chain.c32 filesystem.squashfs initrd.img ipxe.lkn mboot.c32 memdisk menu.c32 pxelinux.0 pxelinux.cfg vesamenu.c32 vmlinuz


其中:pxelinux.0 memdisk mboot.c32 chain.c32 menu.c32 是从ubuntu服务器本机的/usr/lib/syslinux下面拷贝的,

filesystem.squashfs initrd.img ipxe.lkn vesamenu.c32 vmlinuz是从clonezilla live景象中live目录下面拷贝过来,clonezilla版本为clonezilla-live-20121217-raring,





pxelinux.cfg目录包含文件:
root@ubuntu:/tftpboot/root# ls pxelinux.cfg/
default default.bak graphics.conf tools



root@ubuntu:/tftpboot/root/pxelinux.cfg# cat default
default menu.c32
prompt 0
timeout 300
ONTIMEOUT local

MENU TITLE Main Menu
MENU INCLUDE pxelinux.cfg/graphics.conf
MENU AUTOBOOT Starting Local System in 300 seconds

LABEL tools
MENU LABEL ^Setup ToolBox Menu
KERNEL menu.c32
APPEND pxelinux.cfg/tools




root@ubuntu:/tftpboot/root/pxelinux.cfg# cat graphics.conf
menu color tabmsg 37;40 #80ffffff #00000000
menu color hotsel 30;47 #40000000 #20ffffff
menu color sel 30;47 #40000000 #20ffffff
menu color scrollbar 30;47 #40000000 #20ffffff

MENU WIDTH 80
MENU MARGIN 22
MENU ROWS 6
MENU TABMSGROW 15
MENU CMDLINEROW 15
MENU ENDROW 24
MENU TIMEOUTROW 13
MENU VSHIFT 6

#MENU MASTER PASSWD yourpassword
#MENU PASSPROMPT Enter Password:
#MENU PASSWORDROW 12
#MENU PASSWORDMARGIN 26

NOESCAPE 0
ALLOWOPTIONS 0





root@ubuntu:/tftpboot/root/pxelinux.cfg# cat tools
MENU TITLE Setup ToolBox Menu

LABEL Main Menu
MENU LABEL ^Return to Main Menu
KERNEL menu.c32
APPEND pxelinux.cfg/default

LABEL Clonezilla
MENU LABEL ^Clonezilla Live
KERNEL vmlinuz
APPEND initrd=initrd.img boot=live union=aufs noswap noprompt vga=788 ocs_live_keymap=NONE ocs_lang=zh_CN.UTF-8 fetch=tftp://192.168.1.103/filesystem.squashfs
root@ubuntu:/tftpboot/root/pxelinux.cfg#






所有系统均是在vm虚拟机上,当创建好另外一个虚拟机,从pxe启动之后,能够读到pxe的启动文件,加载内核,但是之后就报:waiting for live-config to be finished,然后停光标停在那里就不动了。

这问题已经折腾了我老多天。有使用clonezilla的兄弟们有没有碰到过这问题?请帮忙,万分感谢

论坛徽章:
0
2 [报告]
发表于 2012-12-19 14:25 |只看该作者


这是截图
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP