Config+Grub+Raid+1

De GeRgOsNet
Révision de 1 août 2012 à 22:11 par GreG (discuter | contributions) (A protégé « Config+Grub+Raid+1 » ([edit=sysop] (infini) [move=sysop] (infini)))

(diff) ← Version précédente | Voir la version courante (diff) | Version suivante → (diff)
  1. grub
grub> root (hd0,1)
Filesystem type is ext2fs, partition type 0xfd
  1. Mettre (hd0,0) dans le cas d'un system en ext2
  2. Mettre (hd0,1) dans le cas d'un system en ext3
grub> setup (hd0) 
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+16 p
(hd0,0)/boot/grub/stage2 /boot/grub/grub.conf"... succeeded
Done.
grub> root (hd1,1)
Filesystem type is ext2fs, partition type 0xfd
grub> setup (hd1) 
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd1)"...  16 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd1) (hd1)1+16 p
(hd1,0)/boot/grub/stage2 /boot/grub/grub.conf"... succeeded
Done.
grub> quit