public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Making a CD that is readable under efi
@ 2000-10-24  0:27 Randall G Chan/Fremont/IBM
  2000-10-24  1:04 ` Uros Prestor
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Randall G Chan/Fremont/IBM @ 2000-10-24  0:27 UTC (permalink / raw)
  To: linux-ia64

I was wondering if someone could explain how I would make a small partition
that is readable under efi (~50-100 megs) and then including about 500 or
so megs of data.  I have tried just creating a ISO9660 CD-Rom, but I can't
read any of it's contents under efi.

Thanks,
Randy Chan
chanr@us.ibm.com

--------------------------------------------------------------------------



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

* Re: [Linux-ia64] Making a CD that is readable under efi
  2000-10-24  0:27 [Linux-ia64] Making a CD that is readable under efi Randall G Chan/Fremont/IBM
@ 2000-10-24  1:04 ` Uros Prestor
  2000-10-24  1:13 ` Jim Wilson
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Uros Prestor @ 2000-10-24  1:04 UTC (permalink / raw)
  To: linux-ia64

Randall G Chan/Fremont/IBM wrote:

> I was wondering if someone could explain how I would make a small partition
> that is readable under efi (~50-100 megs) and then including about 500 or
> so megs of data.  I have tried just creating a ISO9660 CD-Rom, but I can't
> read any of it's contents under efi.

The trick to have larger MS-DOS partitions is to create a file called boot.img
and format it as MS-DOS partition.  Place the file in the root directory of
the ISO9660 filesystem that you wish to burn on the CD.  For example, this
script will create a 50M boot.img file and copy stuff from /boot/efi into it:

     dd if=/dev/zero of=boot.img bs\x1024k countP
     /sbin/mkdosfs boot.img
     mount -t msdos -o loop boot.img /mnt
     cp -av /boot/efi/* /mnt
     df /mnt
     umount /mnt

Be careful with 2.4.0 kernels -- the loop device is broken.  Run the above
script on a 2.2 kernel.

Create ISO image with mkisofs (we use version 1.13a05) as follows:

     mkisofs  -no-emul-boot -b boot.img -c boot.catalog \
         -R -T -J -o cdrom.img /path/to/the/cd/root

When you burn the ISO image be sure to disable MS Jolliet extensions.

Hope this helps,
Uros

--
Uros Prestor
uros@turbolinux.com





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

* Re: [Linux-ia64] Making a CD that is readable under efi
  2000-10-24  0:27 [Linux-ia64] Making a CD that is readable under efi Randall G Chan/Fremont/IBM
  2000-10-24  1:04 ` Uros Prestor
@ 2000-10-24  1:13 ` Jim Wilson
  2000-10-24  1:21 ` Mike Smith
  2000-10-24  9:53 ` Christian Groessler
  3 siblings, 0 replies; 5+ messages in thread
From: Jim Wilson @ 2000-10-24  1:13 UTC (permalink / raw)
  To: linux-ia64

You need to create an El Torito bootable CD.  An El Torito bootable CD contains
a floppy image (boot.img typically) that EFI can read.

I've never created an El Torito bootable CD, so I can't give details on that.

http://www.cdpage.com/Compact_Disc_Variations/bootablecd.html

Jim


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

* Re: [Linux-ia64] Making a CD that is readable under efi
  2000-10-24  0:27 [Linux-ia64] Making a CD that is readable under efi Randall G Chan/Fremont/IBM
  2000-10-24  1:04 ` Uros Prestor
  2000-10-24  1:13 ` Jim Wilson
@ 2000-10-24  1:21 ` Mike Smith
  2000-10-24  9:53 ` Christian Groessler
  3 siblings, 0 replies; 5+ messages in thread
From: Mike Smith @ 2000-10-24  1:21 UTC (permalink / raw)
  To: linux-ia64

> You need to create an El Torito bootable CD.  An El Torito bootable CD contains
> a floppy image (boot.img typically) that EFI can read.
> 
> I've never created an El Torito bootable CD, so I can't give details on that.
> 
> http://www.cdpage.com/Compact_Disc_Variations/bootablecd.html

If EFI can *only* read the boot image off an El Torito CD, I'd have to 
put that in the "extremely lame" category.  However, I wouldn't be 
surprised if EFI at the moment doesn't support the iso9660 filesystem; I 
certainly don't see anything in the EFI sample implementation which looks 
like it would do the trick.

You might want to poke the Intel boys and tell them to go steal some more 
code from the FreeBSD loader; they've done a great job so far turning it 
into platform firmware. 8)

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E




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

* Re: [Linux-ia64] Making a CD that is readable under efi
  2000-10-24  0:27 [Linux-ia64] Making a CD that is readable under efi Randall G Chan/Fremont/IBM
                   ` (2 preceding siblings ...)
  2000-10-24  1:21 ` Mike Smith
@ 2000-10-24  9:53 ` Christian Groessler
  3 siblings, 0 replies; 5+ messages in thread
From: Christian Groessler @ 2000-10-24  9:53 UTC (permalink / raw)
  To: linux-ia64




Sorry, when I jump in here...

On 10/24/2000 01:04:31 AM GMT Uros Prestor wrote:
>
>Create ISO image with mkisofs (we use version 1.13a05) as follows:
>
>     mkisofs  -no-emul-boot -b boot.img -c boot.catalog \
>         -R -T -J -o cdrom.img /path/to/the/cd/root
>
>When you burn the ISO image be sure to disable MS Jolliet extensions.

What do you mean by that? The "-J" option to mkisofs selects
adding the Joliet extension. AFAIL one cannot specify it in
the burn program (cdrecord in my case).

regards,
chris





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

end of thread, other threads:[~2000-10-24  9:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-24  0:27 [Linux-ia64] Making a CD that is readable under efi Randall G Chan/Fremont/IBM
2000-10-24  1:04 ` Uros Prestor
2000-10-24  1:13 ` Jim Wilson
2000-10-24  1:21 ` Mike Smith
2000-10-24  9:53 ` Christian Groessler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox