On Mon, 16 Jun 2003, Wolfgang Bornath wrote:
> I know I could solve the whole thing with the Mandrake CDs 1-3 and a
> auto-setup floppy but I want to have it on one CD altogether.
Well, my first question would be: will they even all fit, given that you
still need room for the installer itself, and (presumably, most if not all
of) its associated files? I'm not at all certain as to just how much you
can actually remove from CD #1, and still have it both install properly,
and also continue to be a fully-functional rescue disc ...
... but I strongly suspect that you'll find out, one way or another. ;)
In the off chance that you may have need of it, I've found that a handy
trick to duplicate an existing package selection onto a new system (or
two, or twenty) is to run the following on the system to be "cloned":
rpm -qa --qf %{NAME}"\ " > rpmlist
I then take a quick look through the file (which is just one long line),
hunting for any system-specific RPMs that wouldn't be appropriate on the
target system(s), and deleting their names from the list. There's no use
having stuff like nVidia RPMs in there if the target system(s) may well
not have an nVidia card, for example.
The resulting file can be fed to urpmi on the new system, thereby "filling
out" a fresh, bare-minimum (and, therefore, single-CD) install, with:
urpmi $(cat rpmlist)
Of course, urpmi has to already know by that point just where to find them
all ... but if you've got them sitting together on a custom CD (along with
this file, and a hdlist.cz), a simple script will take care of that easily
enough, and said script can go right onto that CD with them. :)
One advantage to this method is that if you configure the network on the
target system first, and then set up all the various urpmi mirror sources
before you run this (which can also be done in the aforementioned script),
urpmi will grab from *them* any packages for which updated RPMs have been
issued since the date that your custom RPM CD itself was created ... this
may not be exactly what you're looking for, but if you're looking at a
two-CD arrangement anyway, perhaps it will help a bit, as you can then use
the "stock" CD #1 - or, since you also mentioned custom kernels, perhaps
one which requires the fewest number of modifications.
It's about the fastest way to go from bare drives to a "fully loaded, and
ready to tweak" Mandrake system that I've managed to come up with ...
... well, so far, at least ... ;)
HTH!
--
Bill Mullen [EMAIL PROTECTED] MA, USA RLU #270075 MDK 8.1 & 9.0
The engineer is neither optimist nor pessimist. He sees the proverbial
half-full/empty glass and says, "The glass is twice as big as there is
any need for it to be."
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com