+ genext2fs -d /home/matteo/src/openwrt/x86/build_dir/linux-x86_alix2/root.grub -b 4503 /home/matteo/src/openwrt/x86/bin/x86/openwrt-x86-alix2-combined-squashfs.img.kernel + dd if=/home/matteo/src/openwrt/x86/bin/x86/openwrt-x86-alix2-combined-squashfs.img.kernel of=/home/matteo/src/openwrt/x86/bin/x86/openwrt-x86-alix2-combined-squashfs.img bs=512 seek=63 conv=notrunc 9006+0 records in 9006+0 records out 4611072 bytes (4.6 MB) copied, 0.0145776 s, 316 MB/s + rm -f /home/matteo/src/openwrt/x86/bin/x86/openwrt-x86-alix2-combined-squashfs.img.kernel + which chpax + grub --batch --no-curses --no-floppy --device-map=/dev/null GNU GRUB version 0.97 (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename. ] grub> device (hd0) /home/matteo/src/openwrt/x86/bin/x86/openwrt-x86-alix2-combined-squashfs.img grub> geometry (hd0) 105 16 63 drive 0x80: C/H/S = 105/16/63, The number of sectors = 105840, /home/matteo/src/openwrt/x86/bin/x86/openwrt-x86-alix2-combined-squashfs.img Partition num: 0, Filesystem type is ext2fs, partition type 0x83 Partition num: 1, Filesystem type unknown, partition type 0x83 grub> root (hd0,0) Filesystem type is ext2fs, partition type 0x83 grub> setup (hd0) Checking if "/boot/grub/stage1" exists... yes Checking if "/boot/grub/stage2" exists... yes Checking if "/boot/grub/e2fs_stage1_5" exists... yes Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 21 sectors are embedded. succeeded Running "install /boot/grub/stage1 (hd0) (hd0)1+21 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... failed Error 6: Mismatched or corrupt version of stage1/stage2 grub> quit