VAIO ZにArch Linuxインストールした際のまとめ
コンパイル待ってるの嫌になってきたのでArch Linuxも試しました
Gentoo環境は mkfs.ext4 で消えました
https://wiki.archlinux.org/index.php/Talk:Installing_with_Fake_RAID
にdmraidとか古くね?Intelはmdadm使えって書いてるし俺できてるぜ!
とか書いてる割に全然出来なかったのでまとめ。*1
ブート
LinuxLive USB CreatorでUSBスティック作成
普通にブート・・・すると画面真っ暗
ブートメニューで TAB 押して
i915.modeset=0
を追加して起動。英字配列になってるので=は^のキーで入力。
RAID
起動したら既に認識されてます。
/dev/md126 /dev/md126p2など
mount /dev/md126p3 /mnt mkdir /mnt/boot mount /dev/md126p2 /mnt/boot
でマウント。
/arch/setupに入る前に
mdadm --examine --scan > /mnt/etc/mdadm.conf
/arch/setup
Prepare Hard Drive
Manually configure block devices, filesystems and mountpoints
を選択して何も設定せずに進み、Ignore押してスキップ
Configure the system
- >/etc/mkinitcpio.conf
MODULESに dm_mod を追加
HOOKSの udev の後ろに mdadm_udev を追加
Install Bootloaderはスキップ
GRUBのインストール
http://forums.gentoo.org/viewtopic-t-888520-start-0.html
のInstalling grub
menu.lstの書き換えを忘れると起動しないので書き換えましょう。
参考
https://wiki.archlinux.org/index.php/Installing_with_Fake_RAID
https://wiki.archlinux.org/index.php/Software_RAID_and_LVM
http://linux-101.org/howto/arch-linux-software-raid-installation-guide
http://forums.gentoo.org/viewtopic-t-888520-start-0.html
http://travishegner.com/2012/02/boot-arch-linux-from-an-mdadm-array/#.T-6YqCt1Bro