| | 67 | * [http://shukukei.com/2009/03/raid1grub.html ソフトウェアRAID1にgrubをインストールする(メモ) - 夙慧.com] |
| | 68 | |
| | 69 | * GRUBのコマンドについて |
| | 70 | * [http://www.h5.dion.ne.jp/~simochu/grub/grub.html Introduction to GNU GRUB] |
| | 71 | * [http://www.geocities.co.jp/SiliconValley-Bay/3897/grub/grub.html grubを使おう] |
| | 72 | * [http://grub.enbug.org/CommandList CommandList - GRUB Wiki] |
| | 73 | * この情報によると、RAID時にGRUBコマンドのデファクトとなっている「install」コマンドではなく「setup」コマンドがbetter? |
| | 74 | * ネット上で主に見つかる手順 |
| | 75 | 1. df /boot |
| | 76 | {{{ |
| | 77 | Filesystem 1K-blocks Used Available Use% Mounted on |
| | 78 | /dev/md1 1450192 605532 771572 44% / |
| | 79 | }}} |
| | 80 | 1. grep md1 /proc/mdstat |
| | 81 | {{{ |
| | 82 | md1 : active raid1 sda2[0] sdb1[2](S) sdc2[1] |
| | 83 | }}} |
| | 84 | 1. sudo grub |
| | 85 | {{{ |
| | 86 | grub> device (hd0) /dev/sdc |
| | 87 | grub> root (hd0,1) |
| | 88 | grub> install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/grub.conf |
| | 89 | }}} |
| | 90 | * こちらの方がbetter? (未検証) |
| | 91 | {{{ |
| | 92 | grub> root (hd2,1) |
| | 93 | grub> setup (hd2) |
| | 94 | }}} |
| | 95 | |