Blog Code Forum

ISO Testbed

From Wiki.cyring.fr

(Difference between revisions)
Jump to: navigation, search
(Page créée avec « == ISOLINUX == === Setup === * Download the [http://www.syslinux.org/wiki/index.php/ISOLINUX ISOLINUX] * Prepare the directories tree ---- <syntaxhighlight lang="bash" lin... »)
(ISOLINUX)
Line 14: Line 14:
</syntaxhighlight>
</syntaxhighlight>
----
----
 +
<br />
=== Configuration ===
=== Configuration ===
* Write the configuration file
* Write the configuration file
Line 68: Line 69:
:''376 extents written (0 MB)''
:''376 extents written (0 MB)''
</small><big><big>'''”'''</big></big>
</small><big><big>'''”'''</big></big>
 +
== VirtualBox ==
== VirtualBox ==
- EOF -
- EOF -

Revision as of 20:20, 19 September 2012

Contents

ISOLINUX

Setup

  • Download the ISOLINUX
  • Prepare the directories tree

  1. mkdir CD_root
  2. cd CD_root
  3. mkdir isolinux
  4. cp /users/PKGBUILD/syslinux/src/syslinux-4.05/core/isolinux.bin isolinux/
  5. mkdir images kernel 
  6. cp /users/PKGBUILD/syslinux/src/syslinux-4.05/memdisk/memdisk kernel/
  7. cp /users/PKGBUILD/syslinux/src/syslinux-4.05/com32/modules/*.c32 isolinux/


Configuration

  • Write the configuration file

  1. nano isolinux/isolinux.cfg
UI menu.c32
DEFAULT none
PROMPT 0
#
LABEL none
KBDMAP fr.ktl

Keyboard

  • If required, make a french keyboard translation map

  1. keytab-lilo /usr/share/kbd/keymaps/i386/qwerty/us.map.gz /usr/share/kbd/keymaps/i386/azerty/fr-latin1.map.gz > isolinux/fr.ktl


Scripting

  • Code a script to build the ISO image

  1. cd ..
  2. nano buildiso.sh
mkisofs -o isotestbed.iso \
-b isolinux/isolinux.bin -c isolinux/boot.cat \
-no-emul-boot -boot-load-size 4 -boot-info-table \
CD_root
  1. chmod +x buildiso.sh


  • Run the script to build the ISO image

  1. ./buildiso.sh


I: -input-charset not specified, using utf-8 (detected in locale settings)
Size of boot image is 4 sectors -> No emulation
Total translation table size: 2048
Total rockridge attributes bytes: 0
Total directory bytes: 6334
Path table size(bytes): 54
Max brk space used 1f000
376 extents written (0 MB)

VirtualBox

- EOF -

Personal tools