電気回路/z-turn/Linuxの設定 のバックアップ(No.1)

更新


公開メモ

インストール直後のバージョン

$ uname --all
 Linux localhost.localdomain 3.15.0-xilinx #9 SMP PREEMPT Tue May 26 17:26:14 CST 2015 armv7l armv7l armv7l GNU/Linux
$ gcc --version
 gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
 Copyright (C) 2011 Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.  There is NO
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ cat /etc/apt/sources.list
 deb http://ports.ubuntu.com/ubuntu-ports/ precise main restricted
 deb-src http://ports.ubuntu.com/ubuntu-ports/ precise main restricted
 #
 deb http://ports.ubuntu.com/ubuntu-ports/ precise-updates main restricted
 deb-src http://ports.ubuntu.com/ubuntu-ports/ precise-updates main restricted
 #
 deb http://ports.ubuntu.com/ubuntu-ports/ precise-security main restricted
 deb-src http://ports.ubuntu.com/ubuntu-ports/ precise-security main restricted

ふむ。

アップグレード

$ su
$ apt-get update
$ apt-get upgrade
 679 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
 Need to get 306 MB of archives.
 After this operation, 96.2 MB of additional disk space will be used.
 ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-1412-omap4
grep: /boot/config-3.2.0-1412-omap4: No such file or directory
WARNING: missing /lib/modules/3.2.0-1412-omap4
Device driver support needs thus be built-in linux image!
WARNING: Couldn't open directory /lib/modules/3.2.0-1412-omap4: No such file or directory
FATAL: Could not open /lib/modules/3.2.0-1412-omap4/modules.dep.temp for writing: No such file or directory
 FATAL: Could not load /lib/modules/3.2.0-1412-omap4/modules.dep: No such file or directory
 cryptsetup: WARNING: could not determine root device from /etc/fstab
$ 

ユーザー作成 & sshd 起動

走査をミスってシステムを壊してしまったり

$ adduser osamu
$

Counter: 4199 (from 2010/06/03), today: 2, yesterday: 0