<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-2022-kr">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: Bug in etherboot 5.1.2rc7</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Strange.. </FONT>
</P>

<P><FONT SIZE=2>I tried to put kernel.elf on the first partition but it failed. </FONT>
<BR><FONT SIZE=2>I organized my 1G hdd as follows. </FONT>
</P>

<P><FONT SIZE=2>Disk /dev/hda: 16 heads, 63 sectors, 2100 cylinders</FONT>
<BR><FONT SIZE=2>Units = cylinders of 1008 * 512 bytes</FONT>
</P>

<P><FONT SIZE=2>   Device Boot    Start       End    Blocks   Id  System</FONT>
<BR><FONT SIZE=2>/dev/hda1             1         3      1480+  83  Linux</FONT>
<BR><FONT SIZE=2>/dev/hda2             4      2100   1056888   83  Linux   </FONT>
</P>

<P><FONT SIZE=2>In the hda1 I placed kernel.elf with dd if=kernel.elf of=/dev/hda1 and placed rootfs on hda2</FONT>
<BR><FONT SIZE=2>But It fails to find elf image. </FONT>
<BR><FONT SIZE=2>What did I wrong? </FONT>
<BR><FONT SIZE=2>I make kernel.elf with mkelfImage version 1.16.</FONT>
</P>

<P><FONT SIZE=2>----------</FONT>
$)C<BR><FONT SIZE=2>LinuxBIOS-1.0.0 <v 10?y 30 16:51:53 KST 2002 starting... </FONT>
<BR><FONT SIZE=2>.</FONT>
<BR><FONT SIZE=2>.</FONT>
<BR><FONT SIZE=2>Jumping to boot code at 0x20000</FONT>
<BR><FONT SIZE=2>entry    = 0x00020000</FONT>
<BR><FONT SIZE=2>lb_start = 0x00004000</FONT>
<BR><FONT SIZE=2>lb_size  = 0x0004da4c</FONT>
<BR><FONT SIZE=2>adjust   = 0x0fdae5b4</FONT>
<BR><FONT SIZE=2>buffer   = 0x0fd64b68</FONT>
<BR><FONT SIZE=2>     elf_boot_notes = 0x0000b7a0      </FONT>
<BR><FONT SIZE=2>adjusted_boot_notes = 0x0fdb9d54</FONT>
<BR><FONT SIZE=2>HEECHUL:esp     = 0x11968</FONT>
<BR><FONT SIZE=2>ROM segment 0x0000 length 0x0000 reloc 0x00020000</FONT>
<BR><FONT SIZE=2>Etherboot 5.1.2rc7 (GPL) Tagged ELF for [EEPRO100][IDE]</FONT>
<BR><FONT SIZE=2>CPU 2052 Mhz</FONT>
<BR><FONT SIZE=2>Boot from (N)etwork (D)isk (F)loppy or from (L)ocal? D</FONT>
</P>

<P><FONT SIZE=2>Probing pci disk...</FONT>
<BR><FONT SIZE=2>[IDE]disk-1 1058400k cap: 0f00</FONT>
</P>

<P><FONT SIZE=2>Searching for image...</FONT>
<BR><FONT SIZE=2>................................<abort></FONT>
<BR><FONT SIZE=2>Probing pci disk...</FONT>
<BR><FONT SIZE=2>[IDE]</FONT>
<BR><FONT SIZE=2>Probing isa disk...</FONT>
<BR><FONT SIZE=2>                                      </FONT>
</P>

<P><FONT SIZE=2>-</FONT>
</P>

<P><FONT SIZE=2>HeeChul Yun,          </FONT>
<BR><FONT SIZE=2>Embedded S/W Team at ETRI</FONT>
<BR><FONT SIZE=2>e-mail: hcyun@etri.re.kr</FONT>
<BR><FONT SIZE=2>phone: +82-42-860-1673</FONT>
</P>
<BR>

<P><FONT SIZE=2> </FONT>
<BR><FONT SIZE=2>> > Now I can boot from IDE. but I have a question. </FONT>
<BR><FONT SIZE=2>> > It seems that current etherboot ide support doesn't support </FONT>
<BR><FONT SIZE=2>> partition or</FONT>
<BR><FONT SIZE=2>> > filesystem. </FONT>
<BR><FONT SIZE=2>> > So now I just installed kernel image without creating any partition </FONT>
<BR><FONT SIZE=2>> > (dd kernel.elf of=/dev/hda), but it is too wasteful. Is </FONT>
<BR><FONT SIZE=2>> there any way to</FONT>
<BR><FONT SIZE=2>> > place both kernel </FONT>
<BR><FONT SIZE=2>> > and root filesystem on the same ide disk? </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> As long as the ELF header is within the first 8K of the disk it will</FONT>
<BR><FONT SIZE=2>> work.  So just make certain your first partition starts at sector 1,</FONT>
<BR><FONT SIZE=2>> and is big enough to hold your boot elf image, and you can use</FONT>
<BR><FONT SIZE=2>> the disk for multiple things.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Eric</FONT>
<BR><FONT SIZE=2>> </FONT>
</P>

</BODY>
</HTML>