* grub and mdadm
@ 2014-03-10 0:24 AdsGroup
2014-03-10 3:01 ` Chris Murphy
0 siblings, 1 reply; 3+ messages in thread
From: AdsGroup @ 2014-03-10 0:24 UTC (permalink / raw)
To: linux-raid
In the past I have used whole drives (<2TB) as block devices for mdadm
raid and a separate single drive for grub, boot, swap, root and home
with no problem. I now want to upgrade (non-UEFI bios machine) to
multiple 3TB drives thinking 3 active in Raid 5 with 1 spare again using
the full drives as block devices and installing Lubuntu 12.10 LTS
alternate for server/command line.
Using Lubuntu 13.10 desktop live (therefore recent mdadm, gparted,
parted, etc) I've created and easily assembled/started the mdadm array
/dev/md0 from sd[a-c], sdd as spare. I then partition /dev/md0 on MIB
boundaries the following in order 1MB free space, 2MB bios-grub, 200MB
boot, 10GB swap, remainder root (5.6 TB?) with 1MB trailing free space.
Then rebooting to 12.10 alternate for install I have difficulties
installing grub anywhere. Even fails using boot-repair (link below) Any
ideas?
Ashley
https://help.ubuntu.com/community/Boot-Repair
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: grub and mdadm
2014-03-10 0:24 grub and mdadm AdsGroup
@ 2014-03-10 3:01 ` Chris Murphy
[not found] ` <531E3AFA.7080502@shaw.ca>
0 siblings, 1 reply; 3+ messages in thread
From: Chris Murphy @ 2014-03-10 3:01 UTC (permalink / raw)
To: linux-raid@vger.kernel.org List
On Mar 9, 2014, at 6:24 PM, AdsGroup <AdsGroup@shaw.ca> wrote:
> In the past I have used whole drives (<2TB) as block devices for mdadm raid and a separate single drive for grub, boot, swap, root and home with no problem. I now want to upgrade (non-UEFI bios machine) to multiple 3TB drives thinking 3 active in Raid 5 with 1 spare again using the full drives as block devices and installing Lubuntu 12.10 LTS alternate for server/command line.
>
> Using Lubuntu 13.10 desktop live (therefore recent mdadm, gparted, parted, etc) I've created and easily assembled/started the mdadm array /dev/md0 from sd[a-c], sdd as spare. I then partition /dev/md0 on MIB boundaries the following in order 1MB free space, 2MB bios-grub, 200MB boot, 10GB swap, remainder root (5.6 TB?) with 1MB trailing free space.
The disks should be partitioned first, so that each disk has a completely whole BIOS boot, with a complete GRUB core.img. The only reason why this worked is probably a bit of luck that grub-install of core.img put it in a single chunk that just so happened to be on the same disk with the initial bootsstrap code. But this setup isn't bootable degraded, like it could be if the layout were minimally partitioned first so that BIOS boot is outside of the array.
>
> Then rebooting to 12.10 alternate for install I have difficulties installing grub anywhere. Even fails using boot-repair (link below) Any ideas?
Just use the newer 13.10 GRUB, you don't need a 2nd instance to boot the older distribution. Just write a forwarding entry in the 13.10 grub.cfg, via /etc/grub.d/custom_40, using the configfile command pointing to the 12.10 grub.cfg.
Chris Murphy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-03-11 2:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-10 0:24 grub and mdadm AdsGroup
2014-03-10 3:01 ` Chris Murphy
[not found] ` <531E3AFA.7080502@shaw.ca>
2014-03-11 2:34 ` Chris Murphy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.