hns - 日記自動生成システム - Version 2.19.9

先月 2000年06月 来月
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2000年06月15日(木) 旧暦 [n年日記]

#1 [Calendar] 6/15 千葉県民の日

でお休み。

#2 [NetBSD] sparc snapshot 20000607

miniroot を用意する:

sd0 at scsibus0 targ 4 lun 0: <QUANTUM, LP40S  940409404, 2.9> SCSI2 0/direct fixed
sd0: 41046 KB, 928 cyl, 2 head, 44 sec, 512 bytes/sect x 82092 sectors
のような別の機械 = harry の 40M Bytes disk に次のようにして miniroot を用意する
root@harry  17:07:19/000615(...installation/miniroot)# zcat miniroot.fs.gz | dd of=/dev/rsd0c
14336+0 records in
14336+0 records out
7340032 bytes transferred in 246 secs (29837 bytes/sec)
root@harry  17:11:41/000615(...installation/miniroot)# 
ip address を 16進に直すいい方法を考えつかなかったので、次のようにする
#!/usr/local/bin/perl
$ip_address = $ARGV[0];
print $ip_address," --> ";
foreach ( split('\.', $ip_address) ) {
    $char = sprintf("%2x", $_);
    $char =~ y/a-z/A-Z/;
    print $char;
	}
print "\n";
----------------
makoto@harry ■17:23:04/000615(~)> perl/tftpboot-name 192.168.50.23
192.168.50.23 --> C0A83217
きっともっと簡単な方法があるのだろう。

Netboot:

sparc netboot を見ながら、別の機械 = harry の
  • /tftpboot の下に boot.net を写す
  • ipaddress を 16 進に変換した名前から hardlink しておく
    root@harry 17:14:23/000615(/tftpboot)# ln boot.net-sparc-20000607 C0A83217.SUN4C
  • 上のように miniroot を dd で disk に写しておく
  • miniroot を mount する
  • nfs で export しておく
そうして目的機械で ok boot net する
(うまく行かない時には) tcpdump broadcast で見ていると情報が得られる。 どうも今回は FQDN が必要なことが多いようだ。 /etc/ethers, /etc/hosts, /etc/bootparams
NFS server の ip address を間違えたら、そのままやり直しが効かず、
[- 日記システム警告:コマンド NFS は予約されています。-]
^C で # に抜けて、その後 ./sysinst すると何故か France 語になってしまう。(ので netboot からやり直し)
8 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  a:    50400        0     4.2BSD     1024  8192    16   # (Cyl.    0 - 69)
  b:   144000    50400       swap                        # (Cyl.   70 - 269)
  c:   828720        0    unknown                        # (Cyl.    0 - 1150)
  d:   446400   194400     4.2BSD     1024  8192    16   # (Cyl.  270 - 889)
  h:   187200   640800     4.2BSD     1024  8192    16   # (Cyl.  890 - 1149)


Installing timezone link...done.
Making devices...done.
WARNING: No /netbsd.GENERIC!  Please install /netbsd manually!
Installing boot block...

..
NetBSD 1.4ZB (GENERIC) #6: Fri Jun  9 16:43:01 EDT 2000
    cjs@stoic.fulton.cynic.net:/u1/netbsd/co/current/src/sys/arch/sparc/compile/GENERIC
...

Automatic boot in progress: starting file system checks.
CANNOT READ: BLK 818512
/dev/rsd0a: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
Automatic file system check failed; help!
この辺の問題は scsi Id と sd 番号の付け方が Sun の場合、面倒なことになってい るのが理由だった。あとで整理しよう。
ci# df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd0a       24303    19396     3691    84%    /
/dev/sd0d      215695   102112   102798    49%    /usr
/dev/sd0h       90455      637    85295     0%    /var
ci#



最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)