Menu

No ext4 support with customized 1.2.6-59

cuicui
2011-02-02
2013-04-05
  • cuicui

    cuicui - 2011-02-02

    Hello,

    I've created a customized live CD of CloneZilla 1.2.6-59 (x86) for adding the "firmware-bnx2" package and deleting the "qla2xxx" module. I used this command :

    create-debian-live -f 686 -l e -b unstable -d sid -i customized -a firmware-bnx2 -c 'non-free main'

    I can boot this live CD with PXE but it does not supports ext4, I'm trying to clone a Red Hat Enterprise Linux 6 installation, which is LVM+ext4 by default and I have this error message :

    "Starting saving /dev/vg_rhel6/lv_root as /home/partimag/rhel6.img/vg_rhel6-lv_root.XXX…
    /dev/vg_rhel6/lv_root filesystem: ext4.
    *****************************************************.
    Checking the disk space…
    This file system is not supported by smart programs, e.g. partclone, partimage or ntfsclone, or you force to use dd to save the file system: ext4
    Use this method to save the image instead of partclone, partimage or ntfsclone: dd + gzip
    dd will save and restore all the blocks in the harddrive, no matter if the block is used or not.
    THIS WILL BE VERY INEFFICIENT AND MIGHT TAKE VERY LONG TIME…
    The status report in this mode is very primitive…"

    How do I have the "firmware-bnx2" package, the "qla2xxx" module excluded and etx4 support?

    Regards,

     
  • Steven Shiau

    Steven Shiau - 2011-02-09

    On what environment did you run the command "create-debian-live -f 686 -l e -b unstable -d sid -i customized -a firmware-bnx2 -c 'non-free main'"?
    Did you check this before?
    http://clonezilla.org/create_clonezilla_live_from_scratch.php

    Steven.

     
  • cuicui

    cuicui - 2011-02-10

    Thanks for your reply,

    I'm not sure what you mean by the "environment" : I'm booting the clonezilla stable iso on a vmware virtual machine, I've created a ext3 partition and mounted this partition on /home/partimag

    I followed your link and realized that I forgot to install the "clonezilla" and "drbl" packages (it was obviously working fine without them).

    Now I cannot create a customized iso, I have this error :

    P: Deconfiguring file /etc/kernel-img.conf
    P: Deconfiguring file /etc/apt/sources.list
    P: Deconfiguring file /etc/apt/apt.conf
    P: Deconfiguring file /etc/hostname
    P: Deconfiguring file /bin/hostname
    P: Deconfiguring file /etc/resolv.conf
    P: Deconfiguring file /etc/hosts
    P: Deconfiguring file /usr/sbin/policy-rc.d
    P: Deconfiguring file /usr/sbin/initctl
    P: Deconfiguring file /sbin/start-stop-daemon
    P: Deconfiguring file /etc/debian_chroot
    P: Begin unmounting /sys...
    P: Begin unmounting /selinux...
    P: Begin unmounting /proc...
    P: Begin unmounting /dev/pts...
    P: Begin caching chroot stage...
    P: Begin unmounting filesystems...
    P: Setting up cleanup function
    P: Begin copying chroot...
    P: This may take a while.
    P: Begin mounting /dev/pts...
    P: Begin mounting /proc...
    P: Begin mounting /sys...
    P: Configuring file /etc/hosts
    P: Configuring file /etc/resolv.conf
    P: Configuring file /etc/hostname
    P: Configuring file /bin/hostname
    P: Configuring file /usr/sbin/policy-rc.d
    P: Configuring file /usr/sbin/initctl
    P: Configuring file /etc/apt/apt.conf
    P: Configuring file /etc/apt/sources.list
    Reading package lists... Done
    Building dependency tree... Done
    P: Begin building root filesystem image...
    Reading package lists... Done
    Building dependency tree... Done
    The following extra packages will be installed:
      liblzo2-2
    The following NEW packages will be installed:
      liblzo2-2 squashfs-tools
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 193 kB of archives.
    After this operation, 532 kB of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
      liblzo2-2 squashfs-tools
    E: There are problems and -y was used without --force-yes
    P: Begin unmounting filesystems...
    
     
  • cuicui

    cuicui - 2011-02-10

    I managed to create a valid iso based on squeeze and a local mirror but I still have the ext4 problem :

    create-debian-live -l e -d squeeze -i customized -a firmware-bnx2 -c 'non-free main'
    

    I'll try to synchronize a "sid" repository and try again.

     
  • cuicui

    cuicui - 2011-02-11

    Ok, with a local "sid" mirror, I can generate a valid iso image with : "create-debian-live -f 686 -l e -b unstable -d sid -i customized -a firmware-bnx2 -c 'non-free main' " but I still have the ext4 problem…

     
  • cuicui

    cuicui - 2011-02-14

    Instead of building an image for scratch just to add the "firmware-bnx2" package, I took the official ISO and edited "initrd.img" to inject the bnx2 firmwares (named "bnx2-mips-06-5.0.0.j3.fw" and "bnx2-rv2p-06-5.0.0.j3.fw" in my case).

    I also remove "qla2xxx.ko" and added "blacklist qla2xxx" in "./etc/modprobe.d/blacklist.conf" but when clonezilla starts booting on the squashFS, I suppose it finds another qla2xxx module and loads it.

    I'll try to edit the squashFS file but in the meantime I have the support of my broadcom network cards and no problem with ext4.

     
  • Steven Shiau

    Steven Shiau - 2011-02-18

    OK, good.
    If you have any problem in the future, please post it again.

    Steven.

     

Log in to post a comment.

Auth0 Logo