|
|||||||||||
|
[RFC] Support for using multiple CDs during installation
From: Frans Pop <elendil(at)planet.nl>
Date: Thu Oct 25 2007 - 09:52:06 EDT
The patches have been tested and work. I've done several successful desktop
installations using CD1 plus CD2.
The main issue with the current patches is the new dialogs. Comments on them and suggestions for improvement are welcome. If those are fixed, the patches could be considered for inclusion even though there are some remaining issues (see below). I'm unsure myself whether any of these issues is serious enough to prevent inclusion. Changes by the patch Scanning for extra CDs is only supported: - if the installation CD is a full CD or DVD - if the installation method is not hd-media The apt-setup generator 50cdrom has been moved to 40cdrom; a new generator 41cdset was added to allow scanning of additional CDs. The generator for mirror sources run after that. When base-config was integrated into D-I, we had find a way to make tasksel install from CD images for hd-media installations. This was solved by bind mounting the CD into target and telling apt-cdrom not to mount/unmount CDs. In the patch for apt-setup this is reverted: apt-cdrom is allowed to mount CDs again. Note that base-installation is not changed in any way.
For CD changing by apt-cdrom in /target to be possible, the installation CD
has to be unmounted in the D-I environment. While it is unmounted, no udeb
installations are possible.
Remaining issues After the change to the 2nd CD in pkgsel, the progress bar starts at 0 again instead of continuing from its old position. The prompt for CD changing works during pkgsel, but apparently not for a normal apt-install. During initial tests, installation of grub failed because CD2 was still mounted and I never got the prompt to change CDs. This is worked around by making sure CD1 is installed again, but if any packages from other CDs are needed for whatever reason _after_ pkgsel, the installation will hang for the same reason. I've not really looked yet at why this does not work.
The mechanism to mount the CD again for the D-I environment is somewhat
fragile, for two reasons:
During my tests, the first mount of a CD after changing it would consistently fail. This is probably a bug in VirtualBox. I've added a workaround for this to make working on this a bit easier, but that should probably be removed.
Cheers,
-- To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Thu Oct 25 09:52:37 2007 This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 03:09:47 EDT |
||||||||||
|
|||||||||||