Bug in etherboot 5.1.2rc7

hcyun at etri.re.kr hcyun at etri.re.kr
Wed Oct 30 05:04:01 CET 2002


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.

LinuxBIOS-1.0.0 수?굅월?낡?떵뎠볕?喀?껐갛?疊蛭彧嶸????減璋彧?剃?程?薪鴨??공껐같?蘖滯????彭같껐같?蚓敍疊蛭??彭같객같?蚓敍澐???彭같답少?宋柔彩???彭輦悚듈?醇連奄???彭輦떪粹????靷穡程捷全輒??공같같綏嘯???
adjusted_boot_notes = 0x0fdb9d54
HEECHUL:esp     = 0x11968
ROM segment 0x0000 length 0x0000 reloc 0x00020000
Etherboot 5.1.2rc7 (GPL) Tagged ELF for [EEPRO100][IDE]
CPU 2052 Mhz
Boot from (N)etwork (D)isk (F)loppy or from (L)ocal? D

Probing pci disk...
[IDE]disk-1 1058400k cap: 0f00

Searching for image...
Probing pci disk...
Probing isa disk...


HeeChul Yun,          
Embedded S/W Team at ETRI
e-mail: hcyun at etri.re.kr
phone: +82-42-860-1673

> > Now I can boot from IDE. but I have a question. 
> > It seems that current etherboot ide support doesn't support 
> partition or
> > filesystem. 
> > So now I just installed kernel image without creating any partition 
> > (dd kernel.elf of=/dev/hda), but it is too wasteful. Is 
> there any way to
> > place both kernel 
> > and root filesystem on the same ide disk? 
> As long as the ELF header is within the first 8K of the disk it will
> work.  So just make certain your first partition starts at sector 1,
> and is big enough to hold your boot elf image, and you can use
> the disk for multiple things.
> Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20021030/7be4104c/attachment.html>

More information about the coreboot mailing list