ISO Testbed
From Wiki.cyring.fr
(Difference between revisions)
(→Setup) |
|||
Line 1: | Line 1: | ||
- | == | + | == Syslinux == |
=== Setup === | === Setup === | ||
- | * Download & compile the package of [http://www.syslinux.org/wiki/index.php/ | + | * Download & compile the package of [http://www.syslinux.org/wiki/index.php/The_Syslinux_Project Syslinux] |
---- | ---- | ||
<syntaxhighlight lang="bash" line start="1"> | <syntaxhighlight lang="bash" line start="1"> | ||
Line 23: | Line 23: | ||
cp /users/PKGBUILD/syslinux/src/syslinux-4.05/memdisk/memdisk kernel/ | cp /users/PKGBUILD/syslinux/src/syslinux-4.05/memdisk/memdisk kernel/ | ||
cp /users/PKGBUILD/syslinux/src/syslinux-4.05/com32/modules/*.c32 isolinux/ | cp /users/PKGBUILD/syslinux/src/syslinux-4.05/com32/modules/*.c32 isolinux/ | ||
- | |||
</syntaxhighlight> | </syntaxhighlight> | ||
---- | ---- | ||
Line 35: | Line 34: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<pre> | <pre> | ||
- | + | DEFAULT MainGate | |
- | DEFAULT | + | |
- | + | ||
- | + | ||
- | + | ||
KBDMAP fr.ktl | KBDMAP fr.ktl | ||
+ | LABEL MainGate | ||
+ | SAY Welcome On Board | ||
</pre> | </pre> | ||
=== Keyboard === | === Keyboard === |
Revision as of 21:56, 19 September 2012
Contents |
Syslinux
Setup
- Download & compile the package of Syslinux
sudo abs
mkdir /users/PKGBUILD
cp -r /var/abs/core/syslinux /users/PKGBUILD/
cd /users/PKGBUILD/syslinux/
makepkg
cd
- Prepare the directories tree
mkdir CD_root
cd CD_root
mkdir isolinux
cp /users/PKGBUILD/syslinux/src/syslinux-4.05/core/isolinux.bin isolinux/
mkdir images kernel
cp /users/PKGBUILD/syslinux/src/syslinux-4.05/memdisk/memdisk kernel/
cp /users/PKGBUILD/syslinux/src/syslinux-4.05/com32/modules/*.c32 isolinux/
Configuration
- Write the configuration file
nano isolinux/isolinux.cfg
DEFAULT MainGate KBDMAP fr.ktl LABEL MainGate SAY Welcome On Board
Keyboard
- If required, make a french keyboard translation map
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
cd ..
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
chmod +x buildiso.sh
- Run the script to build the ISO image
./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 -