○ pdisk を使って区画をする。 root@harry 9:41:20/980705(/)# pdisk /dev/sda Edit /dev/sda - Command (? for help): p Partition map (with 512 byte blocks) on '/dev/sda' #: type name length base ( size ) 1: Apple_partition_map Apple 63 @ 1 2: MkLinux Free 6760 @ 1425000 ( 3.3M) 3: Apple_Free Extra 128 @ 64 4: MkLinux MkLinux Root 143808 @ 192 ( 70.2M) 5: swap swap 256000 @ 144000 (125.0M) 6: MkLinux MkLinux User 900000 @ 400000 (439.5M) 7: MkLinux MkLinux Var 125000 @ 1300000 ( 61.0M) Device block size=512, Number of Blocks=1431760 (699.1M) DeviceType=0x0, DeviceId=0x0 Command (? for help): q root@harry 9:42:13/980705(/)# mkdir /mnt/usr root@harry 9:42:26/980705(/)# mkdir /mnt/var root@harry 9:42:28/980705(/)# mount /dev/sda6 /mnt/usr root@harry 9:42:44/980705(/)# mount /dev/sda7 /mnt/var root@harry 9:42:49/980705(/)# mkswap /dev/sda5 Setting up swapspace, size = 131067904 bytes root@harry 9:43:00/980705(/)# ○ その時に、次のように言われるが、その通り機械を再起動しない と、作った区画を mkfs が読んでくれない。 ○ mkfs は DR3 用に litte endian のものを作ってくれるものが必 要で、それは e2fsprogs-1.10-1b.ppc.rpm に入っているので、まずこれを DR2.1 の方に入れる。 root@harry 10:31:19/980705(...BUILD/DR3)# cp /boot/first.b /boot/second.b /mnt/boot root@harry 10:32:28/980705(...BUILD/DR3)# quik -v -r /mnt Second-stage loader is on /dev/sda4 Copying old bootblock from /dev/sda4 to /mnt/boot/old.b Writing first-stage QUIK boot block to /dev/sda4 Making /dev/sda4 bootable (map entry 4) Writing block table to boot block on /dev/sda4 root@harry 10:32:33/980705(...BUILD/DR3)# /etc/fstab root@harry 21:40:43/980709(...BUILD/DR3)# rpm -ihv --root /mnt --nodeps /usr/src/redhat/BUILD/DR3/base/MAKEDEV-2.3.1-1a.noarch.rpm /var/tmp/rpm-tmp.14504: /usr/sbin/groupadd: No such file or directory execution of script failed error: /usr/src/redhat/BUILD/DR3/base/MAKEDEV-2.3.1-1a.noarch.rpm cannot be installed root@harry 21:40:52/980709(...BUILD/DR3)# /mnt/usr/sbin/groupadd に echo test だけ書いておく。chmod +x root@harry 21:50:23/980709(/mnt/dev)# ./MAKEDEV generic ./MAKEDEV: device: unknown major number for lp ./MAKEDEV: device: unknown major number for lp root@harry 21:52:53/980709(/mnt/dev)# (1) partition with pdisk. (2) mkfs little endian fs with the tool in e2fsprogs and mkswap for swap partition (3) mount /, /usr and /var under temporary_mount point, say /tmp_mount (4) rpm --root /tmp_mount --nodeps various.rpm of (1 Base, 1 X Window system, of DR3/RedHat/base/comps) --- The path shown below is not actual, but under (/tmp_mount) (5) copy 2.1.103 kernel to /vmlinux (6) adjust /etc/{fstab,hosts,resolv.conf},o /etc/sysconfig/ (7) take care /boot/first.b /boot/second.b (8) quik -v /tmp_mount (9) trick on /mnt/usr/sbin/groupadd cd /mnt/dev/MAKEDEV generic (9) and reboot from that scsi disk /etc/passwd 第二版 (1) partition with pdisk. (2) mkfs with old ones. and mkswap for swap partition (3) mount /, /usr and /var under temporary_mount point, say /tmp_mount setenv LD_LIBRARY_PATH /mnt/lib (4) rpm --root /tmp_mount --nodeps various.rpm of (1 Base, 1 X Window system, of DR3/RedHat/base/comps) --- The path shown below is not actual, but under (/tmp_mount) (5) copy 2.1.103 kernel to /vmlinux (6) adjust /etc/{fstab,hosts,resolv.conf},o /etc/sysconfig/ (7) take care /boot/first.b /boot/second.b fsck -f fsck -a -v fsck -a -v -s (8) quik -v /tmp_mount (9) trick on /mnt/usr/sbin/groupadd ( /echo を link してしまう) cd /mnt/dev/MAKEDEV generic (9) and reboot from that scsi disk /etc/passwd /etc/localtime /etc/termcap sh-utils ################################################## /sbin/install-info: error in loading shared libraries libz.so.1: cannot open shared object file: No such file or directory execution of script failed error: sh-utils-1.16-8b.ppc.rpm cannot be installed root@harry 23:08:38/980709(...DR3/base)# 次の中から選ぶ必要がある。 makoto@harry 23:14:40/980712(/home6/DR3)> egrep '^[0-9]' RedHat_base_comps 0 1 Base 0 Printer Support 1 X Window System 1 Mail/WWW/News Tools 1 Mac Utilities 0 DOS/Windows Connectivity 1 File Managers 0 Graphics Manipulation 0 X Games 0 Console Games 1 X multimedia support 1 Console Multimedia 0 Print Server 1 Networked Workstation 1 Dialup Workstation p0 News Server 0 NFS Server 0 Anonymous FTP/Gopher Server 0 Web Server 0 DNS Name Server 0 Network Management Workstation 0 TeX Document Formatting 0 Emacs with X windows 0 C Development 0 Development Libraries 0 C++ Development 0 X Development 0 Extra Documentation makoto@harry 23:14:57/980712(/home6/DR3)>