← Back to team overview

sslug-teknik team mailing list archive

Re: Boot på egen cd.

 

"Ricco Jensen" <jensen@xxxxxxxx> writes:

> Jeg får følgende fejl når jeg prøver at brænde en cd som jeg vil boot på.
> Jeg skriver følgende :
> 
> mkisofs -x -v -r -T -J -b /home/boot.img -c boot.cat -o test1.iso isolinux/
> 
> følgende fejl
> mkisofs: Uh oh, I cant find the boot image '/home/boot.img' !

Præcis hvor ligger din boot.img? /home/boot.img eller isolinux/home/boot.img?

> jeg kan se at andre også har det problem og at det er meget vigtigt at
> angive hele stien til boot.img og det har jeg også gjort.

fra mkisofs(8)

       -b eltorito_boot_image
              Specifies the path and filename of the boot  image  to  be  used
              when  making  an  "El  Torito" bootable CD. The pathname must be
              relative to the source path specified to mkisofs.   This  option
              is  required to make an "El Torito" bootable CD.  The boot image
              must be exactly the size of either a 1200, 1440, or  a  2880  kB
              floppy,  and mkisofs will use this size when creating the output
              iso9660 filesystem. It is assumed that the first 512 byte sector
              should  be read from the boot image (it is essentially emulating
              a normal floppy drive).  This will work,  for  example,  if  the
              boot image is a LILO based boot floppy.

              If  the  boot image is not an image of a floppy, you need to add
              one of the options: -hard-disk-boot or  -no-emul-boot.   If  the
              system should not boot off the emulated disk, use -no-boot.


Det er speicelt delen med 'The pathname must be relative to the source
path specified to mkisofs'.

Jeg antager at boot.img ligger i isolinux/, i så fald burde

mkisofs -x -v -r -T -J -b boot.img -c boot.cat -o test1.iso isolinux/

virke.

/jrm


Follow ups

References