Title: RE: Bug in etherboot 5.1.2rc7

Strange..

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.

---------- $)C
LinuxBIOS-1.0.0 
.
.
Jumping to boot code at 0x20000
entry    = 0x00020000
lb_start = 0x00004000
lb_size  = 0x0004da4c
adjust   = 0x0fdae5b4
buffer   = 0x0fd64b68
     elf_boot_notes = 0x0000b7a0     
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...
................................<abort>
Probing pci disk...
[IDE]
Probing isa disk...
                                     

-

HeeChul Yun,         
Embedded S/W Team at ETRI
e-mail: [EMAIL PROTECTED]
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
>

Reply via email to