IA64 Boot/Installer CD
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
Signature · 3 lines
Nick Pollitt phone: 650.933.7406 Scalable Linux Project fax: 650.933.3542 SGI [email protected]
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.
Quoted 16 lines · Nick Pollitt
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,
NickSignature · 8 lines
Nick Pollitt phone: 650.933.7406 Scalable Linux Project fax: 650.933.3542 SGI [email protected] _______________________________________________ Linux-IA64 mailing list [email protected] http://lists.linuxia64.org/lists/listinfo/linux-ia64
Signature · 3 lines
Mike Madore Software Engineer TurboLinux, Inc.
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
mkisofs -no-emul-boot -b boot.img -c boot.catalog -R -T -J -o ../cdrom.img .
#!/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