Booting Linux on Malta off the hard disk
Jun. 23rd, 2009 03:16 pmAfter the Debian installation on Malta had succeeded, its YAMON firmware was set to boot the Linux kernel off the hard disk, the latter being partitioned as follows (fdisk(1)'s output):
Disk /dev/hda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0x882d882d Device Boot Start End Blocks Id System /dev/hda1 * 63 32129 16033+ da Non-FS data /dev/hda2 32130 154850534 77409202+ 83 Linux /dev/hda3 154850535 156296384 722925 82 Linux swap / SolarisIn order to do that, one could just load an SREC-formatted Linux kernel image using the command `load', then dump the resulting memory range into the first hard drive partition (/dev/hda1) using the command `disk write hda 0x3f 0x3fff 0x80100000'. Then, the $start environment variable can be set to the value `disk read hda 0x3f 0x3fff 0x80100000; go $entry root=/dev/hda2 quiet', where $entry stands for the corresponding entry point for the given kernel and can be obtained from output of `load', in particular.