5.3 ブートアッププロセスのカスタマイズ
This chapter discusses customisation of bootup process of a live
system, including kernel options, modifications to the
bootloader, "splash" screens and startup scripts.
FIXME
5.3.1. Kernel
5.3.2. Bootloaders
FIXME
5.3.2.1. Choosing a bootloader
FIXME
5.3.2.2. Syslinux
In the default configuration, Syslinux will pause indefinitely
at its splash screen. To adjust this, modify the
LH_SYSLINUX_TIMEOUT value or pass --syslinux-timeout TIMEOUT to
lh_config. The value is specified in units of 1/10s and the
maximum possible timeout is 35996. A timeout of 0 (zero)
disables the timeout completely. For more information please see
syslinux(1).
5.3.2.3. Bootloader templates
FIXME
5.3.2.4. Booting a Debian Live USB/HDD system from a USB stick
with Grub
Suppose you've built your Debian Live USB/HDD image, but want to
install it on an already used USB stick with ext2/3 partition
and Grub bootloader:
First, copy live components in a directory on your key: the
Linux kernel (vmlinuz*), its Initial RAM disk (initrd*) and the
system (filesystem.squashfs):
# mkdir /media/myUsb/boot/live/
# cp binary/vmlinuz1 binary/initrd1.img binary/live/filesystem.squashfs /media/myUsb/boot/live/
Then, add a stanza in Grub's menu definition to boot up this
system:
echo >>/media/myUsb/boot/grub/menu.lst <<EOF
title my Debian Live
root (hd0,1) # my Ext2 partition is the second on this stick
kernel /boot/live/vmlinuz1 boot=live vga=791 persistent union=aufs live-media-path=boot/live
initrd /boot/live/initrd1.img
EOF
The important kernel command line option to add here is
<variablename>live-media-path</variablename>, which tells to
Live initrd's script in which subdirectory to look for the
SquashFS image.
Next, umount your USB stick and reboot on it. That's all!
5.3.3. Splash screens
FIXME
5.3.4. Memtest
FIXME
5.3.5. Startup scripts
FIXME
5.3.6. Cheat codes
FIXME
Checksums.
5.4. Customising the binary image
This chapter discusses FIXME
5.4.1. ISO metadata
When creating an ISO9660 binary image, you can use the following
options to add various textual metadata for your image. This can
help you easily identify the version or configuration of an
image without booting it.
LH_ISO_APPLICATION / --iso-application NAME
LH_ISO_PREPARER / --iso-preparer NAME
LH_ISO_PUBLISHER / --iso-publisher NAME
LH_ISO_VOLUME / --iso-volume NAME
This chapter discusses customisation of bootup process of a live
system, including kernel options, modifications to the
bootloader, "splash" screens and startup scripts.
FIXME
5.3.1. Kernel
5.3.2. Bootloaders
FIXME
5.3.2.1. Choosing a bootloader
FIXME
5.3.2.2. Syslinux
In the default configuration, Syslinux will pause indefinitely
at its splash screen. To adjust this, modify the
LH_SYSLINUX_TIMEOUT value or pass --syslinux-timeout TIMEOUT to
lh_config. The value is specified in units of 1/10s and the
maximum possible timeout is 35996. A timeout of 0 (zero)
disables the timeout completely. For more information please see
syslinux(1).
5.3.2.3. Bootloader templates
FIXME
5.3.2.4. Booting a Debian Live USB/HDD system from a USB stick
with Grub
Suppose you've built your Debian Live USB/HDD image, but want to
install it on an already used USB stick with ext2/3 partition
and Grub bootloader:
First, copy live components in a directory on your key: the
Linux kernel (vmlinuz*), its Initial RAM disk (initrd*) and the
system (filesystem.squashfs):
# mkdir /media/myUsb/boot/live/
# cp binary/vmlinuz1 binary/initrd1.img binary/live/filesystem.squashfs /media/myUsb/boot/live/
Then, add a stanza in Grub's menu definition to boot up this
system:
echo >>/media/myUsb/boot/grub/menu.lst <<EOF
title my Debian Live
root (hd0,1) # my Ext2 partition is the second on this stick
kernel /boot/live/vmlinuz1 boot=live vga=791 persistent union=aufs live-media-path=boot/live
initrd /boot/live/initrd1.img
EOF
The important kernel command line option to add here is
<variablename>live-media-path</variablename>, which tells to
Live initrd's script in which subdirectory to look for the
SquashFS image.
Next, umount your USB stick and reboot on it. That's all!
5.3.3. Splash screens
FIXME
5.3.4. Memtest
FIXME
5.3.5. Startup scripts
FIXME
5.3.6. Cheat codes
FIXME
Checksums.
5.4. Customising the binary image
This chapter discusses FIXME
5.4.1. ISO metadata
When creating an ISO9660 binary image, you can use the following
options to add various textual metadata for your image. This can
help you easily identify the version or configuration of an
image without booting it.
LH_ISO_APPLICATION / --iso-application NAME
This should describe the application that will be on the image. The maximum length for this field is 128 characters.
LH_ISO_PREPARER / --iso-preparer NAME
This should describe the preparer of the image, usually with some contact details. The default for this option is the live-helper version you are using, which may help with debugging later. The maximum length for this field is 128 characters.
LH_ISO_PUBLISHER / --iso-publisher NAME
This should describe the publisher of the image, usually with some contact details. The maximum length for this field is 128 characters.
LH_ISO_VOLUME / --iso-volume NAME
This should specify the volume ID of the image. This is used as a user-visible label on some platforms such as Windows and Apple Mac OS. The maximum length for this field is 32 characters.

このページへのコメント
CbbUKB I loved your blog post.Thanks Again. Fantastic.
ULkZra Muchos Gracias for your post.Really thank you! Cool.
czA6mX <a href="http://wdqilapotnug.com/">wdqilapotnug</a>, [url=http://pbtmfivycjnj.com/]pbtmfivycjnj[/url], [link=http://pgnyokruhmhi.com/]pgnyokruhmhi[/link], http://dxzenyvooqyw.com/
nmUSbN <a href="http://euuyaljhoxnz.com/">euuyaljhoxnz</a>, [url=http://mknmbpgopfpw.com/]mknmbpgopfpw[/url], [link=http://cetnqlnkuwxe.com/]cetnqlnkuwxe[/link], http://iqgzouravlge.com/