[Debburn-devel] A genisoimage problem on amd64 Debian live

Steven Shiau steven at nchc.org.tw
Mon Sep 20 01:00:25 UTC 2010


Hi,
I have posted this problem on Debian live mailing list, however, I think 
I'd better to mention here, too.
The problem is about running genisoimage on amd64 version Debian live. 
It keeps giving me this error:
"genisoimage: Uh oh, I cant find the boot catalog directory 'isolinux'!"
How to reproduce:
1. Download 
http://cdimage.debian.org/cdimage/squeeze_live_alpha2/amd64/iso-hybrid/debian-live-60alpha2-amd64-standard.iso
2. Boot it, then configure the internet
3. apt-get update; apt-get install genisoimage bzip2
4. mkdir -p /tmp/iso-temp/isolinux
5. cd /tmp/
6. wget 
http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-4.02.tar.bz2
7. tar xvjf syslinux-4.02.tar.bz2 syslinux-4.02/core/isolinux.bin 
syslinux-4.02/com32/modules/chain.c32
8. mv syslinux-4.02/core/isolinux.bin 
syslinux-4.02/com32/modules/chain.c32 /tmp/iso-temp/isolinux
9. LC_ALL=C genisoimage --verbose -o /tmp/t.iso -f -r -J -l -b 
isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 
4 -boot-info-table -graft-points /isolinux/=/tmp/iso-temp/isolinux/
Warning: -follow-links does not always work correctly; be careful.
genisoimage 1.1.10 (Linux)
Scanning /tmp/iso-temp/isolinux/
genisoimage: Uh oh, I cant find the boot catalog directory 'isolinux'!

I am sure the dir isolinux exists:
# find /tmp/iso-temp/ -print
/tmp/iso-temp/
/tmp/iso-temp/isolinux
/tmp/iso-temp/isolinux/chain.c32
/tmp/iso-temp/isolinux/isolinux.bin


BTW, the problem is _NOT_ reproducible in the following cases:
1. On a machine installed with amd64 Squeeze on harddrive
2. On an i386 Debian live 
(http://cdimage.debian.org/cdimage/squeeze_live_alpha2/i386/iso-hybrid/debian-live-60alpha2-i386-standard.iso)
For both cases, they run smoothly:
==========================
root at debian:/tmp# LC_ALL=C genisoimage --verbose -o /tmp/t.iso -f -r -J 
-l -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot 
-boot-load-size 4 -boot-info-table -graft-points 
/isolinux/=/tmp/iso-temp/isolinux/
Warning: -follow-links does not always work correctly; be careful.
genisoimage 1.1.10 (Linux)
Scanning /tmp/iso-temp/isolinux/
Writing:   Initial Padblock                        Start Block 0
Done with: Initial Padblock                        Block(s)    16
Writing:   Primary Volume Descriptor               Start Block 16
Done with: Primary Volume Descriptor               Block(s)    1
Writing:   Eltorito Volume Descriptor              Start Block 17
Size of boot image is 4 sectors -> No emulation
Done with: Eltorito Volume Descriptor              Block(s)    1
Writing:   Joliet Volume Descriptor                Start Block 18
Done with: Joliet Volume Descriptor                Block(s)    1
Writing:   End Volume Descriptor                   Start Block 19
Done with: End Volume Descriptor                   Block(s)    1
Writing:   Version block                           Start Block 20
Done with: Version block                           Block(s)    1
Writing:   Path table                              Start Block 21
Done with: Path table                              Block(s)    4
Writing:   Joliet path table                       Start Block 25
Done with: Joliet path table                       Block(s)    4
Writing:   Directory tree                          Start Block 29
Done with: Directory tree                          Block(s)    2
Writing:   Joliet directory tree                   Start Block 31
Done with: Joliet directory tree                   Block(s)    2
Writing:   Directory tree cleanup                  Start Block 33
Done with: Directory tree cleanup                  Block(s)    0
Writing:   Extension record                        Start Block 33
Done with: Extension record                        Block(s)    1
Writing:   The File(s)                             Start Block 34
Total translation table size: 2048
Total rockridge attributes bytes: 628
Total directory bytes: 2048
Path table size(bytes): 26
Done with: The File(s)                             Block(s)    23
Writing:   Ending Padblock                         Start Block 57
Done with: Ending Padblock                         Block(s)    150
Max brk space used 0
207 extents written (0 MB)
==========================

If you need more info, please let me know.
Thanks.

Steven.
-- 
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan.
http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB  F4BC 08B3 E3D7 9762 755A



More information about the Debburn-devel mailing list