10 |
|
|
11 |
<!-- |
<!-- |
12 |
|
|
13 |
$Id: guestoses.html,v 1.209 2007/03/18 03:33:25 debug Exp $ |
$Id: guestoses.html,v 1.212 2007/04/14 05:38:00 debug Exp $ |
14 |
|
|
15 |
Copyright (C) 2003-2007 Anders Gavare. All rights reserved. |
Copyright (C) 2003-2007 Anders Gavare. All rights reserved. |
16 |
|
|
67 |
<li><a href="#ultrixinstall">Ultrix/RISC 4.5</a> |
<li><a href="#ultrixinstall">Ultrix/RISC 4.5</a> |
68 |
<li><a href="#sprite">Sprite for DECstation</a> |
<li><a href="#sprite">Sprite for DECstation</a> |
69 |
<li><a href="#declinux">Debian GNU/Linux for DECstation</a> |
<li><a href="#declinux">Debian GNU/Linux for DECstation</a> |
|
<li><a href="#declinuxredhat">Redhat Linux for DECstation</a> |
|
70 |
</ul> |
</ul> |
71 |
|
|
72 |
|
|
98 |
|
|
99 |
<ul> |
<ul> |
100 |
<li><a href="#mach">Mach/PMAX</a> |
<li><a href="#mach">Mach/PMAX</a> |
101 |
|
<li><a href="#declinuxredhat">Redhat Linux for DECstation</a> |
102 |
<li><a href="#openbsdsgiinstall">OpenBSD/sgi</a> |
<li><a href="#openbsdsgiinstall">OpenBSD/sgi</a> |
103 |
<li><a href="#openbsdarcinstall">OpenBSD/arc 2.3</a> |
<li><a href="#openbsdarcinstall">OpenBSD/arc 2.3</a> |
104 |
<li><a href="#debiancats">Debian GNU/Linux for CATS</a> |
<li><a href="#debiancats">Debian GNU/Linux for CATS</a> |
1651 |
<a href="http://cdimage.debian.org/debian-cd/3.1_r0a/mipsel/iso-cd/debian-31r0a-mipsel-netinst.iso">http://cdimage.debian.org/debian-cd/3.1_r0a/mipsel/iso-cd/debian-31r0a-mipsel-netinst.iso</a> |
<a href="http://cdimage.debian.org/debian-cd/3.1_r0a/mipsel/iso-cd/debian-31r0a-mipsel-netinst.iso">http://cdimage.debian.org/debian-cd/3.1_r0a/mipsel/iso-cd/debian-31r0a-mipsel-netinst.iso</a> |
1652 |
|
|
1653 |
</pre> |
</pre> |
1654 |
|
<font color="#ff0000">NOTE 2007-04-14: It seems that the ISO image |
1655 |
|
has been removed from the cdimage site. You may need to search |
1656 |
|
for it elsewhere. :-/ Alternatively, you can follow |
1657 |
|
Michel Lespinasse's instructions at |
1658 |
|
<a href="http://people.zoy.org/~walken/gxemul-etch/HOWTO.html">http://people.zoy.org/~walken/gxemul-etch/HOWTO.html</a>.</font> |
1659 |
<p> |
<p> |
1660 |
<li>Start the installation like this:<pre> |
<li>Start the installation like this:<pre> |
1661 |
<b>gxemul -X -e3max -d debian_pmax.img -d debian-31r0a-mipsel-netinst.iso vmlinux-2.4.31</b> |
<b>gxemul -X -e3max -d debian_pmax.img -d debian-31r0a-mipsel-netinst.iso vmlinux-2.4.31</b> |
1742 |
|
|
1743 |
|
|
1744 |
<p><br> |
<p><br> |
|
<a name="declinuxredhat"></a> |
|
|
<h3>Redhat Linux for DECstation:</h3> |
|
|
|
|
|
|
|
|
<p> |
|
|
|
|
|
<a href="20041129-redhat_mips.png"><img src="20041129-redhat_mips_small.png"></a> |
|
|
|
|
|
<p> |
|
|
The following steps should let you run Redhat Linux for DECstation in GXemul: |
|
|
|
|
|
<p> |
|
|
<ol> |
|
|
<li>Download a kernel. David Muse' Debian-install kernel works fine:<pre> |
|
|
<a href="http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31">http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31</a> |
|
|
|
|
|
</pre> |
|
|
<li>Download a root filesystem tree:<pre> |
|
|
<a href="ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz">ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz</a> |
|
|
19486676 bytes, md5 = 5bcb725c90209479cd7ead8ad0c4a414 |
|
|
|
|
|
</pre> |
|
|
<li>Create a disk image which will contain the Redhat filesystem:<pre> |
|
|
<b>dd if=/dev/zero of=redhat_mips.img bs=1024 count=1 seek=2000000</b> |
|
|
|
|
|
</pre> |
|
|
<li>This is the tricky part: on redhat_mips.img, you need to create an MS-DOS |
|
|
(!) partition table, and then an ext2 partition. This is what Linux |
|
|
will then see as /dev/sda1. |
|
|
<p>I recommend you run fdisk and mke2fs and untar the archive from within |
|
|
Debian/DECstation or <a href="#debiancats">Debian/CATS</a> running |
|
|
inside the emulator. (Alternatively, if you are on a Linux host, |
|
|
you could use a loopback mount, or similar. This might require |
|
|
root access. See e.g. |
|
|
<a href="http://www.mega-tokyo.com/osfaq2/index.php/Disk%20Images%20Under%20Linux">http://www.mega-tokyo.com/osfaq2/index.php/Disk%20Images%20Under%20Linux</a>.) |
|
|
<p> |
|
|
In order to actually boot the system you need to modify /etc/fstab. |
|
|
Change<pre> |
|
|
/dev/root / nfs defaults 1 1 |
|
|
#/dev/sdc1 / ext2 defaults 1 1 |
|
|
none /proc proc defaults 0 0 |
|
|
none /dev/pts devpts mode=0622 0 0 |
|
|
|
|
|
</pre>to<pre> |
|
|
#/dev/root / nfs defaults 1 1 |
|
|
/dev/sda1 / ext2 defaults 1 1 |
|
|
none /proc proc defaults 0 0 |
|
|
none /dev/pts devpts mode=0622 0 0 |
|
|
|
|
|
</pre>(Note sda1 instead of sdc1.) |
|
|
</ol> |
|
|
|
|
|
<p>To boot Redhat linux from the disk image, use the following command line:<pre> |
|
|
<b>gxemul -X -e3max -o "root=/dev/sda1 ro" -d redhat_mips.img vmlinux-2.4.31</b> |
|
|
|
|
|
</pre> |
|
|
If you need to boot into single user mode, change options to |
|
|
<tt><b>-o "root=/dev/sda1 rw init=/bin/sh"</b></tt>. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<p><br> |
|
1745 |
<hr> |
<hr> |
1746 |
|
|
1747 |
|
|
1826 |
|
|
1827 |
|
|
1828 |
|
|
1829 |
|
|
1830 |
|
|
1831 |
|
<p><br> |
1832 |
|
<a name="declinuxredhat"></a> |
1833 |
|
<h3>Redhat Linux for DECstation:</h3> |
1834 |
|
|
1835 |
|
|
1836 |
|
<p> |
1837 |
|
|
1838 |
|
<a href="20041129-redhat_mips.png"><img src="20041129-redhat_mips_small.png"></a> |
1839 |
|
|
1840 |
|
<p> |
1841 |
|
The following steps should let you run Redhat Linux for DECstation in GXemul: |
1842 |
|
|
1843 |
|
<p> |
1844 |
|
<ol> |
1845 |
|
<li>Download a kernel. David Muse' Debian-install kernel works fine:<pre> |
1846 |
|
<a href="http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31">http://www.firstworks.com/mips-linux-2.4.31/vmlinux-2.4.31</a> |
1847 |
|
|
1848 |
|
</pre> |
1849 |
|
<li>Download a root filesystem tree:<pre> |
1850 |
|
<a href="ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz">ftp://ftp.linux-mips.org/pub/linux/mips/mipsel-linux/root/mipsel-root-20011216.tgz</a> |
1851 |
|
19486676 bytes, md5 = 5bcb725c90209479cd7ead8ad0c4a414 |
1852 |
|
|
1853 |
|
</pre> |
1854 |
|
<li>Create a disk image which will contain the Redhat filesystem:<pre> |
1855 |
|
<b>dd if=/dev/zero of=redhat_mips.img bs=1024 count=1 seek=2000000</b> |
1856 |
|
|
1857 |
|
</pre> |
1858 |
|
<li>This is the tricky part: on redhat_mips.img, you need to create an MS-DOS |
1859 |
|
(!) partition table, and then an ext2 partition. This is what Linux |
1860 |
|
will then see as /dev/sda1. |
1861 |
|
<p>I recommend you run fdisk and mke2fs and untar the archive from within |
1862 |
|
Debian/DECstation or <a href="#debiancats">Debian/CATS</a> running |
1863 |
|
inside the emulator. (Alternatively, if you are on a Linux host, |
1864 |
|
you could use a loopback mount, or similar. This might require |
1865 |
|
root access. See e.g. |
1866 |
|
<a href="http://www.mega-tokyo.com/osfaq2/index.php/Disk%20Images%20Under%20Linux">http://www.mega-tokyo.com/osfaq2/index.php/Disk%20Images%20Under%20Linux</a>.) |
1867 |
|
<p> |
1868 |
|
In order to actually boot the system you need to modify /etc/fstab. |
1869 |
|
Change<pre> |
1870 |
|
/dev/root / nfs defaults 1 1 |
1871 |
|
#/dev/sdc1 / ext2 defaults 1 1 |
1872 |
|
none /proc proc defaults 0 0 |
1873 |
|
none /dev/pts devpts mode=0622 0 0 |
1874 |
|
|
1875 |
|
</pre>to<pre> |
1876 |
|
#/dev/root / nfs defaults 1 1 |
1877 |
|
/dev/sda1 / ext2 defaults 1 1 |
1878 |
|
none /proc proc defaults 0 0 |
1879 |
|
none /dev/pts devpts mode=0622 0 0 |
1880 |
|
|
1881 |
|
</pre>(Note sda1 instead of sdc1.) |
1882 |
|
</ol> |
1883 |
|
|
1884 |
|
<p>To boot Redhat linux from the disk image, use the following command line:<pre> |
1885 |
|
<b>gxemul -X -e3max -o "root=/dev/sda1 ro" -d redhat_mips.img vmlinux-2.4.31</b> |
1886 |
|
|
1887 |
|
</pre> |
1888 |
|
If you need to boot into single user mode, change options to |
1889 |
|
<tt><b>-o "root=/dev/sda1 rw init=/bin/sh"</b></tt>. |
1890 |
|
|
1891 |
|
|
1892 |
|
|
1893 |
|
|
1894 |
|
|
1895 |
|
|
1896 |
|
|
1897 |
|
|
1898 |
|
|
1899 |
|
|
1900 |
<p><br> |
<p><br> |
1901 |
<a name="openbsdsgiinstall"></a> |
<a name="openbsdsgiinstall"></a> |
1902 |
<h3>OpenBSD/sgi:</h3> |
<h3>OpenBSD/sgi:</h3> |
2444 |
<a href="http://www.netbsd.org/Ports/landisk/">NetBSD/landisk</a> can |
<a href="http://www.netbsd.org/Ports/landisk/">NetBSD/landisk</a> can |
2445 |
run in GXemul. |
run in GXemul. |
2446 |
|
|
2447 |
<p><b><font color="#ff0000">NOTE:</b></font> This is still highly |
<p><font color="#ff0000">NOTE: This is still too |
2448 |
experimental. Installation is very unsmooth. |
unstable to be considered really working!</font> |
2449 |
|
|
2450 |
<p> |
<p> |
2451 |
<a href="20070224-netbsd-landisk.png"><img src="20070224-netbsd-landisk_small.png"></a> |
<a href="20070224-netbsd-landisk.png"><img src="20070224-netbsd-landisk_small.png"></a> |
2470 |
<b>dd if=/dev/zero of=nbsd_landisk.img bs=1024 count=1 seek=900000</b> |
<b>dd if=/dev/zero of=nbsd_landisk.img bs=1024 count=1 seek=900000</b> |
2471 |
|
|
2472 |
</pre> |
</pre> |
2473 |
|
<p> |
2474 |
<b>TODO</b> |
<li>Download the latest netbsd-4 (pre-release) snapshot, and make an iso image |
2475 |
download the .iso image |
of it: (replace 200704110002Z with whatever is the latest one)<pre> |
2476 |
|
<b>wget -np -l 0 -r ftp://ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/200704110002Z/landisk |
2477 |
|
mkisofs -U -o landisk.iso ftp.netbsd.org/pub/NetBSD-daily/netbsd-4/*</b> |
2478 |
|
</pre> |
2479 |
|
|
2480 |
<p> |
<p> |
2481 |
<li>TODO: Start the emulated CATS machine like this:<pre> |
<li>Start the emulated CATS machine like this:<pre> |
2482 |
<b>gxemul -XEcats -d nbsd_landisk.img -d landisk.iso netbsd.aout-INSTALL.gz</b> |
<b>gxemul -XEcats -d nbsd_landisk.img -d landisk.iso netbsd.aout-INSTALL.gz</b> |
2483 |
|
|
2484 |
</pre> |
</pre> |
2485 |
<li>Exit the installer, then execute the following commands: |
<li>Exit the installer, then execute the following commands: |
2486 |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
<p><table border="0"><tr><td><tt> </tt></td><td><pre> |
2487 |
<b> |
<b>disklabel -i -I wd0</b> (for example 'a', '4.2BSD', '1c', |
2488 |
disklabel -I -i wd0 |
'700M', 'b', 'swap', '701M', '$', 'P', 'W', 'y', and 'Q') |
2489 |
... TODO |
<b>newfs /dev/wd0a |
|
newfs /dev/wd0a |
|
2490 |
mount /dev/cd0c /mnt |
mount /dev/cd0c /mnt |
2491 |
mkdir /mnt2; mount /dev/wd0a /mnt2 |
mkdir /mnt2; mount /dev/wd0a /mnt2 |
2492 |
cd /mnt2; sh |
cd /mnt2; sh |
2522 |
yet of OpenBSD/landisk, but there are snapshots available on the |
yet of OpenBSD/landisk, but there are snapshots available on the |
2523 |
OpenBSD ftp site. |
OpenBSD ftp site. |
2524 |
|
|
2525 |
|
<p><font color="#ff0000">NOTE: This is still too |
2526 |
|
unstable to be considered really working!</font> |
2527 |
|
|
2528 |
<p>To install OpenBSD/landisk onto an emulated harddisk image, |
<p>To install OpenBSD/landisk onto an emulated harddisk image, |
2529 |
follow these instructions: |
follow these instructions: |
2530 |
|
|