Installed Clonezilla on Ubuntu 18.04.3. When I select the local_dev, I get the following error:
Scanning dir /tmp/ocsroot_bind_root../usr/share/drbl/sbin/ocs-functions: eval: line 12703: syntax error near unexpected token <'
/usr/share/drbl/sbin/ocs-functions: eval: line 12703:cd Box options: --msgbox <text> <height> <width> --yesno <text> <height> <width> --infobox <text> <height> <width> --inputbox <text> <height> <width> [init] --passwordbox <text> <height> <width> [init] --textbox <file> <height> <width> --menu <text> <height> <width> <listheight> [tag item] ... --checklist <text> <height> <width> <listheight> [tag item status]... --radiolist <text> <height> <width> <listheight> [tag item status]... --gauge <text> <height> <width> <percent> Options: (depend on box-option) --clear clear screen on exit --defaultno default no button --default-item <string> set default string --fb, --fullbuttons use full buttons --nocancel no cancel button --yes-button <text> set text of yes button --no-button <text> set text of no button --ok-button <text> set text of ok button --cancel-button <text> set text of cancel button --noitem don't display items --notags don't display tags --separate-output output one line at a time --output-fd <fd> output to fd, not stdout --title <title> display title --backtitle <backtitle> display backtitle --scrolltext force vertical scrollbars --topleft put window in top-left corner -h, --help print this message -v, --version print version information'</p>
<p>This flashes and repeats until I kill all processes related to "ocs", In syslog there are repeated entries:</p>
<p>kernel: <span>[ 2841.354376]</span> blk_partition_remap: fail for partition 1</p>
<p>The drive is fine and works perfectly.</p></title></fd></text></text></text></text></string></percent></width></height></text></listheight></width></height></text></listheight></width></height></text></listheight></width></height></text></width></height></file></width></height></text></width></height></text></width></height></text></width></height></text></width></height></text>
We need more info, please run "drbl-bug-report" then post the generated file.
In addtion, please also tell us how to reproduce this issue about " When I select the local_dev", in detail, step-by-step.
Thanks.
Steven
drbl report:
Description of problem:
How reproducible:
Steps to Reproduce:
Actual results:
Expected results:
Some info about the DRBL environment (PLEASE DO NOT EDIT THEM!):
OS version: Ubuntu 18.04
Server arch: x86_64
Server CPU: Intel(R) Core(TM) i7-6900K CPU @ 3.20GHz
Server memory size: 16342440 kB
Server Kernel version: 4.15.0-72-generic
Installed DRBL-related packages: drbl-2.20.11-4 clonezilla-3.27.16-2 partclone-0.3.11-1build1 partimage-0.6.9-6build1 ntfsprogs-1:2012.1.15AR.5-4ubuntu3 gzip-1.6-5ubuntu1 bzip2-1.0.6-8.1ubuntu0.2 lzop-<none> pigz-2.4-1 udpcast-<none> syslinux-3:6.03+dfsg1-2
Client kernel version:
Client kernel arch:
NICs with private IP address in server: docker0 eth0
Private IP address in server: 172.18.0.1 192.168.0.5
Total client no: 1
Client IP address: dhcpd.conf not found! Program terminated!!!</none></none>
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
~$ uname -a
Linux rab-wksta.xxxxxxxx.com 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
The system has 2 internal drives. I attached 2 external USB3 drives. One had the Clonezilla directory with the saved partimgs. The drives appeared correctly after scanning. At the prompt I selected the drive/directory with the images. That's when the error occurred.
The screen flashed as the error repeated (the bash script was in a loop). and the following error rolled rapidly in syslog:
drbl report:
Description of problem:
How reproducible:
Steps to Reproduce:
Actual results:
Expected results:
Some info about the DRBL environment (PLEASE DO NOT EDIT THEM!):
OS version: Ubuntu 18.04
Server arch: x86_64
Server CPU: Intel(R) Core(TM) i7-6900K CPU @ 3.20GHz
Server memory size: 16342440 kB
Server Kernel version: 4.15.0-72-generic
Installed DRBL-related packages: drbl-2.20.11-4 clonezilla-3.27.16-2 partclone-0.3.11-1build1 partimage-0.6.9-6build1 ntfsprogs-1:2012.1.15AR.5-4ubuntu3 gzip-1.6-5ubuntu1 bzip2-1.0.6-8.1ubuntu0.2 lzop-<none> pigz-2.4-1 udpcast-<none> syslinux-3:6.03+dfsg1-2
Client kernel version:
Client kernel arch:
NICs with private IP address in server: docker0 eth0
Private IP address in server: 172.18.0.1 192.168.0.5
Total client no: 1
Client IP address: dhcpd.conf not found! Program terminated!!!</none></none>
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
~$ uname -a
Linux rab-wksta.xxxxxxxx.com 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
The system has 2 internal drives. I attached 2 external USB3 drives. One had the Clonezilla directory with the saved partimgs. The drives appeared correctly after scanning. At the prompt I selected the drive/directory with the images. That's when the error occurred.
The screen flashed as the error repeated (the bash script was in a loop). and the following error rolled rapidly in syslog:
kernel: [ 2775.039242] blk_partition_remap: fail for partition 1
Last edit: rabinnh 2019-12-25
You did not mention the steps to reproduce this issue. Please describe that in detail. Thanks.
Steven
I don't know how to respond. I listed my actions step by step. What specifically are you looking for.?
Your actions step by step? I did not see that.
What I want is, how did you start the process? Using "ocs-sr" command or "dcs"? What were the steps you have chosen?
Steven
Ok. In a terminal:
1) sudo apt-get update
2) sudo apt-get install clonezilla
3) sudo clonezilla
4) device-image work with disks or partitions using images
5) local_dv Use local device
6) Press enter to continue
7) All drives were then displayed correctly
8) Press Ctrl-C to exit the Window
9) Select the disk/directory with the Clonezilla images
10) Errors ensue
No, you have to follow this to setup and configure the DRBL system:
https://drbl.org/installation/#Setup_the_Diskless_Remote_boot_in
Both "drblsrv -i" and "drblpush -i" have to be run.
Steven
I guess I misunderstood. I thought that I could just install Clonezilla and run it locally instead of using a Live USB.
If your purpose is to use it like Clonezilla live, then at least you have to run "drblsrv -i" as root the install the required packages. You should mention your purpose in the beginning...
Steven