On Thu, 4 Mar 2010, eng_marwa85 wrote:
>> On Mon, 1 Mar 2010, Marwa Mohamed wrote:
>>> I want to load kernel from compact flash and i used the following command
>>> in redboot
>>>
>>> load -b 0x00218000 -m disk hda1:/boot/vmlinux
>>>
>>> but it is failed with the following error:
>>>
>>> e2fs_open: e2fs_inode_lookup failed
>>> Can't load 'hda1:/boot/vmlinux': Can't open file
>>>
>>> could any one help me to successfully load kernel from compact flash?
>>
>> This issue has been reported before on this list. My recommendation then
>> was to try placing the kernel in the root directory, and try loading from
>> there.
>>
>> load -b 0x00218000 -m disk hda1:/vmlinux
>>
>> This works for me. My suspicion is that the ext2 code in redboot is fairly
>> rudimentary. There was no feedback from this guess, so I'm not sure if it
>> will work - but it's worth a try. If it works please report back saying so.
>
> I tried what you said but it failed with the same error
> what are your disk partition type and is it bootable?
The CFDisk was partitioned with one partition.
It is formatted ext2, dunno what type it was set to, probably 83 "Linux".
I'm not sure the bootable setting is relevant - though you could try it
with and without.
My redboot stuff is...
load -r -b 0x00218000 -m disk hda1:/vmlinux.bin
exec -c "console=ttyAM0,115200 root=/dev/hda1"
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|