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

Re: question on rebuilding the debian installation iso image



Nick Gawronski, le Fri 26 Sep 2008 17:08:02 -0600, a écrit :
> Hi, I was just wondering what steps you need to take to rebuild the debian 
> installation iso image

I'd recommend not trying to rebuild the iso images as it takes really
huge time and disk space.  You could just wait for Lenny to be
released...  In the meanwhile, just use a full netinst CD (like
http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/i386/iso-cd/debian-testing-i386-netinst.iso ) 
as it will still be able to install a base system, and then you can use
apt-cdrom to install the rest from the regular CD-ROMs.

> normally I need to type speakup.synth=dectlk speakup_ser=0 but if I   
> wanted this to be done automatically on my own image how would I go   
> about this?

A long term solution will be to use preseeding of the parameters via a
USB key, but that's not available yet.  For now, you can rebuild the
debian installer by:

sudo apt-get build-dep debian-installer
svn co svn://svn.debian.org/d-i/trunk/installer/build

then modify boot/x86/gtk.cfg to put speakup.synth=dectlk at the end of
the "append" line, and run

make BOOTMENU_BEEP=y build_cdrom_gtk

to build dest/cdrom/gtk/* which you can use as replacements on the
netinst CD: mount the netinst CD, copy everything in a temporary
directory, chmod +w it, unpack the dest/cdrom/gtk/debian-cd_info.tar.gz
into isolinux/ to replace the debian installer files with your own, then
rebuild the iso using

mkisofs -r -J -b isolinux/isolinux.bin -no-emul-boot -no-emul-boot -boot-load-size 4 -boot-info-table -o ~/mynetinst.iso .

> I can't find any information on the debian site

Well, it's not something users are supposed to do.  There is
documentation on the wiki: http://wiki.debian.org/DebianInstaller

> as well as no information on making the installer beep like the one   
> you made does.                                                        

It's even less something users are supposed to do, as that will already
be done for official builds.  It's documented in the debian-installer
internal documentation: that's the BOOTMENU_BEEP parameter above.

Samuel


Reply to: