[Etherboot-developers] RE: Bug in etherboot 5.1.2rc7
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <hc...@et...> - 2002-10-30 09:10:58
|
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.
----------
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...
................................<abort>
Probing pci disk...
[IDE]
Probing isa disk...
-
HeeChul Yun,
Embedded S/W Team at ETRI
e-mail: hc...@et...
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
>
|