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

debian-installer demo system, take 2



Here is another debian-installer demo system. It still needs a real
debian system and doesn't chroot, nor does it even use cdebconf although
it probably could. But it is rather more impressive than the last one:

joey@gumdrop:~/tmp/demo>du -s
73k     .

[ Well that's not too bad. Of course it lacks the big 4: kernel, libc,
  busybox, cdebconf. BTW, it compresses down to 19k.. ]

joey@gumdrop:~/tmp/demo>find
.
./var
./var/lib
./var/lib/dpkg
./var/lib/dpkg/info
./var/lib/dpkg/info/udpkg.list
./var/lib/dpkg/info/main-menu.list
./var/lib/dpkg/info/main-menu.postrm
./var/lib/dpkg/info/main-menu.templates
./var/lib/dpkg/info/wget-retriever.list
./var/lib/dpkg/info/choose-mirror.list
./var/lib/dpkg/info/choose-mirror.postrm
./var/lib/dpkg/info/choose-mirror.postinst
./var/lib/dpkg/info/anna.list
./var/lib/dpkg/info/anna.postrm
./var/lib/dpkg/info/anna.templates
./var/lib/dpkg/info/anna.postinst
./var/lib/dpkg/info/snddetect.list
./var/lib/dpkg/info/snddetect.md5sums
./var/lib/dpkg/info/ethdetect.list
./var/lib/dpkg/info/ethdetect.md5sums
./var/lib/dpkg/info/choose-mirror.templates
./var/lib/dpkg/status
./var/cache
./var/cache/anna
./usr
./usr/bin
./usr/bin/udpkg
./usr/bin/anna
./usr/bin/choose-mirror
./usr/bin/main-menu
./usr/bin/dpkg-reconfigure
./usr/lib
./usr/lib/debian-installer
./usr/lib/debian-installer/retriever
./usr/lib/debian-installer/retriever/wget-retriever
./Debconf
./Debconf/Config.pm

[ That's all there is in the demo system.. ]

joey@gumdrop:~/tmp/demo>PERL5LIB='.' debconf-loadtemplate \
	var/lib/dpkg/info/*.templates
joey@gumdrop:~/tmp/demo>PERL5LIB='.' DEBIAN_FRONTEND=text \
	/usr/share/debconf/frontend usr/bin/main-menu

[ The main-menu is not displayed at this point because there is only one item
  on it, anna. ]

Choose mirror
-------------

The goal is to find a mirror that is close to you on the network -- be  aware
that near countries, or even your own, may not be the best choice. 

  a. Australia       2. France         8. Norway
  o. Austria         g. Germany        p. Poland
  b. Belgium         3. Greece         9. Portugal
  q. Brazil          h. Hong Kong      r. Russia
  v. Britain (UK)    4. Hungary        s. Slovakia
  w. Bulgaria        i. Indonesia      10. Slovenia
  c. Canada          5. Ireland        11. South Africa
  x. China           6. Italy          12. Spain
  y. Costa Rica      j. Japan          13. Sweden
  z. Croatia         k. Korea (South)  14. Switzerland
  1. Czech Republic  l. Latvia         t. Taiwan
  d. Denmark         m. Mexico         15. Turkey
  e. Estonia         n. Netherlands    u. United States
  f. Finland         7. New Zealand    16. enter information manually

Use a mirror from what country? u

Select the mirror Debian will be downloaded from. You should select a  mirror
that is close to you on the net. 

  h. http.us.debian.org        s. sunsite.unc.edu
  f. ftp.eecs.umich.edu        k. ftp.cerias.purdue.edu
  l. llug.sep.bnl.gov          o. debian.fifi.org
  a. ftp.debian.org            p. mirrors.rcn.net
  b. ftp-mirror.internap.com   q. debian.gnaps.com
  d. debian.uchicago.edu       r. ftp.keystealth.org
  c. ftp.us.debian.org         t. debian.bilow.com
  e. debian.tod.net            n. natasha.stmarytx.edu
  g. lyre.mit.edu              u. ftp.digex.net
  m. mirrors.xmission.com      v. debian.lrlug.org
  i. download.sourceforge.net  w. ftp.tux.org
  j. ftp.kernel.org          

Choose the Debian mirror to use: h

If you need to use a http proxy to access the outside world, enter the proxy
information here. Otherwise, leave this blank. 

When entering proxy information, use the standard form of
"http://[[user][:pass]@]host[:port]/"; 

Enter http proxy information, or leave blank for none: 

[ It doesn't really matter what mirrors you tell it to use; it is hardcoded
  for now to use the udeb repository at 
  http://people.debian.org/~joeyh/debian-installer/udebs/ regardless. ]

[ At this point it pauses for a while. It is actually downloading the Packages
  file, then all the available udebs, and unpacking them all. ]

Here is the main menu of the Debian installer. 

  a. autodetection of ethernet cards  f. Finish setting up the Debian installer

Choose the next step: a

[ As you can see, with more debs downloaded, more stuff is appearing on the
  menu. Ok, it's a little silly to set up our ethernet card after downloading
  stuff from the net, and that item won't work anyway, but you get the idea. ]

<ctrl-c>

joey@gumdrop:~/tmp/demo>find usr/bin 
usr/bin
usr/bin/udpkg
usr/bin/anna
usr/bin/choose-mirror
usr/bin/main-menu
usr/bin/dpkg-reconfigure
usr/bin/memdetect
usr/bin/mdmdetect
usr/bin/ethdetect
usr/bin/diskdetect
usr/bin/cpudetect
usr/bin/cddetect

[ Some of the new files it installed. ]

The demo system is available at 
http://people.debian.org/~joeyh/debian-installer/demo2.tar.gz

-- 
see shy jo



Reply to: