public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Nick Garnett <nickg@ecoscentric.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: M Arshad Khan <marshadkhan@gmail.com>,  ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Redboot Bootable CD
Date: Mon, 11 Jun 2007 14:05:00 -0000	[thread overview]
Message-ID: <m3645yfr8r.fsf@xl5.calivar.com> (raw)
In-Reply-To: <20070608131720.GC14051@lunn.ch>

Andrew Lunn <andrew@lunn.ch> writes:

> On Fri, Jun 08, 2007 at 01:56:37PM +0100, Nick Garnett wrote:
> > Andrew Lunn <andrew@lunn.ch> writes:
> > 
> > > On Fri, Jun 08, 2007 at 10:37:33AM +0500, M Arshad Khan wrote:
> > > > Hello
> > > > is there any way of making Redboot bootable CD instead of floppy?
> > > 
> > > I believe the bootable CD format is actually based around floppy. Take
> > > a read of http://tldp.org/HOWTO/Bootdisk-HOWTO/cd-roms.html and other
> > > similar HOWTOs.
> > 
> > While the current floppy code could be adapted, the simplest approach
> > is probably to build RedBoot for GRUB booting and then install GRUB on
> > the CD to load RedBoot.
> 
> Just for interest, what actually would need adopting? If it works for
> a floppy, why would it not work for a bootable CD?

CDs use a 2k sector size. So I think the 0xAA55 at the end of the
first sector would need moving up to the 2k boundary. The code that
reads RedBoot in would need to be adjusted to work in 2k sector sizes.

Also, I am not sure that the straightforward approach to put the image
on the first n sectors of a floppy will necessarily work with a CD.

But I don't really know. If the BIOS hides all this and makes it look
like a floppy, then maybe it will just work.

The main thrust of my post was that with GRUB installed on the CD,
there should not be any need to do any of this.

-- 
Nick Garnett                                     eCos Kernel Architect
eCosCentric Limited     http://www.eCosCentric.com/   The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK.    Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

      reply	other threads:[~2007-06-08 14:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-08 12:23 M Arshad Khan
2007-06-08 13:51 ` Andrew Lunn
2007-06-08 14:27   ` Nick Garnett
2007-06-08 14:36     ` Andrew Lunn
2007-06-11 14:05       ` Nick Garnett [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3645yfr8r.fsf@xl5.calivar.com \
    --to=nickg@ecoscentric.com \
    --cc=andrew@lunn.ch \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=marshadkhan@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).