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

    • >defenders of AI-generated artworks often claim that AI is just a tool It is not. It is the inhuman artist replacement. The human writing the prompt is the employer/manager requesting the work product of the artist -- a supervisory/descriptive job that doesn't carry with it any rights to the copyright of that work product at all. And since AI is not human itself, it can't gain copyright for anything it is asked to regurgitate or hallucinate, so it can't transfer that copyright to the employer/manager/human who asked for the output. This was all legally reaffirmed last year. So, no, while there are AI tools, AI slopware generation is NOT a "tool" in the legal definition of that word.
    • As long as i get to play GTA 6 before it ends 😂😂
    • Google is opening the world's first AI museum in Los Angeles by Ivan Jenic Image via: Google Ever since AI image generators went mainstream, the debate over whether AI-generated art is real art hasn't let up. Those who don’t consider AI to be art say that if a machine does the creating and anyone can prompt it, there’s no skill involved, and therefore no art is produced. The counter-argument is equally persistent, as defenders of AI-generated artworks often claim that AI is just a tool, and that every major technological breakthrough, like the camera or the computer, was met with the same skepticism before eventually being accepted as a legitimate creative medium. Google’s position in this debate is clear. Which is no surprise, as the company is investing billions in AI infrastructure. And now, in efforts to encourage people to use its AI even more, Google is opening Dataland on June 20, which it's calling the world's first AI arts museum. Located inside The Grand LA, a Frank Gehry-designed building in Los Angeles, the museum spans 25,000 square feet. The museum is built around a collaboration with media artist Refik Anadol, who has worked with Google since 2016. The inaugural exhibition is called Machine Dreams: Rainforest, and is powered by an AI model trained on “an extensive dataset of the natural world.” It generates 1.2 billion pixels of visuals in real time and reacts to visitors dynamically. The space also generates soundscapes, real-time emotion sensing, and algorithmically produced scents. Image via: Refik Anadol Studio / Google Google says that the museum is powered by its Gemini models, which run on Google Cloud. So, everything is generated inside one of Google’s AI data centers and is streamed to the museum. Alongside the museum opening, Google Arts & Culture is funding an AI Artist Residency, giving four artists $25,000 grants each, along with mentorship from Refik Anadol Studio and access to Google's machine learning tools. Their work will be shown at Dataland and on the Google Arts & Culture website later this year. Google’s AI museum will undoubtedly initiate a fired-up debate on social media, and we can’t wait to see the first reactions. Via: Smithsonian Magazine
    • Calling GTA 6 overhyped crap doesn’t make you edgy, it just makes you sound like someone who hasn’t enjoyed anything since the PS2 era.
    • I’m not arguing whether Rockstar likes money. Obviously, they do, they’re a business. I’m saying this isn’t new. They’ve always launched console first. This is just how Rockstar operates.
  • Popular Contributors

    1. 1
      +primortal
      570
    2. 2
      +Edouard
      178
    3. 3
      PsYcHoKiLLa
      74
    4. 4
      Michael Scrip
      68
    5. 5
      neufuse
      64
  • Tell a friend

    Love Neowin? Tell a friend!