From: Michael Madore <mmadore@turbolinux.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] IA64 Boot/Installer CD
Date: Tue, 27 Feb 2001 00:26:21 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590693005210@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590693005208@msgid-missing>
[-- Attachment #1: Type: text/plain, Size: 1299 bytes --]
Hi,
Here is how we do it.
1) Create a directory called cdroot. Create a subdirectory called boot.
2) Inside the boot directory, place your kernel and your initial ramdisk.
You will also want to put any efi apps or shell scripts that you might need.
3) From inside the cdroot directory, run the attached "mkboot" script. This
will create a boot image for your cd.
4) Run the attached "mkiso" script to build the cd image.
5) Run the attached "mkcd" script to burn the image onto the CD. The "mkcd"
script is used with an IDE CD-ROM burner, so you may need to adjust cdrecord
command for your hardware.
On Mon, Feb 26, 2001 at 03:07:08PM -0800, Nick Pollitt wrote:
> Could someone explain what the bare minimum requirements are for a bootable
> CD on IA64. I have a kernel and an initrd ready, but I'm not sure how to
> package them up.
>
> Thanks,
> Nick
>
> --
> Nick Pollitt phone: 650.933.7406
> Scalable Linux Project fax: 650.933.3542
> SGI npollitt@sgi.com
>
> _______________________________________________
> Linux-IA64 mailing list
> Linux-IA64@linuxia64.org
> http://lists.linuxia64.org/lists/listinfo/linux-ia64
--
Mike Madore
Software Engineer
TurboLinux, Inc.
[-- Attachment #2: mkboot --]
[-- Type: text/plain, Size: 164 bytes --]
dd if=/dev/zero of=boot.img bs=1024k count=18
/sbin/mkdosfs boot.img
mkdir dos
mount -t msdos -o loop boot.img dos
cp -av boot/* dos/
df dos
umount dos
rmdir dos
[-- Attachment #3: mkiso --]
[-- Type: text/plain, Size: 78 bytes --]
mkisofs -no-emul-boot -b boot.img -c boot.catalog -R -T -J -o ../cdrom.img .
[-- Attachment #4: mkcd --]
[-- Type: text/plain, Size: 249 bytes --]
#!/bin/bash
if [ $# -lt 1 ]
then
echo "usage: mkcd [-speed #] <image file>"
exit 1
fi
#default speed
speed=8
case $1 in
-speed) shift;
speed=$1
shift;;
esac
image=$1
cdrecord fs=8196k speed=$speed dev=2,0,0 -v -eject $image
prev parent reply other threads:[~2001-02-27 0:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-26 23:07 [Linux-ia64] IA64 Boot/Installer CD Nick Pollitt
2001-02-27 0:26 ` Michael Madore [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=marc-linux-ia64-105590693005210@msgid-missing \
--to=mmadore@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox