From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16542 invoked by alias); 7 May 2007 11:34:18 -0000 Received: (qmail 16492 invoked by uid 22791); 7 May 2007 11:34:17 -0000 X-Spam-Check-By: sourceware.org Received: from stelecom.gomel.by (HELO stelecom.gomel.by) (82.209.213.61) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 May 2007 11:34:13 +0000 Received: from localhost (localhost [127.0.0.1]) by stelecom.gomel.by (Postfix) with ESMTP id B492DB018CDD for ; Mon, 7 May 2007 14:34:09 +0300 (EEST) Received: from stelecom.gomel.by ([127.0.0.1]) by localhost (stelecom.gomel.by [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31422-09-10 for ; Mon, 7 May 2007 14:34:08 +0300 (EEST) Received: from localhost (unknown [82.209.208.71]) by stelecom.gomel.by (Postfix) with ESMTP id B393DB005776 for ; Mon, 7 May 2007 14:33:58 +0300 (EEST) Date: Mon, 07 May 2007 12:53:00 -0000 From: Sergei Gavrikov To: ecos-discuss@ecos.sourceware.org Message-ID: <20070507113329.GA8843@ubuntu> References: <4690b0d10705062357w1d3d23c4u2afa5f4256536cb@mail.gmail.com> <20070507081219.GA16496@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070507081219.GA16496@lunn.ch> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] RedBoot from USB Stick X-SW-Source: 2007-05/txt/msg00046.txt.bz2 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. > > Andrew > 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 mkdir ~/tmp/pc_rb cd ~/tmp/pc_rb ecosconfig new pc redboot ecosconfig import $ECOS_REPOSITORY/hal/i386/pc/current/misc/redboot_GRUB.ecm ecosconfig tree make -s ls -lR install/bin install/bin/: total 492 -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 umount /media/disk At the end, I appended these 3 lines to my GRUB's menu title RedBoot (pc target) root (hd1,0) kernel /redboot.elf 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. Thanks Andrew, --Sergei -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss