OpenWrt Forum Archive

Topic: Grub error 17 after flashing x86 image

The content of this topic has been archived on 5 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

I'm trying to flash the following image:

http://downloads.openwrt.org/kamikaze/7 … ext2.image

using the following command:

dd if=openwrt-x86-2.6-ext2.image of=/dev/sdb1

However when i try to boot the board (pcengines wrap), I get this error:

GRUB loading, please wait...
Error 17

Any hints? I'm using a 128MB CF with an usb card reader (i tried two different readers and 4 different CF).

Thanks
Roberto

Sorry, my falut

I found the error. The right command is:

dd if=openwrt-x86-2.6-ext2.image of=/dev/sdb

Have the same problem. It seems dd is not doing the trick. Because of the partition size. Right now i am reading more on the subject. Any help is indeed helpful.

I've got the exact same problem.  I flashed openwrt to an unmounted SD card as follows:

dd if=openwrt-x86-2.6-ext2.image of=/dev/<sd card device name>

I did not compile that image.  I simply downloaded the one posted at

http://downloads.openwrt.org/kamikaze/7 … ext2.image

and used dd on a Nokia Internet Tablet to copy it to the SD card.  Then I inserted the card into this:

http://www.dealextreme.com/details.dx/sku.10889

connected to a desktop.  Booted, and error 17.

One of my suspicions was that perhaps writing the image using one card reader and booting the media using a different reader might be failing due to an addressing variance.  So I tried copying the image to the machine that has the SD to IDE adapter, and used dd on that machine.  Even when the image is written on the same hardware that boots it, it fails.  Even worse, it hangs without finding the boot record - doesn't even get as far as the GRUB error 17 in that case. 

I also noticed that the drive (SD card) holding the image is not mountable.  If I use the NIT to write the image, the NIT says the volume is corrupt when it's re-inserted.  When I write the image using the target hardware, "mount" rejects it.  Fdisk reveals that it's a Win95 FAT32 partition.  Does that make sense?  I was expecting ext3.

The discussion might have continued from here.