Menu

cant boot clonezilla live with DRBL

robina80
2025-06-05
2025-06-12
  • robina80

    robina80 - 2025-06-05

    hi all,

    configured DRBL to just use it with clonezilla live OS and when i did command "drblpush -i"

    i answered to the questions

    2 - i do not want to provide diskless linux service to client
    3 - use clonezilla live as the os
    2 - alternative stable (ubuntu based)

    and it says the cpu arch for clients when running clonezilla job is "amd64"

    it boots succesfully into DRBL as i see the pxe screen and i select "clonezilla" but now i get the below about my nic driver, ive tried the "alternative stable" and the "alternative testing"

    thanks,
    rob

     

    Last edit: robina80 2025-06-05
  • robina80

    robina80 - 2025-06-06

    ok im getting somewhere...(see pic)

    what i did was in /etc/exports all the shares i changed the ip to a * so all clients can access, then i did

    systemctl restart nfs-kernel-server
    exportfs -av
    

    but now for some reason it thinks my nfs server is the gateway ip, how do i change this to the DRBL's server ip

    dont know why this is happening as i did run below as i have another dhcp server

    /usr/sbin/drbl-proxy-dhcp enable
    

    any help please

    thanks,
    rob

     

    Last edit: robina80 2025-06-06
  • robina80

    robina80 - 2025-06-07

    is that the problem tho to download a different iso, i think this one works but it cant find the nfs server as that ip is my gateway ip not the DRBL ip

    im trying this command to point to my nfs server

    drbl-ocs-live-prep -a x64 -b alternative -s 10.110.10.60 -i clonezilla-live-20250512-plucky-x64.iso
    Try to download Clonezilla live iso file from network...
    The CPU arch for client was assigned as: x64
    Available Clonezilla live iso URL: clonezilla-live-20250512-plucky-x64.iso
    Put Clonezilla live in this DRBL server...
    Modifying option diskless_client_os in drbl-ocs.conf...
    root@clonezilla:~#
    

    this doesnt look like its downloaded the iso file, so where do i put the iso file please or the contents of it, also do i need to modify "grub.cfg"?

    OR

    do i need to a put my nfs server ip in below

    menuentry "Clonezilla" --id clonezilla-se-client {
      echo "Enter Clonezilla..."
      echo 'Loading Linux kernel vmlinuz-pxe...'
      $linux_cmd vmlinuz-pxe devfs=nomount drblthincli=off selinux=0 quiet text 1 drbl_bootp=$net_default_next_server edd=on
      echo 'Loading initial ramdisk initrd-pxe.img...'
      $initrd_cmd initrd-pxe.img
    

    shall i append in "$linux_cmd" like

    netboot=nfs nfsroot=192.168.150.254:/tftpboot/node_root/clonezilla-live/ ocs_server="192.168.150.254"
    

    but change the ips to my DRBL server ?

    thanks,
    rob

     

    Last edit: robina80 2025-06-07
  • robina80

    robina80 - 2025-06-09

    ok ive sorted it by following this link

    https://std.rocks/gnulinux_clonezilla_drbl.html

    menuentry "Clonezilla-live" --id clonezilla-se-client {
      echo "Enter Clonezilla..."
      echo 'Loading Linux kernel vmlinuz-pxe...'
      #Add live-netdev="eth0" to force eth0 as primary interface and avoid WWAN0 boot priority see : https://sourceforge.net/p/clonezilla/discussion/Help/thread/1f90134ddd/
      $linux_cmd Clonezilla-live-vmlinuz initrd=Clonezilla-live-initrd.img boot=live union=overlay username=user hostname=hirsute config components noswap edd=on nomodeset enforcing=0 locales=en_US.UTF-8 keyboard-layouts=en ocs_live_extra_param= ocs_live_batch=no net.ifnames=0 noeject netboot=nfs nfsroot=192.168.10.1:/tftpboot/node_root/clonezilla-live/ ocs_server="192.168.10.1" ocs_daemonon=\"ssh\" ocs_prerun=\"mount -t nfs 192.168.10.1:/home/partimag /home/partimag/\" ocs_live_run=\"clonezilla -l en_US.UTF-8 -p choose  -k --skip-lite-menu  \"
      echo 'Loading initial ramdisk initrd-pxe.img...'
      $initrd_cmd Clonezilla-live-initrd.img
    }
    

    i think you guys need to update your clonezilla pxe section as its old

    https://clonezilla.org/livepxe.php

     
  • robina80

    robina80 - 2025-06-09

    ok trying this but i got a error, can you let me know whats wrong

    $linux_cmd Clonezilla-live-vmlinuz initrd=Clonezilla-live-initrd.img boot=live union=overlay username=user config components noswap edd=on nomodeset enforcing=0 locales=en_US.UTF-8 keyboard-layouts=us ocs_live_extra_param= ocs_live_batch=no net.ifnames=0 nosplash noeject netboot=nfs nfsroot=10.100.1.1:/tftpboot/node_root/clonezilla-live/ ocs_server="10.100.1.1" ocs_daemonon=\"ssh\" ocs_prerun=\"mount -t nfs 10.100.1.1:/home/partimag /home/partimag/\" ocs_live_run=\"ocs-sr -l en_US.UTF-8 -g auto -e1 auto -e2 -r -k1 -p reboot\"
    

    basically i just want to run clonezilla live pxe and ask them whether they want to save or restore disk/part, so im thinking something is wrong with my "ocs_live_run", also i want to change from nfs to smb for the clonezilla repositry?

    thanks,
    rob

     

    Last edit: robina80 2025-06-11
  • robina80

    robina80 - 2025-06-12

    tbh im closing this thread as I have done it following this guide as described before

    https://std.rocks/gnulinux_clonezilla_drbl.html

     
    👍
    1

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.