Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: ulfr on June 06, 2019, 08:05:29 PM

Title: how to use mkisofs to make iso
Post by: ulfr on June 06, 2019, 08:05:29 PM
    hi tinycore team and everyone
   
    first i want to thank you all for making the all time best designed distro
    it is by far my favorite distro

    now my question
    i want to make an iso from files in a directory
    and i isolated this line from ezremaster
    but it gives errors and will not build
   
    if i try to use mkisofs normally it also will not build 

   mydirectory is where the files are
        my.iso is the finished iso

Code: [Select]
sudo mkisofs -l -J -R -V tinycore -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -o mydirectory/my.iso . || exit 24
    what is the correct command 
   
    thanks in advance 
   
    ulfr 

    [EDIT]: Added code tags.  Rich
Title: Re: how to use mkisofs to make iso
Post by: Rich on June 06, 2019, 08:35:33 PM
Hi ulfr
... but it gives errors and will not build ...
Stating the exact error messages would typically occur right after that statement. At any rate, based on the syntax found here:
http://wiki.tinycorelinux.net/wiki:remastering#creating_an_iso
I think it should look like this:
Code: [Select]
sudo mkisofs -l -J -R -V tinycore -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -o my.iso mydirectorywhere  -o my.iso  is the output file and  mydirectory  is the input directory.
Title: Re: how to use mkisofs to make iso
Post by: ulfr on June 06, 2019, 09:00:34 PM


     thanks rich

     for your patience       

     i committed 2 crimes

     1. didn't read the documentation and
     2. didn't give enough info in my question

     i apologize

     thanks again

     ulfr   

Title: Re: how to use mkisofs to make iso
Post by: ulfr on June 06, 2019, 10:21:58 PM
   hi rich and everyone

   after reading the documentation
   i used

Code: [Select]
mkisofs -l -J -R -V TC-custom -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -o my.iso myisofiles
isohybrid -o 64 my.iso

  it built the iso
  but when i tried to burn it
  it told me that it was not a hybrid iso

  so i had to add the isohybrid line
  then it worked

  i dont know but this may be of use to someone

 thanks for all your help
 you are a lifesaver

  ulfr 

    [EDIT]: Added code tags.  Rich
Title: Re: how to use mkisofs to make iso
Post by: Rich on June 07, 2019, 04:45:35 AM
Hi ulfr
Glad to hear you got it working. A minor point:
Code: [Select]
mkisofs -l -J -R -V TC-custom -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -o my.iso myisofiles
isohybrid -o 64 my.iso
The  -V TC-custom  sets the volume ID, kind of like the volume label of a hard drive, and does not need to be called  TC-custom.

And please use code tags when posting commands.