Re: Building custom image : installer says it is not a valid image
Thanks for help now it works. I totaly forgot to look for hidden folder.
Now I'm going to try my next step adding new package .deb to the image.
I think I'll use apt-ftparchive after adding my deb package on a
directory inside /cdrom/pool/main/ like explain here :
Is it the good way ?
Open Source Centerapt-ftparchive
Tél : +33 (0)188.8.131.52.53
Le 19/01/2012 12:38, Steve McIntyre a écrit :
On Thu, Jan 19, 2012 at 10:35:34AM +0100, Nahir MOHAMED wrote:
First of all I'm new with building debian custom image and I'm
To start learning how to build a custom image I'm trying to generate
an .iso image from the original content of the
debian-509-i386-CD-1.iso. Here are the steps I go through to build my
*Step 1 : *
mount -o loop debian-509-i386-CD-1.iso /mnt
*Step 2 :*
cp -R /mnt/* /home/user/SourceCD/
*Step 3 :*
chmod -R 744 /home/user/SourceCD/
*Step 4 :*
Running the command below from /home/user/SourceCD/
genisoimage -o ../final_iso/test.iso -r -b isolinux/isolinux.bin -c
isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table
-R -J -v -T .
Finally I have a test.iso file I try it with KVM. I'm able to boot on
it, to launch install to choose language, keymap but when checking
the CD the installer says it cannot be used for installation.
Your problem is step 2. There's a directory .disk (containing metadata
for d-i) which needs to be copied too; try
cp -R /mnt/. /home/user/SourceCD/