All of lore.kernel.org
 help / color / mirror / Atom feed
From: Uros Prestor <uros@turbolinux.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Making a CD that is readable under efi
Date: Tue, 24 Oct 2000 01:04:31 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590678205611@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590678205609@msgid-missing>

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





  reply	other threads:[~2000-10-24  1:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2000-10-24  1:13 ` Jim Wilson
2000-10-24  1:21 ` Mike Smith
2000-10-24  9:53 ` Christian Groessler

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=marc-linux-ia64-105590678205611@msgid-missing \
    --to=uros@turbolinux.com \
    --cc=linux-ia64@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.