[Etherboot-developers] RE: Bug in etherboot 5.1.2rc7
Eric W. Biederman
ebiederman at lnxi.com
Wed Oct 30 07:12:01 CET 2002
hcyun at etri.re.kr writes:
> I tried to put kernel.elf on the first partition but it failed.
> I organized my 1G hdd as follows.
> Disk /dev/hda: 16 heads, 63 sectors, 2100 cylinders
> Units = cylinders of 1008 * 512 bytes
> Device Boot Start End Blocks Id System
> /dev/hda1 1 3 1480+ 83 Linux
> /dev/hda2 4 2100 1056888 83 Linux
> In the hda1 I placed kernel.elf with dd if=kernel.elf of=/dev/hda1 and
> placed rootfs on hda2
> But It fails to find elf image.
> What did I wrong?
> I make kernel.elf with mkelfImage version 1.16.
Try that in units of sectors. If you are not careful some versions
of fdisk will cylinder align your partitions, and will start your
first partition at 63 sectors. Which is a little to far on the disk.
You should be able to force it though using units of sectors.
More information about the coreboot