Menu

Problem with GParted-Clonezilla Multi Boot

Help
Bunta
2007-07-18
2013-04-05
  • Bunta

    Bunta - 2007-07-18

    Hi there, I hope I've come to the right forum to post this...

    I've created a multi boot cd that uses Easy Boot to create an iso. The CD boots up to a selection menu where I then choose to load the GParted-Clonezilla image. The CD works fine for loading GParted however when I try to run Clonezilla it does not work.

    The problem is because when the system boots into the linux kernel it sees all of the files on the cd with lower case file names. This causes a problem because of the script /etc/rc2.d/S99start-ocs-live which calls two scripts on the cd using the following function:

    [code]#!/bin/bash
    # This script will run those scripts in dir /live_media/ocs-live.d
    [ ! -d "/live_media/ocs-live.d/" ] && exit 1
    for script in /live_media/ocs-live.d/S[0-9][0-9]*; do
      . $script
    done[/code]
    the cd files are mounted to /live_media/ and because the linux kernel sees all of the files on the cd as lower case the two scripts in the /live_media/ocs-live.d/ folder do not run.

    The CD was edited with UltraISO in windows to create the file system and add the files to it with the easyboot menu and if I open the cd up within windows All the files show the correct case (both upper and lower case) however once the linux kernel boots they are all lower case.

    I've tried saving the CD with all the different options I could in UltraISO (using Joliet standard and extended, RockRidge, UDF etc) but none of them seem to work.

    If I boot the CD up and run the scripts manually from the prompt that comes up it works fine, but I would like to get it to work how it is supposed to.

    I've tried editing the script that runs in the /etc/rc2.d/ folder that calls the other files to the following:

    [code]#!/bin/bash
    # This script will run those scripts in dir /live_media/ocs-live.d
    [ ! -d "/live_media/ocs-live.d/" ] && exit 1
    for script in /live_media/ocs-live.d/[sS][0-9][0-9]*; do
      . $script
    done[/code]
    and then going back to runlevel 2 and everything boots up perfectly, however all the system files are contained within filesystem.squashfs (I think) and I cannot edit them very easily to change the above script on my cd.

    Is it possible to change the script that runs above in the GParted-Clonezilla iso download so that it would work properly (since I can't figure out how to edit the squashfs file easily)? Or does anyone else have an idea of how I can get this to work?

     
    • Steven Shiau

      Steven Shiau - 2007-07-18

      Some people mentioned that winiso (http://www.winiso.com/) in windows works for remastering the ISO file. Maybe you can give it a try.
      On the other hand, it's might be a good idea to use command mkisofs in Linux to do that. The Clonezilla iso is created by mkisofs. You can check /opt/drbl/sbin/ocs-iso for more details.

      Good luck.

       
    • Guimenez

      Guimenez - 2007-07-18

      Hi

      It is not so easy to put Clonezilla + Gparted in the same CD. Because both uses ISOLINUX
      and the system gets confused. I'm trying now that part. I will tell you my progress in a few days ;)

      Guimenez

       
    • Bunta

      Bunta - 2007-07-18

      Actually Guimenez there is already a GParted-Clonezilla image you can download from here:
      http://clonezilla.sourceforge.net/gparted-clonezilla/

      But I'm using that image as well as others in my multi boot disk.

       
    • Bunta

      Bunta - 2007-07-18

      OK, I've managed to fix the problem.

      By selecting the Joliet tick box when creating the iso with EasyBoot the iso would come out with both cases in it.

      You then have to open the iso up with UltraISO and select "Allow lower case" in the iso properties and save it again.

      This then works perfectly for me.

       
    • Guimenez

      Guimenez - 2007-07-19

      Hi again.

      I know that gparted+clonezilla live cd, but i want to put my clonezilla version with gparted.

      do you know how can i do that

      Thanks

       
    • Bunta

      Bunta - 2007-07-19

      Well, basically I believe the clonezilla program is contained within a file called /pkg/opt_drbl.tgz contained on the cd.

      That package is extracted via the scripts in /ocs-live.d/ on the cd which are executed when it hits runtime level 2.

      If you just have a different version of clonezilla you can probably just replace the opt_drbl.tgz file on the cd.
      However if you need to change any drivers or file system files that may prove to be quite difficult seeing as they are contained within the squashfs file.

      At the moment I'm trying to figure out how I can modify the squashfs file, so I will let you know how it turns out.

      Changing the CD's filesystem above to joliet caused my Bart PE images to stop working so I now need another solution.

       
    • Bunta

      Bunta - 2007-07-27

      OK, all fixed now. All I did was to use mkisofs to build the iso image instead of using easyboot using the following command line switches:

      mkisofs.exe -iso-level 4 -volid "DiskName" -b loader.bin -J -R -joliet-long -no-emul-boot -boot-load-size 4 -o "PathToOutputImage.iso" "PathToEasybootSourceFiles"

      and make sure you copy the loader.bin file from the ezboot folder into the parent folder with all the source files.

       

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.