grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to prepare an ISO 9660 CD for booting via GRUB ?


From: Drake Donahue
Subject: Re: How to prepare an ISO 9660 CD for booting via GRUB ?
Date: Thu, 01 Apr 2010 15:28:10 -0400

On Thu, 2010-04-01 at 19:59 +0200, Thomas Schmitt wrote:
> Hi,
> 
> > Your question is how to make a cd with grub on it ?
> 
> Yes.
> 
> GNU xorriso is like cdrtools + growisofs in
> one single binary.
> My question about GRUB on CD shall improve the
> mkisofs-like aspect of xorriso. I am able to
> influence ISO image production in any detail.
> But i need instructions how to prepare it so
> that a PC BIOS starts GRUB correctly.
> 
> I expect a BIOS to ignore the first 16 blocks
> of a CD unless an El Torito record points to
> an address in there.
> 
> Robert Millan's example
> > >    cat boot.img core.img>  tmp
> > >    mkisofs --embedded-boot tmp -o grub.iso -r somedir
> places GRUB files into those 16 blocks.
> But it does not produce an El Torito record
> when run with his latest mkisofs and a dummy
> file "tmp".
> So either his mkisofs wants to see real GRUB
> files or my theory about BIOS + CD + GRUB is
> wrong.
> 
> 
> > menuentry "ISO Live - Ubuntu 9.10 Karmic AMD64" {
> > insmod loopback
> > insmod iso9660
> > set isofile="/iso/lucid-desktop-amd64.iso"
> 
> Interesting example. It is astounding what one
> can do with a bootloader nowadays.
> 
> It would be in my current focus of interest,
> if that ISO image itself is equipped with
> GRUB and boots from real CD. In that case i
> would like to know an URL for downloading it.
> 
> 
> Have a nice day :)
> 
> Thomas
> 
> 
> 
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
Attached is a script I use to make a legacy grub booting cd that
provides an alternate way to boot the system it was built on. 

Attachment: grubcd
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]