public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] IA64 Boot/Installer CD
@ 2001-02-26 23:07 Nick Pollitt
  2001-02-27  0:26 ` Michael Madore
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Pollitt @ 2001-02-26 23:07 UTC (permalink / raw)
  To: linux-ia64

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


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

* Re: [Linux-ia64] IA64 Boot/Installer CD
  2001-02-26 23:07 [Linux-ia64] IA64 Boot/Installer CD Nick Pollitt
@ 2001-02-27  0:26 ` Michael Madore
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Madore @ 2001-02-27  0:26 UTC (permalink / raw)
  To: linux-ia64

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

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

end of thread, other threads:[~2001-02-27  0:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-26 23:07 [Linux-ia64] IA64 Boot/Installer CD Nick Pollitt
2001-02-27  0:26 ` Michael Madore

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