Hatena::ブログ(Diary)

isannasiの日記

2011-04-15

福島計画メモ

| 21:42

2010-01-22

gentoo install on thinkpad t42

| 22:20

  • Ubuntu 9.04 から hdd をマウントしてインストール
# cfdisk /dev/sda
  • パーティションは / と swap。80GB しかないから分けなくていいや、という理由。
# mkfs.ext4 /dev/sda1
# mkdir /mnt/gentoo
# mount /dev/sda1 /mnt/gentoo/
  • stage3 tarball と poratage latest をゲット
# cd /mnt/gentoo
# http://distfiles.gentoo.org/releases/x86/autobuilds/current-stage3/stage3-i686-20100119.tar.bz2
# wget http://ftp.jaist.ac.jp/pub/Linux/Gentoo/snapshots/portage-latest.tar.bz2
  • resolv.conf 編集
# nano -w /etc/resolv.conf
# cat /etc/resolv.conf
nameserver 10.10.10.1
  • 一気にインストールスクリプト
env-update && . /etc/profile && emerge --sync && cd /usr/portage && scripts/bootstrap.sh && emerge system && emerge vim && vi /etc/fstab && emerge gentoo-dev-sources && cd /usr/src/linux && make menuconfig && make install modules_install && emerge gnome mozilla-firefox openoffice && emerge grub && cp /boot/grub/grub.conf.sample /boot/grub/grub.conf && vi /boot/grub/grub.conf && grub
  • bootstrap で gettext で使ったディレクトリを rm するのに失敗
  • ctrl-c して続いた emerge system の netfilter でも rm に失敗
  • handbook 通りに進めることにした
  • profile 指定してなかったので指定
    • default/linux/x86/10.0/desktop
eselect profile set 2
  • nano は使いづらいので vim インストール
# emerge vim
  • vim インストール中にハング。諦めることにした

2009-04-15

予定

20:37

  • ここは何かに使う予定です。

久々だとはてな記法とか忘れてる

| 20:37