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

SOLVED: custom usb install image



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: