Re: cloop from srcatch using debootstrap & knoppix debs
mammique <[email protected]> Mon, 26 Jul 2004 17:56:57 +0200
| Newsgroups | gmane.linux.debian.knoppix,gmane.linux.debian.devel.custom |
|---|---|
| Message-ID | <1090857417.5707.41.camel@PlasticBertrand> |
Le dim 25/07/2004 =E0 18:56, Fabian Franz a =E9crit : > Am Sonntag, 25. Juli 2004 18:02 schrieb mammique: > > Hi, > > > > is there a way to create a minimal knoppix system (to compress into a > > cloop) using debootstrap & knoppix debs : >=20 > Yes, >=20 > since yesterday ;-) there is: >=20 > It is still experimental and won't install X: >=20 > Second: I won't take any warranty for any damage caused by this scripts= . Use=20 > them with caution on your own risk. >=20 > - Download all files in http://debian.tu-bs.de/knoppix/debian/knoppify/ > - Extract the templates in the same dir > - Make a new partition say /dev/hda8 (at least 6 GB should do), mount i= t to=20 > say mount /dev/hda8 /mnt/hda8 and debootstrap a basic debian to it=20 > (debootstrap sarge /mnt/hda8), run base-config >=20 > - Change templates/ files to suit your needs (resolv.conf, fstab,=20 > sources.list) > - Run ./knoppify.sh /mnt/hda8 >=20 > - Download master.iso from=20 > http://debian.tu-bs.de/knoppix/debian/sarge-live-base/master.iso >=20 I don't really understand this step... Why downloading this iso file ? The goal is to produce an iso file, isn't it ? BTW, did you began to code miniroot ? If no don't make it, tell me & i'll do it. I look at my code & at yours, it should be easy. > - mount -o loop master.iso /mnt > - mkdir /mnt/hda8/KNOPPIX.build/master > - cp -a /mnt/* /mnt/hda8/KNOPPIX.build/master/ > - umount /mnt >=20 > Now chroot into /mnt/hda8 > Do: >=20 > /KNOPPIX.build/Knoppix-3.4.mkcompressed /KNOPPIX.build/mas [...]