Re: [Drbl-user] Setting default bootlabel back to local after successfull restore
Brought to you by:
steven_shiau
From: Tom H. <T.H...@op...> - 2011-01-05 16:21:48
|
Dear Steven, This issue is also reproducible with the latest stable drbl. (This time, I tried with an Ubuntu server with different hardware.) You can easily reproduce by starting plink.exe from the Windows machine you want to restore, this means ssh-ing into the server. Plink is a command-line interface to PuTTY, freely available online. Example: plink.exe -v -ssh <login>@<serverIP> -pw <password> "/opt/drbl/sbin/drbl-ocs ... -h " <clientIP>" -l en_US.UTF-8 startparts restore <imagename> <partition>" I am wondering...does this bug have to do with the fact that the original "controlling" terminal is gone, since this machine was restored? Some info about the DRBL environment (PLEASE DO NOT EDIT THEM!): === OS version: Ubuntu 10.04 Server arch: i686 Server CPU: Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz Server memory size: 2060512 kB Server Kernel version: 2.6.32-21-generic Installed DRBL-related packages: drbl-1.9.7-28 clonezilla-2.3.7-41 mkswap-uuid-0.1.1-1 drbl-partimage-0.6.8-1drbl partclone-0.2.16-drbl1 drbl-chntpw-0.0.20040818-7 drbl-lzop-1.02-0.8drbl pigz-2.1.5-1drbl pbzip2-1.0.5-1ubuntu1 mkpxeinitrd-net-1.5-10 udpcast-20100130-1drbl gpxe-1.0.1-1drbl freedos-1.0-15drbl drbl-ntfsprogs-2.0.0-4 Client kernel version: 2.6.32-27-386 Client kernel arch: i486 NICs with private IP address in server: eth0 Private IP address in server: 10.15.0.150 Total client no: 1 Client IP address: 10.15.0.151 === Thanks again, Tom. -----Original Message----- From: Steven Shiau [mailto:st...@nc...] Sent: woensdag 5 januari 2011 12:13 To: drb...@li... Subject: Re: [Drbl-user] Setting default bootlabel back to local after successfull restore "drbl-1.9.6-35 clonezilla-2.3.6-42" -> The drbl and clonezilla you are using is very old. Is that possible you can try the latest one? Steven. On 2011/1/3 下午 06:48, Tom Heyligen wrote: > Dear DRBL users, > > Description of problem: > Setting default bootlabel back to local after successfull restore > > How reproducible: > Always in my environment... > > Steps to Reproduce: > (1) Prepare a "unicast restore partition" session by running a script on > the client (Windows) machine which logs in to the Linux server via ssh, > and starts /opt/drbl/sbin/drbl-ocs -b -g auto -e1 auto -e2 -x -r -j2 -k > -p reboot -h "<IP>" -l en_US.UTF-8 startparts restore<image> sda1 > (2) Reboot this client machine (running Windows) you would like to > restore. > (3) Client machine boots from network, receives DRBL from server, and > Clonezilla successfully restores Windows. > (4) Client machine notifies the clonezilla server that restore job is > done. > > Actual results: > When I run /opt/drbl/sbin/drbl-ocs remotely via ssh, the correct TCP > data is sent to server (I confirmed with Wireshark), but *not* printed > as text to the serverconsole. The TCP data looks like "<clientIP> > <clientMAC> Unicast restored<image>, /dev/sda1, success, 9735 MB, > 13.741 mins, 708.0 MB/min;". The timestamp of the file > /tftpboot/nbi_img/pxelinux.cfg/<HEX_IP> is *not* updated since the > /opt/drbl/sbin/drbl-ocs command (before restore). In this file, I see > that "label clonezilla" is still the menu default. After reboot of > client machine, clonezilla starts *again* to restore, instead of > starting the local Windows OS... > > Expected results: > When I run /opt/drbl/sbin/drbl-ocs locally on the server, this "Unicast > restored success" TCP data is really printed as text on the > serverconsole. The file /tftpboot/nbi_img/pxelinux.cfg/<HEX_IP> is > available. In this file, I see that "label local" is the new menu > default. After reboot, client machine boots from network, bootmenu > default is "local" label, so Windows gets correctly started. > > Note: > This topic was originally started on > http://sourceforge.net/projects/clonezilla/forums/forum/799287/topic/402 > 2505 > > > Some info about the DRBL environment (PLEASE DO NOT EDIT THEM!): > === > OS version: CentOS 4.8 > Server arch: x86_64 > Server CPU: AMD Opteron(tm) Processor 248 > Server memory size: 2055344 kB > Server Kernel version: 2.6.9-89.ELsmp > Installed DRBL-related packages: drbl-1.9.6-35 clonezilla-2.3.6-42 > mkswap-uuid-0.1.1-1 drbl-partimage-0.6.8-1drbl partclone-0.2.11-1drbl > drbl-chntpw-0.0.20040818-7 drbl-lzop-1.02-0.8drbl pigz-2.1.6-1drbl > pbzip2-1.1.1-1drbl mkpxeinitrd-net-1.5-7 udpcast-20100130-1drbl > drbl-etherboot-5.4.3-2 gpxe-1.0.0-1drbl freedos-1.0-15drbl > drbl-ntfsprogs-2.0.0-4 > Server glibc ver and arch: glibc-2.3.4-2.43 > glibc-2.3.4-2.43 i686x86_64 > Client kernel version: 2.6.9-89.EL > Client kernel arch: x86_64 > NICs with private IP address in server: eth1 > Private IP address in server: 10.15.0.101 > Total client no: 4 > Client IP address: 10.15.0.150 10.15.0.151 10.15.0.152 10.15.0.153 > === > > > Thanks, > Tom. |