Help - Search - Members - Calendar
Full Version: mkisofs
The CD Forum > CD Shell and Boot Scriptor > Troubleshooting & Problems
sgufa
Hi. I've made a multiboot cd/dvd based on flyakyte (flyakyte.msfn.org) guide. Now I use M$ cdimage for iso creation with no problems:

CODE
cdimage.exe -lAIODVD -t06/17/2004,09:05:00 -b\AIO\BOOT\loader.bin -h -o -m -n \AIO C:\AIODVD.ISO

with this tool i can't hide some files such as loader.bin (in BOOT directory) or boot.catalog and other .dat files in the root.

>>>Is there a cdimage switch to hide files? I can't find it.

This was why i would use mkisofs.exe. but i can't get it working because i can't find loader.bin

this is the string i use

CODE
mkisofs.exe -iso-level 4 -force-uppercase -volid ""AIODVD"" -b boot/LOADER.BIN -no-emul-boot -boot-load-size 4 -hide BOOTSECT.BIN -hide boot.catalog -hide bootfont.bin -hide *.dat -duplicates-once -o "c:\aiodvd.iso" "C:\AIO"



>>>anyone could help me?
oscar
Try this

QUOTE
mkisofs.exe -iso-level 4 -force-uppercase -volid "AIODVD" -b "C:\AIO\BOOT\LOADER.BIN" -no-emul-boot -boot-load-size 4 -hide LOADER.BIN -hide boot.catalog -hide bootfont.bin -hide *.dat -duplicates-once -o "c:\aiodvd.iso" "C:\AIO"


may be LOADER.BIN --> loader.bin


about cdimage try setting the -hidden attribute to loader.bin, etc. before running cdimage


ATTRIB +H [drive:][path][filename]
sgufa
QUOTE (oscar @ May 4 2006, 06:27 PM) *
Try this
may be LOADER.BIN --> loader.bin
about cdimage try setting the -hidden attribute to loader.bin, etc. before running cdimage
ATTRIB +H [drive:][path][filename]


hidden files (through attrib) are still visible with cdimage

mkisofs makes files invisible even if you open iso for example with ultraiso
oscar
and what about this?

QUOTE (oscar @ May 4 2006, 04:27 PM) *
try this

mkisofs.exe -iso-level 4 -force-uppercase -volid "AIODVD" -b "C:\AIO\BOOT\LOADER.BIN" -no-emul-boot -boot-load-size 4 -hide LOADER.BIN -hide boot.catalog -hide bootfont.bin -hide *.dat -duplicates-once -o "c:\aiodvd.iso" "C:\AIO"


does it work for you or not?
sgufa
QUOTE (oscar @ May 4 2006, 10:01 PM) *
and what about this?
does it work for you or not?


doesn't recognise loader.bin... tried in lowercase and in uppercase... still the same. If loader is in the root all goes right...tried really all combinations
oscar
a workaround is to open the ISO with Ultraiso and use right-click button option to hide/unhide any file
Nuno Brito
I've used MKISOFS sucessfully with very alike parameters like oscar suggested - If his method didn't worked, this is strange - there are some mkisofs gui versions that can take all the parameters you need, maybe they can handle better this problem.. huh.gif

http://stud3.tuwien.ac.at/~e0227529/center.html

http://sourceforge.net/projects/chdd

http://www.burnatonce.com/index.htm?news

http://www.trustfm.net/divx/SoftwareFolder2Iso.html



And some extra information here


I hope this helps.. smile.gif
cdob
QUOTE (sgufa)
-b\AIO\BOOT\loader.bin

loader.bin (in BOOT directory)

-b boot/LOADER.BIN

Case of directory and file does matter.

Does directory BOOT or boot exist at hard disk?
Does file loader.bin or LOADER.BIN exist at hard disk?

Example:
-b BOOT/loader.bin
oscar
Solved ! unsure.gif

When specifying the boot image the path is relative to the parent directory "C:\AIO".
In other words, the error is to include the full path because mkisofs -b always will search under C:\AIO

I think this will work


mkisofs.exe -iso-level 4 -force-uppercase -volid "AIODVD" -b BOOT/LOADER.BIN
-no-emul-boot -boot-load-size 4 -hide LOADER.BIN -hide boot.catalog -hide
bootfont.bin -hide *.dat -duplicates-once -o "c:\aiodvd.iso" "C:\AIO"




and case does matter...
sgufa
solved with THEGUI v3 beta 4 graphical user interface for mkisofs
oscar
well, only to confirm that is the correct syntax for a bin file that is in C:\AIO\BOOT\LOADER.BIN

mkisofs.exe -iso-level 4 -force-uppercase -volid "AIODVD" -b BOOT/LOADER.BIN
-no-emul-boot -boot-load-size 4 -hide LOADER.BIN -hide boot.catalog -hide
bootfont.bin -hide *.dat -duplicates-once -o "c:\aiodvd.iso" "C:\AIO"


About cdimage.exe:

cdimage has not something like -hide LOADER.BIN because it is not necessary.
cdimaqe finds and loads LOADER.BIN from everywhere in the HD for building the ISO. No need to put the LOADER.BIN into the CD together with the others files.

so this may be

CODE
cdimage.exe -lAIODVD -t06/17/2004,09:05:00 -b\anydirectory\loader.bin -h -o -m -n \AIO C:\AIODVD.ISO


and LOADER.BIN will be not written to the cd
sgufa
best syntax for mkisofs:

CODE
mkisofs.exe -iso-level 4 -force-uppercase -volid "AIODVD" -b "BOOT/LOADER.BIN"
-no-emul-boot -boot-load-size 4 -hide LOADER.BIN -hide boot.catalog -hide
bootfont.bin -hide *.dat -duplicates-once -o "c:/aiodvd.iso" "C:/AIO/"


generated by The_Gui v3 smile.gif
Nuno Brito
I'm glad it worked out just fine.. smile.gif


I spent a whole lot of useless time trying to figure out why mkisofs didn't worked as I expected in the past.. so I understand how frustating it gets when going through these steps.. cool.gif
sgufa
QUOTE (Nuno Brito @ May 6 2006, 06:17 PM) *
I'm glad it worked out just fine.. smile.gif
I spent a whole lot of useless time trying to figure out why mkisofs didn't worked as I expected in the past.. so I understand how frustating it gets when going through these steps.. cool.gif


biggrin.gif biggrin.gif biggrin.gif
FeReNGi
QUOTE (sgufa @ May 6 2006, 11:30 AM) *
best syntax for mkisofs:

generated by The_Gui v3 smile.gif


Where can i find the _gui v3 ?
jaclaz
QUOTE (FeReNGi @ May 31 2006, 10:08 PM) *
Where can i find the _gui v3 ?


On Bobby100's site:
http://members.chello.at/bobby100/

(but in Beta section) Beta 4 at the moment of writing

The :
http://stud3.tuwien.ac.at/~e0227529/beta/index.htm
seems to be not updated

jaclaz
maximilian3
Hi,
my name is Max and sorry for my english.
i have a problem with mkisofs.when i create a iso appear the error:
loader.bin has not an allowable size.
why?

thank you very much
jaclaz
QUOTE (maximilian3 @ Feb 1 2007, 11:42 AM) *
Hi,
my name is Max and sorry for my english.
i have a problem with mkisofs.when i create a iso appear the error:
loader.bin has not an allowable size.
why?

thank you very much

Max, first thing welcome to the board.
You need to post the actual command line you are giving to mkisofs to let us (hopefully) help you.

jaclaz
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.