IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> mkisofs, need help
sgufa
post May 4 2006, 11:11 AM
Post #1


Silver Member
***

Group: Members
Posts: 168
Joined: 10-February 05
Member No.: 10,153



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?
Go to the top of the page
 
+Quote Post
oscar
post May 4 2006, 01:27 PM
Post #2


Platinum Member
*****

Group: Members
Posts: 1,294
Joined: 28-November 03
Member No.: 2,840



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]
Go to the top of the page
 
+Quote Post
sgufa
post May 4 2006, 04:34 PM
Post #3


Silver Member
***

Group: Members
Posts: 168
Joined: 10-February 05
Member No.: 10,153



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
Go to the top of the page
 
+Quote Post
oscar
post May 4 2006, 05:01 PM
Post #4


Platinum Member
*****

Group: Members
Posts: 1,294
Joined: 28-November 03
Member No.: 2,840



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?
Go to the top of the page
 
+Quote Post
sgufa
post May 4 2006, 05:07 PM
Post #5


Silver Member
***

Group: Members
Posts: 168
Joined: 10-February 05
Member No.: 10,153



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
Go to the top of the page
 
+Quote Post
oscar
post May 4 2006, 06:21 PM
Post #6


Platinum Member
*****

Group: Members
Posts: 1,294
Joined: 28-November 03
Member No.: 2,840



a workaround is to open the ISO with Ultraiso and use right-click button option to hide/unhide any file
Go to the top of the page
 
+Quote Post
Nuno Brito
post May 4 2006, 06:39 PM
Post #7


Platinum Member
*****

Group: Moderator
Posts: 1,166
Joined: 3-April 06
From: Azores
Member No.: 18,537



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


--------------------
Go to the top of the page
 
+Quote Post
cdob
post May 5 2006, 02:46 AM
Post #8


Platinum Member
*****

Group: Moderator
Posts: 3,081
Joined: 31-October 03
Member No.: 2,304



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
Go to the top of the page
 
+Quote Post
oscar
post May 5 2006, 11:36 AM
Post #9


Platinum Member
*****

Group: Members
Posts: 1,294
Joined: 28-November 03
Member No.: 2,840



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...
Go to the top of the page
 
+Quote Post
sgufa
post May 5 2006, 12:22 PM
Post #10


Silver Member
***

Group: Members
Posts: 168
Joined: 10-February 05
Member No.: 10,153



solved with THEGUI v3 beta 4 graphical user interface for mkisofs
Go to the top of the page
 
+Quote Post
oscar
post May 5 2006, 04:16 PM
Post #11


Platinum Member
*****

Group: Members
Posts: 1,294
Joined: 28-November 03
Member No.: 2,840



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
Go to the top of the page
 
+Quote Post
sgufa
post May 6 2006, 06:30 AM
Post #12


Silver Member
***

Group: Members
Posts: 168
Joined: 10-February 05
Member No.: 10,153



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
Go to the top of the page
 
+Quote Post
Nuno Brito
post May 6 2006, 01:17 PM
Post #13


Platinum Member
*****

Group: Moderator
Posts: 1,166
Joined: 3-April 06
From: Azores
Member No.: 18,537



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


--------------------
Go to the top of the page
 
+Quote Post
sgufa
post May 7 2006, 04:46 AM
Post #14


Silver Member
***

Group: Members
Posts: 168
Joined: 10-February 05
Member No.: 10,153



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
Go to the top of the page
 
+Quote Post
FeReNGi
post May 31 2006, 03:08 PM
Post #15


Silver Member
***

Group: Members
Posts: 461
Joined: 9-February 05
From: Belgium
Member No.: 10,122



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 ?
Go to the top of the page
 
+Quote Post
jaclaz
post Jun 1 2006, 09:41 AM
Post #16


Platinum Member
*****

Group: Moderator
Posts: 4,582
Joined: 25-July 04
From: Italy
Member No.: 6,779



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


--------------------
- Fighting against bloatware since 2004, and proud of it. -
Go to the top of the page
 
+Quote Post
maximilian3
post Feb 1 2007, 05:42 AM
Post #17


Newbie
*

Group: Members
Posts: 1
Joined: 31-January 07
Member No.: 24,818



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
Go to the top of the page
 
+Quote Post
jaclaz
post Feb 1 2007, 07:03 AM
Post #18


Platinum Member
*****

Group: Moderator
Posts: 4,582
Joined: 25-July 04
From: Italy
Member No.: 6,779



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


--------------------
- Fighting against bloatware since 2004, and proud of it. -
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 9th February 2010 - 12:23 PM