Portál AbcLinuxu, 19. dubna 2024 13:18


Dotaz: Bootovací CD

10.12.2009 09:17 r.v. | skóre: 5
Bootovací CD
Přečteno: 414×
Odpovědět | Admin
Zdravím, pokouším se upravit standardní LiveCD Fedora12 a nejde mi dořešit poslední krok - výsledné cd není bootovací. Zkouším

genisoimage -o LiveCD.iso -R -e EFI_boot_image adresář_ke_sbalení

ale nevím, jak vytvořit/najít zmíněný EFI_boot_image. Díky
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

10.12.2009 17:07 Skokan, Pavel | skóre: 29
Rozbalit Rozbalit vše Re: Bootovací CD
Odpovědět | | Sbalit | Link | Blokovat | Admin
tohle by mohlo by ono... ftp://ftp.linux.cz/pub/linux/fedora/linux/releases/12/Fedora/i386/os/images/
14.12.2009 08:18 r.v. | skóre: 5
Rozbalit Rozbalit vše Re: Bootovací CD
Pořád dělam něco špatně:

# genisoimage -o cd.iso -R -b boot/efiboot.img Fedora12-1/

Size of boot image is 1224 sectors -> genisoimage: Error - boot image 'Fedora12-1/boot/efiboot.img' has not an allowable size.

Budu muset více UTFG.
14.12.2009 09:44 Skokan, Pavel | skóre: 29
Rozbalit Rozbalit vše Re: Bootovací CD
pak by mohl jeste pomoci maly vynatek z maualovych stranek genisoimage: (treba takove -no-emul-boot by mohlo zabrat...)
-G generic_boot_image
    Specifies the path and filename of the generic boot image to be used when making a generic bootable CD. The boot image will be placed on the first 16 sectors of the CD, before the ISO9660 primary volume descriptor. If this option is used together with -sparc-boot, the Sun disk label will overlay the first 512 bytes of the generic boot image. 
-b eltorito_boot_image
    Specifies the path and filename of the boot image to be used when making an El Torito bootable CD for x86 PCs. The pathname must be relative to the source path specified to genisoimage. This option is required to make an El Torito bootable CD. The boot image must be exactly 1200 kB, 1440 kB or 2880 kB, and genisoimage will use this size when creating the output ISO9660 filesystem. The PC BIOS will use the image to emulate a floppy disk, so the first 512-byte sector should contain PC boot code. 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 either
    -hard-disk-boot or -no-emul-boot. If the system should not boot off the emulated disk, use -no-boot. 
If
    -sort has not been specified, the boot images are sorted with low priority (+2) to the beginning of the medium. If you don't like this, you need to specify a sort weight of 0 for the boot images. 
-eltorito-alt-boot
    Start with a new set of El Torito boot parameters. Up to 63 El Torito boot entries may be stored on a single CD. 
-hard-disk-boot
    Specifies that the boot image used to create El Torito bootable CDs is a hard disk image. The image must begin with a master boot record that contains a single partition. 
-no-emul-boot
    Specifies that the boot image used to create El Torito bootable CDs is a "no emulation" image. The system will load and execute this image without performing any disk emulation. 
-no-boot
    Specifies that the created El Torito CD should be marked as not bootable. The system will provide an emulated drive for the image, but will boot off a standard boot device. 

15.12.2009 07:02 r.v. | skóre: 5
Rozbalit Rozbalit vše Re: Bootovací CD
Nějaký posun jsem zaznamenal, ještě to není ono, ale to snad doladím, až bude víc času. Problém není, že nečtu man stránky, ale že ten proces vytváření boot cd prostě pořádně nechápu.

Díky.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.