CD intructions.
The CD David put together needs a doc update. Could we put something up on the web site? Here's a short howto:
Boot your system with the cd in the drive. At the EFI prompt type (note that "rescue" is missing from the docs:
eli vmlinux root=/dev/hda rescue
Log in as root (no password) and fdisk your drive:
fdisk /dev/sda
create a dos (fat16) partition (/dev/sda1) for later use by EFI create an ext2 filesystem for your root (/dev/sda2) create a swap partition (/dev/sda4)
and format them:
mke2fs /dev/sda2
mkdosfs /dev/sda1
mkswap /dev/sda4
Now mount them using an existing directory and copy over the cd
mount /dev/sda2 /mnt/cdrom
cd /
cp -a README.IA-64 bin boot dev etc etc.simple home \
lib log root sbin tmp usr var /mnt/cdrom
umount /mnt/cdrom
mount /dev/sda1 /mnt/cdrom/
cp /boot/* /mnt/cdrom/
umount /mnt/cdrom
Now you should be ready to reboot off the hard drive. Take the CD out and reboot. The from the EFI prompt type:
eli vmlinux root=/dev/sda2
I have not tested these exact procedures, but I will. I promised someone at the show I'd write this up. Hope it helps. ;-)
Now could someone (Mike?) write up a simple procedure for the development CD? Also Mike mentioned there were native ia64 toolchain binaries around? Anyone know where these are?
Signature · 3 lines
Tim Riker - http://rikers.org/ - short SIGs! <g> All I need to know I could have learned in Kindergarten ... if I'd just been paying attention.
Now could someone (Mike?) write up a simple procedure for the development CD? Also Mike mentioned there were native ia64 toolchain binaries around? Anyone know where these are?
There are native IA-64 toolchains available within Trillian, but probably none of these can be publicly distributed. The toolchain sources needed some last minute changes to get approval for public distribution. This is incidentally why we initially released sources without binaries; we didn't have time for our usual release process after making the last minute changes.
It is possible to build a native IA-64 toolchain from the released sources by building a ia32-linux to ia64-linux cross compiler first, and then using that to build a native ia64-linux compiler. I should write up instructions explaining how to do that. Today's a holiday here, so I might be able to do that today. I'll have to try it first to make sure the instructions work.
Jim
Quoted 32 lines
The CD David put together needs a doc update. Could we put something up on the web site? Here's a short howto:
Boot your system with the cd in the drive. At the EFI prompt type (note that "rescue" is missing from the docs:
eli vmlinux root=/dev/hda rescue
Log in as root (no password) and fdisk your drive:
fdisk
/dev/sdacreate a dos (fat16) partition (
/dev/sda1) for later use by EFI create an ext2 filesystem for your root (/dev/sda2) create a swap partition (/dev/sda4)
and format them:mke2fs
/dev/sda2
mkdosfs/dev/sda1
mkswap/dev/sda4Now mount them using an existing directory and copy over the cd
mount
/dev/sda2/mnt/cdrom
cd /
cp -a README.IA-64 bin boot dev etc etc.simple home \
lib log root sbin tmp usr var/mnt/cdrom
umount/mnt/cdrom
mount/dev/sda1/mnt/cdrom/
cp/boot/*/mnt/cdrom/
umount/mnt/cdrom
Quoted 5 lines
Now you should be ready to reboot off the hard drive. Take the CD out and reboot. The from the EFI prompt type:
eli vmlinux root=/dev/sda2
I did something similar to this the other day and it worked. The only thing I see missing from above is the change to fstab file that was copied to the hard disk..
i.e.
change your mount point of root, /, to that of the sda2 instead of hdc1 (cdrom).
/dev/sda2 / ext2 defaults 1 1
Chuck