1: 2013-01-12 (土) 08:16:31 s09081 | 2: 2013-01-12 (土) 08:55:05 s09081 | ||
---|---|---|---|
Line 61: | Line 61: | ||
こちらの方のスクリプトでnativeの設定を展開できるらしい。~ | こちらの方のスクリプトでnativeの設定を展開できるらしい。~ | ||
nativeにしてあとで展開しちゃえばおkってことですね。~ | nativeにしてあとで展開しちゃえばおkってことですね。~ | ||
+ | ~ | ||
+ | gentooのミラー先指定 | ||
+ | mirrorselect -i -o >> /mnt/gentoo/etc/make.conf | ||
+ | mirrorselect -i -r -o >> /mnt/gentoo/etc/make.conf | ||
+ | しかし、できない環境もあるよね。~ | ||
+ | vi etc/make.conf | ||
+ | GENTOO_MIRRORS="http://ftp.jaist.ac.jp/pub/Linux/Gentoo" | ||
+ | SYNC="rsync://ftp.jaist.ac.jp/pub/Linux/Gentoo-portage" | ||
+ | 追記する~ | ||
+ | chrootの前設定 | ||
+ | cp -L /etc/resolv.conf /mnt/gentoo/etc/ | ||
+ | mount -t proc none /mnt/gentoo/proc | ||
+ | mount --rbind /dev /mnt/gentoo/dev | ||
+ | chroot /mnt/gentoo /bin/bash | ||
+ | env-update | ||
+ | >> Regenerating /etc/ld.so.cache... | ||
+ | source /etc/profile | ||
+ | emerge --sync | ||
+ | eselect profile list | ||
+ | eselect profile set 3 | ||
+ | ~ | ||
+ | USEフラグをつける。インストールしたいパッケージを記入、いらないのにマイナスをつける。 | ||
+ | less /usr/portage/profiles/use.desc | ||
+ | nano -w /etc/make.conf | ||
+ | USE="-gtk -gnome qt4 kde dvd alsa cdr" //正直いまは設定しないでもいい | ||
+ | ~ | ||
+ | nano -w /etc/locale.gen | ||
+ | locale-gen | ||
+ | cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime | ||
+ | **Kernel [#j59805a2] | ||
+ | ***通常 [#h13dd2f4] | ||
+ | emerge gentoo-sources | ||
+ | cd /usr/src/linux/ | ||
+ | make menuconfig | ||
+ | make | ||
+ | make modules_install | ||
+ | cp arch/i386/boot/bzImage /boot/kernel-2.6.34-gentoo-r1 | ||
+ | |||
+ | ***初級者コース [#v9b7196b] | ||
+ | emerge gentoo-sources | ||
+ | emerge genkernel | ||
+ | genkernel --menuconfig all |
- gentoo のバックアップ一覧
- gentoo のバックアップ差分(No. All)