[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building custom image : installer says it is not a valid image

On Thu, Jan 19, 2012 at 10:35:34AM +0100, Nahir MOHAMED wrote:
>Hi all,
>First of all I'm new with building debian custom image and I'm
>running trouble.
>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/


Steve McIntyre, Cambridge, UK.                                steve@einval.com
"The problem with defending the purity of the English language is that
 English is about as pure as a cribhouse whore. We don't just borrow words; on
 occasion, English has pursued other languages down alleyways to beat them
 unconscious and rifle their pockets for new vocabulary."  -- James D. Nicoll

Reply to: