diary of a window system hacker
can't think of a clever byline

About

Daniel Stone
X ninja
Melbourne, AU

Links

my website
my photos at flickr
x.org
eat.fi

Categories

/ (89)
  tech/ (87)
    collabora/ (2)
    fdo/ (9)
    lca/ (1)
    ubuntu/ (6)
    x/ (43)
      xds/ (3)
  travel/ (2)


Archives

2010-Jul
2010-Jun
2010-Mar
2010-Feb
2009-Dec
2009-Oct
2009-Sep
2009-Aug
2009-Jul
2009-Apr
2009-Mar
2008-Aug
2008-Jul
2008-Jun
2008-May
2008-Feb
2007-Oct
2007-Sep
2007-Jul
2007-Jun
2007-May
2007-Mar
2007-Jan
2006-Nov
2006-Aug
2006-May
2006-Apr
2006-Mar
2006-Feb
2006-Jan
2005-Dec
2005-Nov
2005-Oct
2005-Sep
2005-Aug
2005-Jul
2005-Jun
2005-Apr
2005-Mar
2005-Feb
2005-Jan
2004-Dec
2004-Nov
2004-Oct
2004-Sep
2004-Jun
2004-May
2004-Mar


Calendar

< October 2004 >
SuMoTuWeThFrSa
      1 2
3 4 5 6 7 8 9
10111213141516
17181920212223
24252627282930
31      

Fri, 08 Oct 2004

ghetto mirror 101

... in which our hero performs an install without a CD-ROM drive, seeded almost entirely from /var/cache/apt/archives.

I last installed my desktop ages ago, and since then I've dist-upgraded almost every package that's installed. Installing my X40 has been fun: our bandwidth is incredibly limited by transfer, so instead of grabbing an ISO (not like it has a CD-ROM drive anyway), I decided to attempt a netboot install from /var/cache/apt/archives.

First, I set up apt-move to move /var/cache/apt/archives to a mirror directory, and to mirror something replicating the standard Ubuntu archive. Secondly, I set up dhcpd3 to netboot the contents of pxeboot.tar.gz (found on http://archive.ubuntu.com/ubuntu/dists/warty/main/daily-installer-i386), to the trusty laptop.

Now, here comes the fun. Once this was done, I needed to wget the main/debian-installer/binary-i386 Packages{,.gz,.bz2} file, and manually drop the sums/sizes into the Release file, which needed to be altered to specify the right component/suite. Once this file was there, a small for script got every single udeb specified in the d-i Packages file, and dropped it into the pool structure. Once all these things were satisfied, I was on my way to a netboot install, with minimal bandwidth consumed; thanks to Colin Watson for patiently putting up with my stupid questions.
[03:05 | /tech/ubuntu | # | hilltop hoods - group therapy | home ]