[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to change installer image?



johannes_graumann@web.de wrote:
>Hello,
>
>To fix some configurations needed to install via a serial connection, I 
>would like to edit txt.cfg in isolinux of the stable installation CD. 
>Following https://wiki.debian.org/DebianInstaller/Modify/CD I try:
>1) mkdir /tmp/debian-7.8.0-i386-CD-1-mod
>2) bsdtar -C /tmp/debian-7.8.0-i386-CD-1-mod -xf debian-7.8.0-i386-CD-1.iso
>3) nano /tmp/debian-7.8.0-i386-CD-1-mod/isolinux/txt.cfg ...
>4) genisoimage -o debian-7.8.0-i386-CD-1-mod.iso -r -J -no-emul-boot -boot-
>load-size 4 -boot-info-table -b isolinux/isolinux.bin -c isolinux/boot.cat 
>./debian-7.8.0-i386-CD-1-mod/
>5) dd if=debian-7.8.0-i386-CD-1-mod.iso of=/dev/<MYMEMSTICK> bs=4M; sync
>
>Contrary to the original image, the resulting usb stick is NOT recognized as 
>bootable ...
>
>What am I doing wrong?

Hi,

What you're missing is the extra commands needed to add isohybrid
options. I guess that wiki page is out of date. If you look in the
file .disk/mkisofs on the original CD, you'll see the exact command
that was used to make the original image, for reference in exactly
this type of situation. You'll also need to use xorriso rather than
genisoimage.

Hope that helps...

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"...In the UNIX world, people tend to interpret `non-technical user'
 as meaning someone who's only ever written one device driver." -- Daniel Pead


Reply to: