|
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 の
(うまく行かない時には) 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# ( つっこみ )
|
最近の日記 2025年10月25日 ・recover from disk error 2025年10月23日 ・dd does not duplicate Windows 11 boot disk ? 2025年10月13日 ・missing package 2025年10月04日 ・pkgin search pkgname segfaults 2025年08月16日 ・installboot (Although it’s too late) | ||