public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Redboot Bootable CD
@ 2007-06-08 12:23 M Arshad Khan
  2007-06-08 13:51 ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: M Arshad Khan @ 2007-06-08 12:23 UTC (permalink / raw)
  To: ecos-discuss

Hello
is there any way of making Redboot bootable CD instead of floppy?

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Redboot Bootable CD
  2007-06-08 12:23 [ECOS] Redboot Bootable CD M Arshad Khan
@ 2007-06-08 13:51 ` Andrew Lunn
  2007-06-08 14:27   ` Nick Garnett
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Lunn @ 2007-06-08 13:51 UTC (permalink / raw)
  To: M Arshad Khan; +Cc: ecos-discuss

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.

        Andrew

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Redboot Bootable CD
  2007-06-08 13:51 ` Andrew Lunn
@ 2007-06-08 14:27   ` Nick Garnett
  2007-06-08 14:36     ` Andrew Lunn
  0 siblings, 1 reply; 5+ messages in thread
From: Nick Garnett @ 2007-06-08 14:27 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: M Arshad Khan, ecos-discuss

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.


-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Redboot Bootable CD
  2007-06-08 14:27   ` Nick Garnett
@ 2007-06-08 14:36     ` Andrew Lunn
  2007-06-11 14:05       ` Nick Garnett
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Lunn @ 2007-06-08 14:36 UTC (permalink / raw)
  To: Nick Garnett; +Cc: Andrew Lunn, M Arshad Khan, ecos-discuss

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?

  Thanks
        Andrew

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] Redboot Bootable CD
  2007-06-08 14:36     ` Andrew Lunn
@ 2007-06-11 14:05       ` Nick Garnett
  0 siblings, 0 replies; 5+ messages in thread
From: Nick Garnett @ 2007-06-11 14:05 UTC (permalink / raw)
  To: Andrew Lunn; +Cc: M Arshad Khan, ecos-discuss

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-06-08 14:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-08 12:23 [ECOS] Redboot Bootable CD 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 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).