[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cdrecord



>>>>> "seb" == seb  <sebastien@ekinos.com> writes:

seb> Bonjour,

Salut,

seb> Quelqu'un connaitrait il la commande a utiliser avec cdrecord pour
seb> graver une image iso sur un cdrom, et qu'ensuite cette image soit 
seb> bootable pour faire une install directement dessus ?

Je ne suis pas sûr si tu disposes déjà de l'image ISO ou si par contre tu
souhaites la construire.

Dans le premier cas, il suffit de graver de façon classique 

        cdrecord -data nom_image_iso dev=...

par ailleurs en -data est l'option par défaut en l'absence de toute autre
option.

Dans le deuxième cas c'est mkisofs (par exemple) qui te permettra de
construire une image ISO bootable ; c'est le format «El Torito», un extrait
de la page du manuel de mkisofs

-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 1.2, 1.44, or a 2.88 meg
        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 emulat­ ing a normal floppy drive). This will
        work, for example, if the boot image is a LILO based boot
        floppy.

-c boot_catalog
       Specifies the path and filename of the boot catalog
       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 a bootable CD.  This  file  will  be  inserted
       into  the output tree and not created in the source
       filesystem, so be sure the specified filename  does
       not  conflict  with an existing file, as it will be
       excluded. Usually a  name  like  "boot.catalog"  is
       chosen.

Ainsi si tu as dans un répertoire toto contenant l'arboresence que tu
désires graver, ainsi que par exemple boot/boot.img l'image que tu veux
utiliser pour booter ; il suffira de faire, par exemple,
        
        mkisofs -l -J  -v -b boot/boot.img -c boot/boot.catalog -o image.raw .
        cdrecord image.raw dev=(les bons paramètres correspondants à ton
        graveur)


seb> Merci d'avance

De rien et j'espère que ceci t'aidera à avancer.

Cordialement,

Hedi.

P.S. Cf. /usr/share/doc/mkisofs/README.eltorito pour plus de détails.
 
-- 
Hedi Berriche
mailto:hedi.berriche@btinternet.com

This is Linux Country.
In a quiet night,
you can hear Windows
reboot.



Reply to: