This is the mail archive of the
mailing list for the eCos project.
Re: RedBoot from USB Stick
On Mon, May 07, 2007 at 10:12:19AM +0200, Andrew Lunn wrote:
> On Mon, May 07, 2007 at 11:57:34AM +0500, M Arshad Khan wrote:
> > hii
> > is there any way of loading the RedBoot from the USB Stick instead of
> > Floopy Drive. have any body experienced such things or have any idea?
> > Looking Forward
> This is more an issue of Grub, not redboot itself. If the USB stick
> looks like a bootable disk, i expect it will work.
That works. I haven't old i386 PC, I have modern one, but Andrew's
suggest exited me and I tried to run the RedBoot on the modern PC.
Build the redbot image for pc target
ecosconfig new pc redboot
ecosconfig import $ECOS_REPOSITORY/hal/i386/pc/current/misc/redboot_GRUB.ecm
ls -lR install/bin
-rwxr-xr-x 1 sg sg 495854 May 7 14:03 redboot.elf
All rights. I did insert my USB pen. Ubuntu mounts this storage to
/media/disk, and I just did copy a future `kernel' there:
Install the image
cp install/bin/redboot.elf /media/disk
At the end, I appended these 3 lines to my GRUB's menu
title RedBoot (pc target)
Note: `hd0' is my SATA HDD and I used the `hd1' reference to boot from
my USB memory stick. You have to set up the hd's number correctly.
Usually, it's enough to look at `dmesg' output to resolve this issue.
I rebooted my PC and saw the expected choice in the GRUB's menu. I did
choose new menu's item... and saw that the RedBoot did start. It's pity
that I haven't old i386 PC. It looks like I won't got the RedBoot's
networking on my hardware. But GRUB runs the redboot image from USB pen
without any problems.
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss