Pesquisar neste blog

quinta-feira, 9 de abril de 2015

Serial Console customization of debian-installer CD or DVD

This should work on the CD or DVD image.  Illustrated below is the steps for the CD image.

First, if you do not have an ISO image already, download CD1 via jigdo or bittorrent. If I had more time, I'd probably screencast how to do all that, but if you fetch the .jigdo and have jigdo installed, it's downhill from there.

mkdir /mnt/debian-7.8.0-i386-CD1-ttyS0

sudo mount -o loop,ro debian-7.2.0-amd64-CD-1.iso /media/cdrom

rsync -av /media/cdrom/ /mnt/debian-7.8.0-i386-CD1-ttyS0/

Open the file below:
isolinux/isolinux.cfg:

serial 0 115200 prompt 0 timeout 0 default install label install menu label ^Install menu default kernel /install.amd/vmlinuz append term=linux priority=low console=ttyS0,115200 text initrd=/install.amd/initrd.gz --

save and quit

Run the command below:

sudo genisoimage -r -J -b /mnt/debian-7.8.0-i386-CD1-ttyS0/isolinux/isolinux.bin -c /mnt/debian-7.8.0-i386-CD1-ttyS0/isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o /tmp/debian-7.2.0-amd64-CD-1-ttyS0.iso /mnt/debian-7.8.0-i386-CD1-ttyS0

Burn your CD with new ISO.
Finish

Nenhum comentário: