You are not logged in.
Hi all, a will apreciate any kick to right direction
Fresh net install 2010.5 by this guide on wiki: http://wiki.archlinux.org/index.php/Ins … AID_or_LVM
sda1 + sdb1 : md0 /boot ext4
sda2 + sdb2 : md1 / (root) ext4
sda3 + sdb3 : md2 /home ext4
sda4 + sdb4 :md3 swap
sdc1 + sdd1 : md4 /data ext4
the problem is that grub install freeze
what i did:
1 - i particionated hdd by installer cfdisk, disk type FD (linux raid autodetect)
2 - load module: alt+f2 modprobe raid1
3 - create raid1
mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1
mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sda2 /dev/sdb2
mdadm --create /dev/md2 --level=1 --raid-devices=2 /dev/sda3 /dev/sdb3
mdadm --create /dev/md3 --level=1 --raid-devices=2 /dev/sda4 /dev/sdb4
mdadm --create /dev/md4 --level=1 --raid-devices=2 /dev/sdc1 /dev/sdd1
wait until resync finish
cat /proc/mdstat
4 - from installer, install base system
5 - befor chose config option in installer get correct mdadm.conf from console by
mdadm -D --scan >> /mnt/etc/mdadm.conf
6 - configure system from installer
in /etc/mkinitcpio.conf
HOOKS mdadm
MODULES raid1
NOW THE PROBLEM
i try install grub by installer - fail (install on raid yes, review menu.lst, and any reaction, reboot grub stage 1.5)
i try install grub manualy
chroot by
mount -o bind /dev /mnt/dev
mount -t proc none /mnt/proc
chroot /mnt /bin/bash
grub
grub> root (hd0,0)
grub> setup (hd0)
without any raction
ctrl C
y tryed from grub console
find /boot/grub/stage1
and again any reaction
i install mc and revised /boot/grub and look ok
any idea how to get the boot loader work with raid1 please
bump
Last edited by jagular (2010-06-16 20:33:39)
Offline
SOLVED only parcialy
Finaly after lot of try and fail, i put the boot partition on native ext2 without raid and the base install is OK now.
I will try later do some more investigation & convert the boot partition to raid.
Offline
any idea how to get the boot loader work with raid1 please
Try this..
mdadm --create /dev/md0 --level=1 --raid-devices=2 --metadata=0.90 /dev/sda1 /dev/sdb1
If that's where your /boot is going, rather than..
mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1
Does that help? I only ask as I've just spent half a day banging my head on my desk, having not read the wiki properly : )
From the wiki..
If you want to use Grub 0.97 (default in the Arch Linux 2010.05 release) on RAID 1, you need to specify an older version of metadata than the default. Add the option "--metadata=0.90"
Offline
thx, that was exactly the solution for my problem
Offline