2008-07-20 :-)
_ 朝っ
1000起床
_ Windows XP インストールを修復した後、Windows Update、Microsoft Update、または自動更新で更新プログラムが正常にインストールされない
父が使っている計算機ではずーっと Windows Update が失敗していたので適用してみた。ふむ。
_ [NetBSD][USB メモリースティック][sysinst]USB メモリースティックに NetBSD インストールカーネルを入れる
神戸隆博さんから「とりあえず sysinst が裏で何をやってるか見てみるといいよ」と助言を頂いたので実践してみます。といっても以下をそのまま実行しただけですが。
How to install NetBSD from an USB Memory Stick - NetBSD Wiki
# dmesg : umass0 at uhub1 port 1 configuration 1 interface 0 umass0: I-O DATA USB Flash Disk, rev 2.00/2.00, addr 2 umass0: using SCSI over Bulk-Only scsibus0 at umass0: 2 targets, 1 lun per target sd0 at scsibus0 target 0 lun 0: <I-O DATA, USB Flash Disk, 4.70> disk removable sd0: fabricating a geometry sd0: 243 MB, 243 cyl, 64 head, 32 sec, 512 bytes/sect x 499200 sectors sd0: fabricating a geometry
Install the Master Boot Record (MBR):
# fdisk -i /dev/rsd0d fdisk: Cannot determine the number of heads Update the bootcode from /usr/mdec/mbr? [n] y We haven't written the MBR back to disk yet. This is your last chance. Should we write new partition table? [n] y
Create an fdisk partition for NetBSD:
# fdisk -u /dev/rsd0d
fdisk: Cannot determine the number of heads
Disk: /dev/rsd0d
NetBSD disklabel disk geometry:
cylinders: 243, heads: 64, sectors/track: 32 (2048 sectors/cylinder)
total sectors: 499200
BIOS disk geometry:
cylinders: 243, heads: 64, sectors/track: 32 (2048 sectors/cylinder)
total sectors: 499200
Do you want to change our idea of what BIOS thinks? [n]
Partition table:
0: NetBSD (sysid 169)
    start 8, size 499192 (244 MB, Cyls 0/0/9-243/47/32), Active
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
Bootselector disabled.
First active partition: 0
Drive serial number: 2540743935 (0x9770acff)
Which partition do you want to change?: [none] 0
The data for partition 0 is:
NetBSD (sysid 169)
    start 8, size 499192 (244 MB, Cyls 0/0/9-243/47/32), Active
sysid: [0..255 default: 169] 169
start: [0..244cyl default: 8, 0cyl, 0MB]
size: [0..244cyl default: 499192, 244cyl, 244MB]
bootmenu: []
Partition table:
0: NetBSD (sysid 169)
    start 8, size 499192 (244 MB, Cyls 0/0/9-243/47/32), Active
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
Bootselector disabled.
First active partition: 0
Drive serial number: 2540743935 (0x9770acff)
Which partition do you want to change?: [none]
We haven't written the MBR back to disk yet.  This is your last chance.
Partition table:
0: NetBSD (sysid 169)
    start 8, size 499192 (244 MB, Cyls 0/0/9-243/47/32), Active
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
Bootselector disabled.
First active partition: 0
Drive serial number: 2540743935 (0x9770acff)
Should we write new partition table? [n] y
Set the NetBSD partition active (it's partition Number 0):
# fdisk -a /dev/rsd0d
fdisk: Cannot determine the number of heads
Disk: /dev/rsd0d
NetBSD disklabel disk geometry:
cylinders: 243, heads: 64, sectors/track: 32 (2048 sectors/cylinder)
total sectors: 499200
BIOS disk geometry:
cylinders: 243, heads: 64, sectors/track: 32 (2048 sectors/cylinder)
total sectors: 499200
Partition table:
0: NetBSD (sysid 169)
    start 8, size 499192 (244 MB, Cyls 0/0/9-243/47/32), Active
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
Bootselector disabled.
First active partition: 0
Drive serial number: 2540743935 (0x9770acff)
Do you want to change the active partition? [n] y
Choosing 4 will make no partition active.
active partition: [0..4 default: 0] 0
Are you happy with this choice? [n] y
We haven't written the MBR back to disk yet.  This is your last chance.
Should we write new partition table? [n] y
Create the NetBSD disklabel and add the partitions "a" and "d":
# disklabel -i -I sd0
partition> a
Filesystem type [?] [4.2BSD]:
Start offset ('x' to start after partition 'x') [0.00390625c, 8s, 0.00390625M]:
Partition size ('$' for all remaining) [243.746c, 499192s, 243.746M]:
partition> d
Filesystem type [?] [unused]:
Start offset ('x' to start after partition 'x') [0c, 0s, 0M]:
Partition size ('$' for all remaining) [243.75c, 499200s, 243.75M]:
partition> P
5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a:    499192         8     4.2BSD      0     0     0  # (Cyl.      0*-    243*)
 d:    499200         0     unused      0     0        # (Cyl.      0 -    243*)
 e:    499195         0     unused      0     0        # (Cyl.      0 -    243*)
partition> W
Label disk [n]? y
Label written
partition> Q
Create a new NetBSD filesystem on partition sd0a:
# newfs /dev/rsd0a
/dev/rsd0a: 243.7MB (499192 sectors) block size 8192, fragment size 1024
        using 6 cylinder groups of 40.62MB, 5200 blks, 10112 inodes.
super-block backups (for fsck_ffs -b #) at:
32, 83232, 166432, 249632, 332832, 416032,
Make the partition sd0a bootable:
# mount /dev/sd0a /mnt # cp /usr/mdec/boot /mnt # installboot -v -o timeout=5 /dev/rsd0a /usr/mdec/bootxx_ffsv1 File system: /dev/rsd0a Primary bootstrap: /usr/mdec/bootxx_ffsv1 Boot options: timeout 5, flags 0, speed 9600, ioaddr 0, console pc
とりあえずインストールカーネルだけコピーします( sets を展開するだけの容量があるのか調べてない )。
# cp /usr/src/i386.release/i386/binary/kernel/netbsd-INSTALL.gz /mnt/netbsd.gz
# umount /mnt
あわせて読みたい
_ [ベイクドチーズケーキ][おやつ]おやつ
ベイクドチーズケーキ( ref. 12cmの丸型ひとつでできる 小さくてかわいいケーキ pp.18-19 )。
いつも 15cm の丸型を使ってるんですがレシピ 12 cm の丸型を前提にした分量のままだと厚さが足りないので( ref. おやつ[ 20080706#p14 ] )分量を増やしてみました。とりあえず試しに約 1.5 倍してみた。
| 材料 | 12cm | 1.5 倍 | 
| クリームチーズ | 120g | 180g | 
| サワークリーム | 30g | 45g | 
| 砂糖 | 50g | 75g | 
| たまご | 1個 | 2 個 | 
| レモン汁 | 大さじ 1.5 | 大さじ 2 | 
| 薄力粉 | 大さじ 1 | 大さじ 1.5 | 
| コーンスターチ | 小さじ 1 | 小さじ 1.5 | 
_ [課外授業~ようこそ先輩~][押井守]課外授業~ようこそ先輩~ 2008年7月20日 押井守
録画して見た。過去の放送 の URI は現在から過去へ向かって list1 list2 list3... と増えていく。ううむ。
映画撮影するときの心構えを紹介していたけど写真撮影するときや絵を描くときにも適用できます。
- 押井守
- 映画監督
 - 自分では絵を描かない
 
 - 視点を変える
- 視点を変えると世界の見え方が変わる
 - 自分を変えると景色が変わる
 - 時間を変える
 - 見方を変える
 
 - 実践
- 船に乗って川から東京を眺める
- 蒲田から?隅田川を上る
 - まさに劇場版パトレイバー 2 みたいな
 
 - 高層ビルの上のほうから東京を眺める
- 自分の視点を変える
 - 高いところから見る
 - 低いところから見る
 
 
 - 船に乗って川から東京を眺める
 - スカイクロラ
- 一部場面紹介
 - スタッフに実体験させる
 - アイルランド現地取材
 
 - 事例:パトレイバー 2
- 人を登場させない
 - 人が居ないと不思議な感じになる
 - 誰も居ないと誰か居るんじゃないかと
 - 何かを足したり引いたりすると違って見える
 
 - 同じ視点だと飽きる
- 我々は普段飽きない努力をしている
 - 授業に飽きたら漫画を読んだり
 - 窓の外を眺めたり
 - 視点を変えている
 
 - 描いてみよう
- 鳥瞰な東京とか
 - 魚眼な東京とかすげえ
 
 - 想像しよう
- 雪が降るのを待つのではなく雪が降ったのだと想像する
 - じつは隣人は宇宙人だと想像する
- ハルヒか
 
 
 















