summaryrefslogtreecommitdiff
path: root/distrib/notes/loongson
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-03-16 17:23:10 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-03-16 17:23:10 +0000
commit6588e4f22e3472c3d54c68e5f84dea9c206a0f87 (patch)
tree04ff2c15a0dc4631c5a3e8f22cf5e199209f3fcb /distrib/notes/loongson
parente5607f886b5f9d19e6348d4ed71a19dabe5eb63c (diff)
Jumbo commit for 4.7 installation instructions:
- do not mention tape as an installation media on systems where it is very unlikely that a tape drive can be connected to (i.e. anything with only USB as expansion capabilities) - do not mention that fetching the installation sets from a partition is ``for upgrades only''. You may do this for installation, but of course you can not use a partition which will be newfs'ed for that purpose. - mention ext2fs partitions as possible installation sets source only on platforms where the installation media actually can mount an ext2fs filesystem. - stress the fact that the sparc miniroot image is a GENERIC kernel with a little on-disk filesystem, and not a RAMDISK kernel with a little in-memory filesystem, and thus must not be overwritten during installation (i.e. be careful if you repartition the disk the miniroot has been put on). - more conv=sync -> conv=osync for tape setup instructions. - model-specific layout changes on armish, loongson and socppc instructions. - fix various typos and grammar mistaeks. "sure" deraadt@ (without eyeballing)
Diffstat (limited to 'distrib/notes/loongson')
-rw-r--r--distrib/notes/loongson/install203
-rw-r--r--distrib/notes/loongson/xfer10
2 files changed, 103 insertions, 110 deletions
diff --git a/distrib/notes/loongson/install b/distrib/notes/loongson/install
index 265ed43eaa6..76262579709 100644
--- a/distrib/notes/loongson/install
+++ b/distrib/notes/loongson/install
@@ -1,4 +1,4 @@
-dnl $OpenBSD: install,v 1.11 2010/03/06 20:11:40 otto Exp $
+dnl $OpenBSD: install,v 1.12 2010/03/16 17:23:09 miod Exp $
OpenBSDInstallPrelude
Booting the installation media:
@@ -73,6 +73,8 @@ OpenBSDURLInstall
OpenBSDCDROMInstall
+OpenBSDNFSInstall
+
OpenBSDDISKInstall({:-"wdN" or -:},,{:-, Linux (ext2) or MS-DOS-:})
OpenBSDCommonInstall
@@ -82,122 +84,109 @@ dnl OpenBSDTAPEInstall
dnl
OpenBSDInstallWrapup
- Lemote systems final steps:
+Lemote systems final steps:
- Lemote systems ship with a boot menu. After an installation
- preserving the Linux partitions is complete, you can add an
- OpenBSD entry to the boot menu to be able to boot OpenBSD
- more easily.
+ Lemote systems ship with a boot menu. After an installation
+ preserving the Linux partitions is complete, you can add an OpenBSD
+ entry to the boot menu to be able to boot OpenBSD more easily.
- The boot menu contents are found in /boot/boot.cfg on the Linux
- partition. To add an OpenBSD entry, simply add a new entry in
- the file, such as:
+ The boot menu contents are found in /boot/boot.cfg on the Linux
+ partition. To add an OpenBSD entry, simply add a new entry in the
+ file, such as:
title OpenBSD
kernel /dev/fs/ext2@wd0/boot/boot
args ""
- In the example above, /dev/fs/ext2@wd0/boot/boot is the PMON
- path to the OpenBSD bootloader, which is copied to
- that location by the install script.
+ In the example above, /dev/fs/ext2@wd0/boot/boot is the PMON path
+ to the OpenBSD bootloader, which is copied to that location by the
+ install script.
- You may make OpenBSD the default option by changing the
- ``default'' line near the top of the file. The value on this
- line is the index of the default entry, starting at zero. So
- if you added the OpenBSD entry as the fourth entry in the
- file, it would become the default choice with:
+ You may make OpenBSD the default option by changing the ``default''
+ line near the top of the file. The value on this line is the index
+ of the default entry, starting at zero. So if you added the OpenBSD
+ entry as the fourth entry in the file, it would become the default
+ choice with:
default 3
- The timeout until the default choice is selected, in seconds,
- can be modified on the ``timeout'' line.
-
- However, due to side effects of PMON operation, automatic
- loading of OpenBSD binaries (bootloader or kernel) causes
- a register dump to be silently displayed by PMON; while
- it won't be visible on screen, PMON will gladly wait for
- user input to continue if it believes it has written too
- much output.
-
- To overcome this annoyance, simply change the `moresz'
- environment variable to a large value (30 or larger will
- do):
-
- PMON> set moresz 30
-
- The bootloader will attempt to load the kernel file set in
- the `bsd' environment variable. Should this fail, it will
- wait for user commands. The value of `bsd' should be a
- path within the OpenBSD root filesystem on the disk, such
- as:
-
- PMON> set bsd /bsd
-
- If you have removed the Linux installation or if you do not
- want to use the boot menu, you may simply disable it in the
- environment, and set the `al' variable
- to point to the bootloader path:
-
- PMON> set ShowBootMenu no
- PMON> set al /dev/fs/ext2@wd0/boot/boot
-
- Alternatively, you might want to create a /boot/boot.cfg
- file in the small Linux partition created by the installation.
-
- On the Fuloong 2F, getting PMON to use the serial console
- is tricky, due to PMON bugs and design decisions made by
- Lemote.
- PMON's default serial speed is 115200, and OpenBSD will
- also use that speed. By default, it is possible to use
- serial input if no USB keyboard is attached. PMON will
- nevertheless display its output on the VGA display.
- To get full serial access, the first step is to boot
- into PMON> with both serial console and VGA display but
- no USB keyboard attached.
- You can type on the serial console, but output will be shown
- on the VGA display. Next enter the following
- commands:
-
- PMON> set novga 1
- PMON> set nokbd 1
- PMON> set al ""
- PMON> set ShowBootMenu no
-
- If you have a dual boot setup, mount the Linux boot partition
- and rename /boot/boot.cfg so that it does not get found by
- PMON. This will enable full serial access to PMON on
- the Fuloong 2F.
-
- Gdium systems final steps:
-
- Gdium systems do not have a boot menu, and directly boot the
- system (Linux, by default). Unfortunately, the OpenBSD
- bootloader operation is very limited on this machine, as
- it can not access USB devices (which means no keyboard
- input as well).
-
- To overcome this and be able to boot OpenBSD nevertheless,
- the bootloader relies upon PMON's ability to load a Linux
- so-called ``initrd'' image. By making PMON load the kernel
- as the ``initrd'' image, and then run the bootloader,
- the bootloader will be able to ``load'' the OpenBSD kernel
- correctly.
-
- The path to the file booted by default is set in the `al'
- environment variable, and the path to the initrd image is
- set in the `rd' environment variable.
-
- To boot the bsd kernel on the G-Key by default, assuming it
- has been copied to /boot/bsd on the first ext3 partition, and
- the bootloader has been copied to /boot/boot on the same
- filesystem, the settings are:
-
- PMON> set al /dev/fs/ext2@usbg0/boot/boot
- PMON> set rd /dev/fs/ext2@usbg0/boot/bsd
-
- Alternatively, you can disable autoboot by removing this
- variable:
-
- PMON> unset al
+ The timeout until the default choice is selected, in seconds, can
+ be modified on the ``timeout'' line.
+
+ However, due to side effects of PMON operation, automatic loading
+ of OpenBSD binaries (bootloader or kernel) causes a register dump
+ to be silently displayed by PMON; while it won't be visible on
+ screen, PMON will gladly wait for user input to continue if it
+ believes it has written too much output.
+
+ To overcome this annoyance, simply change the `moresz' environment
+ variable to a large value (30 or larger will do):
+
+ PMON> set moresz 30
+
+ The bootloader will attempt to load the kernel file set in the `bsd'
+ environment variable. Should this fail, it will wait for user
+ commands. The value of `bsd' should be a path within the OpenBSD
+ root filesystem on the disk, such as:
+
+ PMON> set bsd /bsd
+
+ If you have removed the Linux installation or if you do not want to
+ use the boot menu, you may simply disable it in the environment, and
+ set the `al' variable to point to the bootloader path:
+
+ PMON> set ShowBootMenu no
+ PMON> set al /dev/fs/ext2@wd0/boot/boot
+
+ Alternatively, you might want to create a /boot/boot.cfg file in the
+ small Linux partition created by the installation.
+
+ On the Fuloong 2F, getting PMON to use the serial console is tricky,
+ due to PMON bugs and design decisions made by Lemote. PMON's default
+ serial speed is 115200, and OpenBSD will also use that speed. By
+ default, it is only possible to use serial input if no USB keyboard is
+ attached. PMON will nevertheless display its output on the VGA display.
+ To get full serial access, the first step is to boot into PMON> with
+ both serial console and VGA display but no USB keyboard attached.
+ You can type on the serial console, but output will be shown on the
+ VGA display. Next enter the following commands:
+
+ PMON> set novga 1
+ PMON> set nokbd 1
+ PMON> set al ""
+ PMON> set ShowBootMenu no
+
+ If you have a dual boot setup, mount the Linux boot partition and
+ rename /boot/boot.cfg so that it does not get found by PMON. This
+ will enable full serial access to PMON on the Fuloong 2F.
+
+Gdium systems final steps:
+
+ Gdium systems do not have a boot menu, and directly boot the system
+ (Linux, by default). Unfortunately, the OpenBSD bootloader operation
+ is very limited on this machine, as it can not access USB devices
+ (which means no keyboard input as well).
+
+ To overcome this and be able to boot OpenBSD nevertheless, the
+ bootloader relies upon PMON's ability to load a Linux so-called
+ ``initrd'' image. By making PMON load the kernel as the ``initrd''i
+ image, and then run the bootloader, the bootloader will be able to
+ ``load'' the OpenBSD kernel correctly.
+
+ The path to the file booted by default is set in the `al' environment
+ variable, and the path to the initrd image is set in the `rd'
+ environment variable.
+
+ To boot the bsd kernel on the G-Key by default, assuming it has been
+ copied to /boot/bsd on the first ext3 partition, and the bootloader
+ has been copied to /boot/boot on the same filesystem, the settings
+ are:
+
+ PMON> set al /dev/fs/ext2@usbg0/boot/boot
+ PMON> set rd /dev/fs/ext2@usbg0/boot/bsd
+
+ Alternatively, you can disable autoboot by removing this variable:
+
+ PMON> unset al
OpenBSDCongratulations
diff --git a/distrib/notes/loongson/xfer b/distrib/notes/loongson/xfer
index 79512365fb0..afaf85ec759 100644
--- a/distrib/notes/loongson/xfer
+++ b/distrib/notes/loongson/xfer
@@ -1,16 +1,20 @@
-dnl $OpenBSD: xfer,v 1.1 2010/02/03 17:10:44 miod Exp $
+dnl $OpenBSD: xfer,v 1.2 2010/03/16 17:23:09 miod Exp $
Installation is supported from several media types, including:
CD-ROM
- FFS partitions (for upgrades only)
+ FFS partitions
DOS (FAT) partitions
EXT2 partitions
+dnl Tape
+ Remote NFS partition
FTP
HTTP
-OpenBSDXferShortPrelude
+OpenBSDXferPrelude
dnl usb tape drives anyone?
dnl OpenBSDXferBareTape(xbase xetc xfont xserv xshare)
dnl
+OpenBSDXferNFS
+
OpenBSDXferFFS