Not getting a good CF-image with Snapgear-3.3...
Evert
evert at poboxes.info
Fri Mar 31 12:12:05 UTC 2006
Hi all!
I'm trying to build a usable Snapgear install, but am running into problems at the end when the CF-image is being assembled. Looks like the mbr generated is not complete/valid.
Here's some output:
> dd if=/dev/zero of=mbr.img bs=512 count=1
> 1+0 records in
> 1+0 records out
> echo -e "1,121343,L,*\n,,61,-" | sfdisk -uS -C 490 -H 8 -S 32 mbr.img
> Warning: mbr.img is not a block device
> Disk mbr.img: cannot get geometry
>
> Disk mbr.img: 490 cylinders, 8 heads, 32 sectors/track
>
> sfdisk: seek error: wanted 0x0000000000000000, got 0x0000000000000000
> mbr.img: unrecognized partition table type
> Old situation:
> No partitions found
> New situation:
> Units = sectors of 512 bytes, counting from 0
>
> Device Boot Start End #sectors Id System
> mbr.img1 * 1 121343 121343 83 Linux
> mbr.img2 121344 125439 4096 61 SpeedStor
> mbr.img3 0 - 0 0 Empty
> mbr.img4 0 - 0 0 Empty
>
> sfdisk: seek error: wanted 0x0000000000000000, got 0x0000000000000000
> Re-reading the partition table ...
> BLKRRPART: Inappropriate ioctl for device
>
> If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
> to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
> (See fdisk(8).)
> make[4]: *** [extimage] Error 1
> make[4]: Leaving directory `/home/evert/Snapgear/vendors/Soekris/net4801'
> make[3]: *** [extimage-64MB] Error 2
> make[3]: Leaving directory `/home/evert/Snapgear/vendors/Soekris/net4801'
> make[2]: *** [image] Error 2
> make[2]: Leaving directory `/home/evert/Snapgear/vendors/Soekris/net4801'
> make[1]: *** [image] Error 2
> make[1]: Leaving directory `/home/evert/Snapgear/vendors'
> make: *** [image] Error 2
As you can see I am aiming at a 64MB CF on a Soekris(-compatible) system.
Regards,
Evert
More information about the uClibc
mailing list