PS2LinuxにBlackRhino GNU/Linux 1.0 をインストールする
Blackrhino Install & Config Manual 2024/12/28 21:53:39
Preparation
- Install Sony Playstation 2 Linux on /dev/hda1
- Ideally, create a new 4GB partition for BlackRhino GNU/Linux 1.0.
Minimally, create a new 1GB partition. - Mount the new partition
Example:
fdisk /dev/hda
. n (Create a new partition.)
. p (The new partition will be primary.)
. 3 (/dev/hda3 will be the new partition's designation.)
. +1024M (It will be given a size of 1GB.)
. w (Write the new partition table and quit.)
mke2fs /dev/hda4
mkdir /mnt/brl
mount -t ext2 /dev/hda4 /mnt/brl
Getting the base mini-image
- Change your current working directory to the newly mounted partition.
- Download the BlackRhino GNU/Linux base mini-image from one of the
distribution sites into that directory.
(http://blackrhino.xrhino.com/main.php?page=download)
Example:
cd /mnt/brl
wget wget http://playstation2-linux.com/files/blackrhino/blackrhino_baseimage-1.0.tar.gz
Installation
. Un-tar blackrhino_baseimage-1.0.tar.gz to the newly mounted partition
. Edit your network configuration found in etc/network/interfaces
(examples can be found in usr/share/doc/ifupdown/examples/)
Note: Since dynamic network support is not included in the stock
v2.2.1 Sony Playstation 2 Linux kernel, you must initially
use a static network configuration (or a different kernel with
dynamic support).
. Edit the etc/hostname and etc/resolv.conf files to reflect your desired
hostname and DNS configuration.
. Edit your etc/apt/sources.list file and choose your preferred BlackRhino
GNU/Linux package mirror.
. Edit your etc/fstab to reflect the new BlackRhino boot partition.
. Edit your memory card's p2lboot.cnf file and add an entry to boot
into the newly created BlackRhino GNU/Linux partition.
. If you would like to have the system display on a television, set the
display entry of p2lboot.opt equal to "ntsc" or "pal".
. Reboot into your new BlackRhino GNU/Linux distribution.
Note: Only the root account exists in the base mini-image and its
password is empty.
Example (you should be in the /mnt/brl directory):
tar zxvf /mnt/brl/blackrhino_baseimage-1.0.tar.gz
vi /mnt/brl/etc/network/interfaces
. Use the templates in /usr/share/doc/ifupdown/examples/ if needed
vi /mnt/brl/etc/hostname
. Enter your desired hostname
vi /mnt/brl/etc/resolv.conf
. Enter your domain on the first line, and DNS IP addresses on subsequent
lines
vi /mnt/brl/etc/apt/sources.list
. Uncomment a "deb" line to activate that mirror.
vi /mnt/brl/etc/fstab
. Change your root ("/") entry so that it uses /dev/hda4
mount -t ps2mcfs /dev/ps2mc00 /mnt/mc00
vi /mnt/mc00/p2lboot.cnf
. Add a line similar to the following:
"BlackRhino" vmlinux "" 203 /dev/hda4 "" BlackRhino GNU/Linux 1.0
vi /mnt/mc00/p2lboot.opt
. Add the following line:
display=ntsc
reboot
. blackrhino login: root
Password: [Press the Enter key]
Updating your system
. After you have booted your BlackRhino GNU/Linux system, make
sure that everything is working correctly by trying to ping
www.playstation2-linux.com. If you can ping that address,
your network is configured properly.
. Perform a dselect update of the system.
Example:
ping www.playstation2-linux.com
dselect
. U <enter> (Update the package database.)
. S <enter> <space> <enter> (Select packages.
Make changes if you like.)
. I <enter> (Install new packages.
Wait for the process to finish.)
. Y <enter> (Allow dselect to remove the installed
package archives.)
. Q <enter> (Quit dselect.)
ここまでオフィシャルのテキストです。
Debian系 BlackRhino GNU/Linux 1.0は別にHDDにインストールしなくても使えるみたいだよ。