Cant install grub to raid10 /boot


Recommended Posts

okay so this is where i fell down before with grub, according to the wiki

http://en.gentoo-wiki.com/wiki/RAID/Software

Since the /boot partition is a RAID, grub cannot read it to get the bootloader. It can only access physical drives. Thus, you still use (hd0,0) in this step.
Run grub:
grub --no-floppy
You must see GRUB prompt:
grub>

If you are using a RAID 1 mirror disk system, you will want to install grub on all the disks in the system, so that when one disk fails, you are still able to boot. The find command above will list the disks, e.g.
grub> find /boot/grub/stage1
 (hd0,0)
 (hd1,0)
grub>

and this is what i get

grub> find /boot/grub/stage1

Error 15: File not found


also tried


grub> find /boot/grub/stage1
Error 12: Invalid device requested

grub> root (hd0,0)
 Filesystem type is ext2fs, partition type 0xfd

grub> setup (hd0)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... no

Error 15: File not found

ls /boot/grub
default     e2fs_stage1_5  ffs_stage1_5  iso9660_stage1_5  menu.lst        reiserfs_stage1_5  stage1  stage2_eltorito  vstafs_stage1_5
device.map  fat_stage1_5   grub.conf     jfs_stage1_5      minix_stage1_5  splash.xpm.gz      stage2  ufs2_stage1_5    xfs_stage1_5

should i just be pointing it to /dev/grub ?

edit: seems grub (legacy) has issues with raid10, should I try grub2 or break md0 and make it raid1?

Link to comment
https://www.neowin.net/forum/topic/1122594-cant-install-grub-to-raid10-boot/
Share on other sites

Good to know that you got it working. Would you mind posting a link to the Gentoo discussion though? It might help someone else who stumbles across this thread, and I'm a little curious.

PS: I'd also be interested to know why you chose GRUB Legacy over GRUB 2.

Havent got it working yet, decided to redo the whole thing, went with grub as that is what the wiki advised if you are using the old 0.90 superblock for autoraid, I could use grub2 shouldn't be that much in it, should just need to add dolvm and domdadm in grub file

http://forums.gentoo.org/viewtopic-t-943666.html

http://forums.gentoo.org/viewtopic-t-943156.html

Thanks for the links! That thread is very interesting (and informative). I've never done anything of the sort before.

I have great respect for the Gentoo developers, but I, along with many other Debian developers it seems, often philosophically disagree with them. For the most part this tends to stem from their reluctance to embrace new ways of doing things. (Take a look at the Gentoo systemd discussion.) They make Debian developers look liberal in that regard -- and that's really saying something! I suspect that's why they (or the Gentoo wiki) recommended GRUB Legacy over GRUB 2.

all sorted now, its encrypted, have added keys to the raid so i dont have to enter a passphrase, had to go with raid1 for /boot - just updating it and putting im a few things i require :) - as for grub and such, like with most things on gentoo it is there but masked, you can use it if you wish, and then use the forums for help should you require it, it will hit the stable branch in time :)

GRUB2 is better than GRUB original in the features it provides, other than that, GRUB legacy trumples GRUB2 in all aspects.

You can boot up to GRUB and boot anything from the command line, for GRUB2 you'd need a book to lookup and type all the rubbish it needs.

Also why would anyone switch from a reliable fully-proven system that's been in use mostly flawlessly for years to a newer system (systemd) that's lined with bugs, much slower, and doesn't actually have any enhancements?

GRUB2 is better than GRUB original in the features it provides, other than that, GRUB legacy trumples GRUB2 in all aspects.

You can boot up to GRUB and boot anything from the command line, for GRUB2 you'd need a book to lookup and type all the rubbish it needs.

Also why would anyone switch from a reliable fully-proven system that's been in use mostly flawlessly for years to a newer system (systemd) that's lined with bugs, much slower, and doesn't actually have any enhancements?

I completely disagree with you. However, I beg you, please don't start this discussion again. You can read a thorough discussion of all sides of this issue on debian-devel here and here. Its gotten nearly as bad as the Windows 8 love/hate threads. (I said nearly. Its not quite that bad yet!)

I completely disagree with you. However, I beg you, please don't start this discussion again. You can read a thorough discussion of all sides of this issue on debian-devel here and here. Its gotten nearly as bad as the Windows 8 love/hate threads. (I said nearly. Its not quite that bad yet!)

Interesting reads.

My point isn't that systemd isn't worth anything, it's that it's been released in a junk state. I switched gdm for xdm now, the first 2 boots it was fine, bit slow to open, but fine. Since then, on every boot, it doesn't load xdm up at all, if I login as root and start is using systemctl then it'll open. There's some other programs that haven't worked either and have needed their systemd files changing so they actually run. If I worked for a bank and replaced their whole system with something that sometimes didn't bother carrying out transactions - I'd be fired, instantly and sued for damages. Systemd is incomplete, if they had waited until it was stable and working with the majority of software, then it'd be worthwhile releasing.

OK, n_k; maybe we agree a little more than I previous thought. I apologize for judging you so quickly.

Honestly, based on what I have read about Arch's switch to systemd, your problems seem to be mostly related to the Arch developer's tendency to jump first. In some cases that's a good thing. Arch is known for having bleeding-edge packages, unlike slower-moving-but-more-stable distributions like Debian. If you take a look at the current status of systemd in Debian Wheezy/Sid, its in similar shape. However, unlike Arch, Debian is still shipping sysvinit as the default in Wheezy; systemd will likely make its appearance as default in Jesse.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Each of the devices displayed on this page now has a little volume meter next to it to show if there is audio actively playing. About time.
    • Owing to the nature of Windows feature enablement updates, it was distributed over Windows Update services as a complete system upgrade rather than as an ordinary cumulative update
    • Microsoft confirms Windows 11 26H2, urges IT admins to prepare for release by Usama Jawad Windows 11 typically follows an annual update cycle, but Microsoft recently broke that tradition a bit by releasing a "26H1" version in the first half of this year as a "scoped" build for select new silicon PCs only. This version was not available for customers using 24H2 and 25H2 builds, as Microsoft is busy preparing version 26H2 for them, confirmed officially for the first time. In a Windows IT Pro blog, Microsoft has urged IT admins to prepare for the upcoming release of Windows 11 version 26H2. The company has confirmed that this will be a small enablement package (eKB) that will simply light up certain disabled features that are already present in the operating system's code base. This means that the "refined" Windows update and deployment experience will be simpler and quicker, with minimal disruptions, as the feature update will simply toggle a few flags rather than performing a complete replacement. Microsoft has explained that this is all possible because the standard Windows 11 releases share the same servicing branch and hence, the same source code. However, this also means that Windows 11 26H1 users won't be able to upgrade to 26H2 as that is a different branch, but this is something we have known for a while now. Similar to previous annual feature updates, Windows 11 26H2 will offer the following support cycles: 24 months of support for Home, Pro, Pro EDU, and Pro for Workstations editions 36 months of support for Enterprise, Education, IoT Enterprise, and Enterprise Multi-session editions Microsoft has not confirmed a concrete release date for Windows 11 26H2, but noted that it is "coming soon". If we go by the ongoing release cadence, we can expect it to begin rolling out in early October 2026. As such, IT admins have been encouraged to begin validating Windows Insider releases in the Experimental Channel, plan rollout rings, and strategize the utilization of their existing deployment tools.
    • Windows 11 gets new audio improvements in the latest builds by Taras Buria Today's Experimental builds (26H1 and Future Platforms, formerly Canary) pack several audio-related improvements. If your device is enrolled in the Experimental Channel (26H1), you can download build 28120.2315, while those in the Future Platforms version have build 29613.1000 to try. Here is what is new in build 29613.1000: [Audio] Following up on our previous improvements, we’re making some more adjustments to Settings > System > Sounds based on your feedback. Namely, we’ve updated the “All sound devices” page so: You now have the ability to change default devices from this page. Each of the devices displayed on this page now has a little volume meter next to it to show if there is audio actively playing. We’ve adjusted the page design slightly so now you can filter whether you’re viewing input or output devices. We’ve added toggles so you can choose if you want to hide or show disabled, disconnected, and unplugged devices on this page. We’ve also updated the input and output audio properties page for devices in Settings to now include jack information for those that need it. And here is the changelog for build 28120.2315: This update includes a small number of minor bug fixes and improvements. [Accessibility] This update improves caption style responsiveness by redrawing captions immediately for caption style changes. If no current caption is visible, a sample caption string is displayed. [Audio] This update improves the reliability of the inbox HD Audio driver. You can find the official release notes for build 28120.2315 here and for build 29613.1000 here.
  • Recent Achievements

    • Collaborator
      ryansurfer98 went up a rank
      Collaborator
    • Week One Done
      Eurosoft10 earned a badge
      Week One Done
    • One Month Later
      Eurosoft10 earned a badge
      One Month Later
    • One Year In
      Skeet Campbell earned a badge
      One Year In
    • One Month Later
      Sharbel earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      576
    2. 2
      +Edouard
      189
    3. 3
      Michael Scrip
      79
    4. 4
      PsYcHoKiLLa
      78
    5. 5
      neufuse
      72
  • Tell a friend

    Love Neowin? Tell a friend!