Hi, I am trying to rebuild the images for an updated i386 redhat 7.1 distribution including the lastest updates. summary: ------- By increasing the bootnet.img size to 1722 instead of 1440, i could build the images. But the images can not boot (finding the boot floppy but boot failed) no loading vmlinuz. If I make by hand the boot floppy then the floppy is bootable. I suspect step 8) is wrong somehow... Any idea? Regards, Tru step by step protocole; 1) copy from cd1 and cd2 to ~ftp/pub/rh71 (all rpm are now under ~ftp/pub/linux/rh71/RedHat/RPMS) 2) copy the updates/i[3456]86/*.rpm and updates/noarch/*.rpm to the ~ftp/pub/linux/rh71/RedHat/RPMS 3) removed the original packages from ~ftp/pub/rh71/RedHat/RPMS 4) run the genhdlist $ /usr/lib/anaconda-runtime/genhdlist --withnumbers ~ftp/pub/linux/rh71 5) failure-1 to run buildinstall $ sudo /usr/lib/anaconda-runtime/buildinstall ~ftp/pub/linux/rh71 Building images... Assembling package list... Expanding packages... retrieving timezones Running mkfontdir... /usr/X11R6/bin/mkfontdir: failed to create directory in /raid5/ftp/pub/linux/rh71/RedHat/instimage/usr/share/fonts/ISO8859-2/* Scrubbing trees... Compressing .mo files in stage2 images... Patching python library... Removing unused python files in hdimage... done. Compressing ramdisk install images... Module ide-cd not found in kernel rpm Wrote /tmp/makebootdisk.tree.12988 (728k compressed, 1010k free) Wrote /tmp/makebootdisk.tree.12988 (764k compressed, 933k free) Module ide-cd not found in kernel rpm Wrote /tmp/makebootdisk.tree.12988 (728k compressed, 967k free) Wrote /raid5/ftp/pub/linux/rh71/images//boot.img (29k free) cp: writing `/tmp/makebootdisk.tree.12988/vmlinuz': No space left on device sed: couldn't write 51 items to {standard output}: No space left on device cp: writing `/tmp/makebootdisk.tree.12988/expert.msg': No space left on device cp: writing `/tmp/makebootdisk.tree.12988/general.msg': No space left on device cp: writing `/tmp/makebootdisk.tree.12988/param.msg': No space left on device cp: writing `/tmp/makebootdisk.tree.12988/rescue.msg': No space left on device /raid5/ftp/pub/linux/rh71/buildinstall.tree.8511/mk-images: Failed to copy messages from /raid5/ftp/pub/linux/rh71/RedHat/instimage/usr/lib/anaconda-runtime/boot/ to /tmp/makebootdisk.tree.12988. 6) failure-2 to run buildinstall tried to increase the bootnet.img size (from mk-images.i386) here is the diff: 118c118 < --bootdisksize 1440 \ --- > --bootdisksize 1722 \ Building images... Assembling package list... Expanding packages... retrieving timezones Running mkfontdir... /usr/X11R6/bin/mkfontdir: failed to create directory in /raid5/ftp/pub/linux/rh71/RedHat/instimage/usr/share/fonts/ISO8859-2/* Scrubbing trees... Compressing .mo files in stage2 images... Patching python library... Removing unused python files in hdimage... done. Compressing ramdisk install images... Module ide-cd not found in kernel rpm Wrote /tmp/makebootdisk.tree.18628 (728k compressed, 1010k free) Wrote /tmp/makebootdisk.tree.18628 (764k compressed, 933k free) Module ide-cd not found in kernel rpm Wrote /tmp/makebootdisk.tree.18628 (728k compressed, 967k free) Wrote /raid5/ftp/pub/linux/rh71/images//boot.img (28k free) Wrote /raid5/ftp/pub/linux/rh71/images//bootnet.img (260k free) Wrote /raid5/ftp/pub/linux/rh71/images//pcmcia.img (29k free) Wrote /raid5/ftp/pub/linux/rh71/images/de/boot.img (27k free) Wrote /raid5/ftp/pub/linux/rh71/images/de/bootnet.img (260k free) Wrote /raid5/ftp/pub/linux/rh71/images/de/pcmcia.img (28k free) <...> Wrote /raid5/ftp/pub/linux/rh71/images/sv/pcmcia.img (28k free) Module ide-cd not found in kernel rpm Wrote /tmp/makebootdisk.tree.18628 (720k compressed, 1634k free) Wrote /raid5/ftp/pub/linux/rh71/images/ja/boot.img (35k free) Wrote /tmp/makebootdisk.tree.18628 (760k compressed, 1557k free) cp: writing `/tmp/makebootdisk.tree.18628/expert.msg': No space left on device cp: writing `/tmp/makebootdisk.tree.18628/general.msg': No space left on device cp: writing `/tmp/makebootdisk.tree.18628/param.msg': No space left on device cp: writing `/tmp/makebootdisk.tree.18628/rescue.msg': No space left on device /raid5/ftp/pub/linux/rh71/buildinstall.tree.14132/mk-images: Failed to copy messages from /raid5/ftp/pub/linux/rh71/RedHat/instimage/usr/lib/anaconda-runtime/boot/ja_JP to /tmp/makebootdisk.tree.18628. 7) success running buildinstall increase the bootnet.img size (from mk-images.i386) for "ja" too. here is the diff: 118c118 < --bootdisksize 1440 \ --- > --bootdisksize 1722 \ 140c140 < makebootdisk --bootdisksize 1440 \ --- > makebootdisk --bootdisksize 1722 \ Building images... Assembling package list... Expanding packages... retrieving timezones Running mkfontdir... /usr/X11R6/bin/mkfontdir: failed to create directory in /raid5/ftp/pub/linux/rh71/RedHat/instimage/usr/share/fonts/ISO8859-2/* Scrubbing trees... Compressing .mo files in stage2 images... Patching python library... Removing unused python files in hdimage... done. Compressing ramdisk install images... Module ide-cd not found in kernel rpm Wrote /tmp/makebootdisk.tree.25800 (732k compressed, 1010k free) Wrote /tmp/makebootdisk.tree.25800 (768k compressed, 933k free) Module ide-cd not found in kernel rpm Wrote /tmp/makebootdisk.tree.25800 (728k compressed, 967k free) Wrote /raid5/ftp/pub/linux/rh71/images//boot.img (23k free) Wrote /raid5/ftp/pub/linux/rh71/images//bootnet.img (258k free) Wrote /raid5/ftp/pub/linux/rh71/images//pcmcia.img (26k free) Wrote /raid5/ftp/pub/linux/rh71/images/de/boot.img (22k free) <...> Wrote /raid5/ftp/pub/linux/rh71/images/../dosutils/autoboot/cdboot-ja.img (226k free) Module dmx319ld not found in kernel rpm Module fcal not found in kernel rpm Module fmv18x not found in kernel rpm Module ide-cd not found in kernel rpm Module myri_sbus not found in kernel rpm Module pluto not found in kernel rpm Module qlogicpti not found in kernel rpm Module sktr not found in kernel rpm Module smc9194 not found in kernel rpm Module sunbmac not found in kernel rpm Module sunqe not found in kernel rpm Module dmx319ld not found in kernel rpm Module fcal not found in kernel rpm Module ide-cd not found in kernel rpm Module pluto not found in kernel rpm Module qlogicpti not found in kernel rpm Wrote /raid5/ftp/pub/linux/rh71/RedHat/base/netstg2.img (0k of 4608k free) Wrote /raid5/ftp/pub/linux/rh71/RedHat/base/netstg1.img (0k of 3300k free) Module fmv18x not found in kernel rpm Module ide-cd not found in kernel rpm Module myri_sbus not found in kernel rpm Module sktr not found in kernel rpm Module smc9194 not found in kernel rpm Module sunbmac not found in kernel rpm Module sunqe not found in kernel rpm Wrote /raid5/ftp/pub/linux/rh71/RedHat/base/hdstg2.img (0k of 4608k free) Wrote /raid5/ftp/pub/linux/rh71/RedHat/base/hdstg1.img (87k of 3300k free) 103386+0 records in 103386+0 records out mke2fs 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09 168447 blocks 168447 blocks Wrote /raid5/ftp/pub/linux/rh71/RedHat/base/stage2.img (103386k) $ ls -l ~ftp/pub/linux/rh71/images//bootnet.img -rw-r--r-- 1 root root 1763328 Nov 28 11:59 /raid5/ftp/pub/linux/rh71/images//bootnet.img $ file ~ftp/pub/linux/rh71/images//bootnet.img /raid5/ftp/pub/linux/rh71/images//bootnet.img: x86 boot sector, system SYSLINUX, FAT (12 bit) 8) failure to boot the newly built bootnet.img $ fdformat /dev/fd0u1722 && dd if=bootnet.img of=/dev/fd0u1722 Double-sided, 82 tracks, 21 sec/track. Total capacity 1722 kB. Formatting ... done Verifying ... done 3444+0 records in 3444+0 records out when doing $ mdir a: I get a bunch of errors in the syslog but a correct ouput: Volume in drive A has no label Volume Serial Number is 3C04-C39C Directory for A:/ LDLINUX SYS 6192 11-28-2001 12:59 SYSLINUX CFG 608 11-28-2001 12:59 INITRD IMG 782975 11-28-2001 12:59 VMLINUZ 671770 11-28-2001 12:59 BOOT MSG 955 11-28-2001 12:59 EXPERT MSG 658 11-28-2001 12:59 GENERAL MSG 1202 11-28-2001 12:59 PARAM MSG 862 11-28-2001 12:59 RESCUE MSG 506 11-28-2001 12:59 9 files 1 465 728 bytes 264 192 bytes free Nov 28 12:13:55 xiii kernel: end_request: I/O error, dev 02:00 (floppy), sector 62 Nov 28 12:13:58 xiii kernel: Nov 28 12:13:58 xiii kernel: floppy driver state Nov 28 12:13:58 xiii kernel: ------------------- Nov 28 12:13:58 xiii kernel: now=186133075 last interrupt=186132815 diff=260 las t called handler=c01fb170 Nov 28 12:13:58 xiii kernel: timeout_message=floppy start Nov 28 12:13:58 xiii kernel: last output bytes: Nov 28 12:13:58 xiii kernel: 0 90 186132736 Nov 28 12:13:58 xiii kernel: 8 81 186132736 Nov 28 12:13:58 xiii kernel: e6 80 186132736 Nov 28 12:13:58 xiii kernel: 4 90 186132736 Nov 28 12:13:58 xiii kernel: 0 90 186132736 Nov 28 12:13:58 xiii kernel: 1 90 186132736 Nov 28 12:13:58 xiii kernel: 1f 90 186132736 Nov 28 12:13:58 xiii kernel: 2 90 186132736 Nov 28 12:13:58 xiii kernel: 20 90 186132736 Nov 28 12:13:58 xiii kernel: 25 90 186132736 Nov 28 12:13:58 xiii kernel: ff 90 186132736 Nov 28 12:13:58 xiii kernel: e6 80 186132775 Nov 28 12:13:58 xiii kernel: 8 90 186132775 Nov 28 12:13:58 xiii kernel: 0 90 186132775 Nov 28 12:13:58 xiii kernel: 2 90 186132775 Nov 28 12:13:58 xiii kernel: 1 90 186132775 Nov 28 12:13:58 xiii kernel: 2 90 186132775 Nov 28 12:13:58 xiii kernel: 20 90 186132775 Nov 28 12:13:58 xiii kernel: 25 90 186132775 Nov 28 12:13:58 xiii kernel: ff 90 186132775 Nov 28 12:13:58 xiii kernel: last result at 186132815 Nov 28 12:13:58 xiii kernel: last redo_fd_request at 186132775 Nov 28 12:13:58 xiii kernel: 40 4 0 0 2 1 2 Nov 28 12:13:58 xiii kernel: status=80 Nov 28 12:13:58 xiii kernel: fdc_busy=1 Nov 28 12:13:58 xiii kernel: cont=c02e2d9c Nov 28 12:13:58 xiii kernel: CURRENT=c186aac0 Nov 28 12:13:58 xiii kernel: command_status=-1 Nov 28 12:13:58 xiii kernel: Nov 28 12:13:58 xiii kernel: floppy0: floppy timeout called Nov 28 12:13:58 xiii kernel: end_request: I/O error, dev 02:00 (floppy), sector 64 <...> 9) success of newly built bootnet.img if done by hand $ fdformat /dev/fd0u1722 && mkdosfs /dev/fd0u1722 $ sudo syslinux /dev/fd0u1722 mount the generated bootnet.img (1772) on a loopback device and copy everything to the floppy $ sudo mount -o loop bootnet.img /mnt/loop $ cd /mnt/loop $ mcopy *.msg initrd.img syslinux.cfg vmlinuz a: then the floppy is bootable. -- Dr Tru Huynh | http://www.pasteur.fr/recherche/unites/Binfs/ mailto:tru@xxxxxxxxxx | tel/fax +33 1 45 68 87 37/19 Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France