Re: Making netinst images
Hi, Dan Serban wrote: I'd like to make a small change to the netinst iso. Simply changing the Install menu item to include a few other options passed to the installer process. Is there an easy way to achieve this? Steve McIntyre wrote: Be aware: to make a working image using xorriso, you'll need a newer version of xorriso than is available in stable or testing. xorriso may manipulate the original ISO image. It can add or overwrite files, or rename them. The image grows by a new directory tree and by the data of newly inserted files. I just made a test with xorriso-1.0.4 and the Debian 6.0 amd64 netinst image. The test brings a file from disk filesystem into the ISO image. If the target address /my/iso_file already exists, then it gets overwritten. xorriso -boot_image isolinux patch \ -dev ./debian-6.0.0-amd64-netinst.iso \ -map /tmp/some_file_on_disk /my/iso_file I copied the image onto USB stick and CD. Both boot to the Debian (ISOLINUX ?) install menu which allows to enter the help menu. The new file from disk had 610,984 bytes. The image file grew by 2,637,824 bytes to 177,537,024. (The file content, new directory tree, tree copy for partition 1, 320 kB of padding.) xorriso-1.0.4 is still on its way through the packaging process. So i also tested with version 0.5.6 which is available in squeeze. The image lost its fancy MBR partition table offset and the image file is smaller than the announced partition size (known minor bug). Nevertheless, the image boots from USB stick and CD. Have a nice day :) Thomas -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/97061212210677@192.168.2.69
Re: Making netinst images
You wrote: After playing around with preseeding, I'd like to make a small change to the netinst iso. Simply changing the Install menu item to include a few other options passed to the installer process. Is there an easy way to achieve this? I found a howto on rebuilding the .iso's provided by debian, but I was unaware that the information is no longer pertinent to squeeze due to mkisofs being removed and now using genisoimage to create hybrid (ie dd if=.. of=/dev/usbstick) images. Ish. We used to use mkisofs, then switched to genisoimage (a fork of mkisofs) several years ago. We're now using xorriso, as it's capable of generating the isohybrid images. I'm not sure how to do this and I can't seem to google anything that applies to my situation. Does anyone have any experience with this? Yes. The debian-cd scripts deliberately add information about the command-line they're using into a file on each image they create. Look at .disk/mkisofs (yes, now badly named I realise!) for the command line. Hopefully that should give you mpst of the help you need. Be aware: to make a working image using xorriso, you'll need a newer version of xorriso than is available in stable or testing. The version in unstable will work, or build your own if you need to run on a stable system. We're currently using a locally-built version 1.0.1 for the official builds, but I'll be updating that soon. If you need more help, please feel free to ask on the debian-cd list. -- Steve McIntyre, Cambridge, UK.st...@einval.com There's no sensation to compare with this Suspended animation, A state of bliss -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/e1pz826-0008t0...@jack.mossbank.org.uk