From: Matthew F. <mf...@ci...> - 2002-09-13 21:52:32
|
On Fri, Sep 13, 2002 at 10:19:04AM -0600, Joel Noble wrote: > > Hi, Matthew! Thanks for your quick response! > > I got the mkisofs package installed. I'm a little bit stuck on what to do > next, so if you don't mind, I'll go over what I think I'm doing, and > hopefully you can tell me where I'm confused. > > I'd like to start out with your package, and build on it by adding in more > Trinux tools. To do this, I need to get a copy of the stuff that went into > creating your .iso, and have that in a directory tree on my computer, like > you have in $ISOROOT in your example. Can I "unpack" the .iso you made > available and get this? I don't know how to do this. Perhaps I just mount > the CD I burned of the ISO and recursively copy everything over, > maintaining permissions? Yes, I think you are on the right track mount the trinux CD # mount -t iso9660 /dev/hdc /mnt # cp -a /mnt/* /iso-root #mkisofs -R -J -o ../place/where/there/is/room/trinux.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table /iso-root > > I seem to have isolinux.bin on my linux box (perhaps it came with mkisofs), > so that should be cool. However, I don't have a "boot.cat" file. Is this > something you had to make yourself? No. It shouldn't be necessary. > Most importantly, how should I put the Trinux packages into before making > the .iso? My guess is that I download all the packages I want and put them > into /trinux/bootpkg and then list them in the text file at > /trinux/tux/config/pkglist. However, some of your packages in the bootpkg > directory (e.g. tcpdump.tgz) are available on boot up, but are NOT in the > pkglist text file. I checked the FAQ, and section 2.5 seems to say that > they must be listed in the pkglist file -- but apparently that isn't true :( Unfortunately there is much in the documentation that is not true because I keep changing them. stuff in bootpkg always gets loaded. If you have a pkg directory, then only the files in pkglist list get loaded if pkglist exists I originally added the bootpkg just for floppies so some packages get loaded first So, yes just put whatever packages you want to get automatically loaded in bootpkg Assuming you are booting off the CD (you should have IDE support) so then if you actually want to burn it on your drive, get http://trinux.sf.net/pkg/2.4.19/scsi-misc.tgz and then manually insmod the ide-scsi.o (and maybe sg.o) and then you can do a man cdrecord to see how to Of course all of this assumes you have enough filesystem space for your .iso and the ISO source tree and the cdrtools.tgz package. - mdf |