On Fri, 18 Dec 2015 19:20:48 +0100 Marco Balestra <[email protected]>
wrote:
> I'm waiting with my brand new server, using 2*128GB pendrives for system, and
> I failed installing grub using whatever combination of RAID1 with or without
> LVM - it installs, then doesn't boot (or doesn't fine VGs and LVMs).
> While waiting, I'm trying to see whether the 32 bit version could work for
> this.
Eventually, I succeeded! :-)
1. 2*USB3 pendrive in RAID1 /dev/md0 (now sde+sdf, during installation they
where sdg+sdh).
2. 4*hd in RAID5 /dev/md1 (sda thru add)
3. NO LVM was used - I had errors when I tried to use LVM
4. debian-8.2.0-i386-netinst.iso on another pendrive, and network drivers on a
4th pendrive
I've installed the whole operating system on /dev/md0, while /dev/md1 was
mounted in /storage (each HD has a 8GB swap partition).
When asked to install grub:
1) switched to another shell - ctrl-alt-f2
2) # chroot /target /bin/bash
3) # mdadm -QDv /dev/md0 (to verify actual devices, in this case sdg and sdh)
4) # update-grub
5) # grub-install /dev/sdg
6) # grub-install /dev/sdh
At reboot power off, removed install+drivers pen drives, turn on: it works!
I tried to do the same with the amd64 8.2 netinstall, without success.
Now I'll have to understand why server doesn't boot, but it was a huge step
forward :-)
Hope this helps,
Marco