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-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/97061212210677@xxxxxxxxxxxx



Relevant Pages

  • Windows on Mac - how to.
    ... No-nonsense instructions for those "in the know". ... A custom slipstreamed CD is required to install XP on a Mac. ... This procedure WILL WIPE YOUR iMAC DISK CLEAN. ... Partition the disk in two using the OSX CD: ...
    (uk.comp.sys.mac)
  • Re: xp on intel Mac from usb stick?
    ... Would it be possible to run windows xp native from a usb stick? ... A custom slipstreamed CD is required to install XP on a Mac. ... partition managers but if you're feeling adventurous you may ... This procedure WILL WIPE YOUR iMAC DISK CLEAN. ...
    (comp.sys.mac.apps)
  • Re: Dual boot problem
    ... The install went smoothly but when the computer restarted it ... went straight into Windows XP and the Grub Bootloader did not appear! ... One produced the same problem) For some reason the Grub bootloader had ... install GRUB on the first track on the partition where I installed ...
    (comp.os.linux.setup)
  • Re: Reinstallation erases all?
    ... W2 is active on C and only visible in PM and install. ... I'll take a look at Paragon as are in that Boot CD I linked to. ... Active partition status to the partition that it was on before this mess ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: XP multiple install earth to bruce hello?
    ... different drive letter for the "boot" partion. ... the BIOS will find the partition that is marked "Active" - usually ... you install an additional hard drive, the existing mapping of drive letters ...
    (microsoft.public.windows.group_policy)