WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: how to use mkisofs to make iso  (Read 2916 times)

Offline ulfr

  • Full Member
  • ***
  • Posts: 153
how to use mkisofs to make iso
« on: June 06, 2019, 11: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
« Last Edit: June 07, 2019, 07:47:26 AM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11621
Re: how to use mkisofs to make iso
« Reply #1 on: June 06, 2019, 11: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.

Offline ulfr

  • Full Member
  • ***
  • Posts: 153
Re: how to use mkisofs to make iso
« Reply #2 on: June 07, 2019, 12:00:34 AM »


     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   


Offline ulfr

  • Full Member
  • ***
  • Posts: 153
Re: how to use mkisofs to make iso
« Reply #3 on: June 07, 2019, 01:21:58 AM »
   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
« Last Edit: June 07, 2019, 07:25:56 AM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11621
Re: how to use mkisofs to make iso
« Reply #4 on: June 07, 2019, 07: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.