Package: bootcd Version: 2.45 Severity: normal
Hello. In order to use grub instead of isolinux I tried to set mkisofs parameters using following configuration parameter: MKISOFS_CHNG="-b boot/grub/stage2_eltorito -c boot/grub/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -x $VAR/compressed_dir/isolinux" Unfortunately, that didn't work out first, because mkisofs needs source path at the end of the parameter list and treat anything as a path after first path item met. The easiest way to fix it is to change mkisofs calls in following way: >-------------------------------------------------------------------- --- bootcdwrite 2004-12-17 11:45:39.000000000 +0300 +++ bootcdwrite.bak 2005-01-13 17:12:02.000000000 +0300 @@ -492,8 +492,8 @@ mkisofs_ignore MKISOFS_OPTS="-z -R -b isolinux/isolinux.bin -c isolinux/boot.cat \ -no-emul-boot -boot-load-size 4 -boot-info-table \ - -o $VAR/cdimage $VAR/compressed_dir" - run mkisofs $(chng_opts "$MKISOFS_OPTS" "$MKISOFS_CHNG") + -o $VAR/cdimage" + run mkisofs $(chng_opts "$MKISOFS_OPTS" "$MKISOFS_CHNG") "$VAR/compressed_dir" run rm -r $VAR/compressed_dir } @@ -502,9 +502,8 @@ compress_dir uncompress_files cdboot.img $* mkisofs_ignore - MKISOFS_OPTS="-z -R -b cdboot.img -c cdboot.catalog -o $VAR/cdimage \ - $VAR/compressed_dir" - run mkisofs $(chng_opts "$MKISOFS_OPTS" "$MKISOFS_CHNG") + MKISOFS_OPTS="-z -R -b cdboot.img -c cdboot.catalog -o $VAR/cdimage" + run mkisofs $(chng_opts "$MKISOFS_OPTS" "$MKISOFS_CHNG") "$VAR/compressed_dir" run rm -r $VAR/compressed_dir } @@ -520,8 +519,8 @@ -x $SRCDI/dev -x $SRCDI/home -x $SRCDI/root $EXCLUDE \ /=$SRCDI/ /=$CHANGES \ /home.ro/=$SRCDI/home /root.ro/=$SRCDI/root /var.ro/=$SRCDI/var \ - /etc.ro/=$SRCDI/etc $MKISODEVFS" - run mkisofs $(chng_opts "$MKISOFS_OPTS" "$MKISOFS_CHNG") + /etc.ro/=$SRCDI/etc" + run mkisofs $(chng_opts "$MKISOFS_OPTS" "$MKISOFS_CHNG") "$MKISODEVFS" } cdimage_normal() @@ -534,8 +533,8 @@ -x $SRCDI/dev -x $SRCDI/home -x $SRCDI/root $EXCLUDE \ /=$SRCDI/ /=$CHANGES \ /home.ro/=$SRCDI/home /root.ro/=$SRCDI/root /var.ro/=$SRCDI/var \ - /etc.ro/=$SRCDI/etc $MKISODEVFS" - run mkisofs $(chng_opts "$MKISOFS_OPTS" "$MKISOFS_CHNG") + /etc.ro/=$SRCDI/etc" + run mkisofs $(chng_opts "$MKISOFS_OPTS" "$MKISOFS_CHNG") "$MKISODEVFS" } @@ -665,7 +664,7 @@ check_sizes echo "--- Building Modifications ---" | tee -a $ERRLOG -run mkdir -p $VAR/mnt $CHANGES/proc $CHANGES/ram1 $CHANGES/ram2 +run mkdir -p $VAR/mnt $CHANGES/proc $CHANGES/sys $CHANGES/ram1 $CHANGES/ram2 # at Boottime /etc -> /ram1/etc -> /etc.ro for i in etc tmp dev home root; do run ln -sf ../$i.ro $CHANGES/ram1/$i; done >-------------------------------------------------------------------- Please note that this patch also adds /sys to the tree, which is really needed for hotplug to do its best with 2.6. Please consider applying this patch. Thank you. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.10-custom Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R) Versions of packages bootcd depends on: ii bootcd-i386 2.45 bootcd extension to create images ii cpio 2.5-1.1 GNU cpio -- a program to manage ar ii dosfstools 2.10-1 Utilities to create and check MS-D ii fdutils 5.4-20040228-1 Linux floppy utilities ii file 4.12-1 Determines file type using "magic" ii mkisofs 4:2.01+01a01-2 Creates ISO-9660 CD-ROM filesystem -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]