Re: CentOS 5 grub boot problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Aug 6, 2015 at 5:04 PM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:

> I might try nerfing the parted and grub stage 1 bootloaders on disk2,
> and see if the grub shell (which I should still get to from disk 1)
> will let me install grub directly on these two drives properly.

OK I did that and this works.

## At the GRUB boot menu, hit c to get to a shell
grub> root (hd0,0)
grub> setup (hd0)
grub> setup (hd1)

That's it.

What I did to test is was I zero'd the first 440 bytes of vdb and the
the first 512 bytes of vdb1. I confirmed that this disk alone does not
boot at all. After running the above commands, either drive boots.

NOW, I get to say I've seen stage 1.5 get used because when it did the
setup, it said it was embedding /grub/e2fs_stage1_5. In the above case
hd0,0 is first disk first partition which is /boot.

Anyway, this seems about 8 million times easier than linux
grub-install CLI. Now I get to look back at OP's first email and see
if he did this exact same thing already, and whether we've come full
circle.

-- 
Chris Murphy
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux