SOLVED: custom usb install image
- To: debian-user@lists.debian.org
- Subject: SOLVED: custom usb install image
- From: nicholas <narusso@uchicago.edu>
- Date: Sat, 2 Jun 2007 12:04:03 -0500 (CDT)
- Message-id: <[🔎] Pine.GSO.4.62.0706021156290.20043@harper.uchicago.edu>
- In-reply-to: <Pine.GSO.4.62.0704252053080.23389@harper.uchicago.edu>
- References: <Pine.GSO.4.62.0704211626200.10602@harper.uchicago.edu> <20070421215919.GB15493@titan> <Pine.GSO.4.62.0704211808590.10602@harper.uchicago.edu> <20070422001158.GA6896@titan> <Pine.GSO.4.62.0704252053080.23389@harper.uchicago.edu>
I finally figured out how to make a Debian USB installer image with
a size other than 256MB. This may seem obvious to some, but no one
suggested it when I asked, so here goes:
echo 'deb-src http://ftp.debian.org/debian/ etch main' >>/etc/apt/sources.list
apt-get update
apt-get -y install dpkg-dev
apt-get source debian-installer
cd debian-installer-20070308
dpkg-checkbuilddeps
apt-get install -y debhelper grep-dctrl bc debiandoc-sgml libbogl-dev glibc-pic libslang2-pic \
libnewt-pic genext2fs mklibs mkisofs dosfstools syslinux tofrodos mtools bf-utf-source
dpkg-checkbuilddeps
cd build
sed -i 's/244736/489472/;s/239/478/;s/256/512/' config/amd64/hd-media.cfg
make build_hd-media
zcat dest/hd-media/boot.img > /dev/sda
Reply to: