Search results

  1. J

    dist-upgrade broke GRUB... I think?

    For anyone that finds this thread in future, all I did was this: 1. Work out which partitions are supposed to be part of your RAID. I did this with # cat /proc/partitions, and looking at which partitions were my 2.9TB ones. For me, this was sda2, sdb2, sdd2, and sde2. sdc was my boot USB. 2...
  2. J

    dist-upgrade broke GRUB... I think?

    So! My RAID rebuilt, and... the system booted! Success!
  3. J

    dist-upgrade broke GRUB... I think?

    Hey guys, thanks for coming in. The system was live and working, yes. It's been a media server and other things for about a year. I realised that I had a degraded RAID array - this hasn't happened to me before, and this is my first RAID, so I didn't see the "activated with 3 of 4 devices" as a...
  4. J

    dist-upgrade broke GRUB... I think?

    Hey Wizard, Thanks for the link, and apologies for the delayed reply. Life gets busy sometimes, eh? Anyway, I attempted to install grub onto the RAID, as that last link seems to suggest, but no dice, unfortunately. I've attached my commands run and their output, for reference, and the output of...
  5. J

    dist-upgrade broke GRUB... I think?

    Hey Wizard, Christmas was good, how about yours? I ate about 3x my weight in food... and I'm not a light man! I do want to try that, but can you please clarify what's meant by "root of the RAID"? Do you mean my slash mount, under LVM? Or the partition that's in the RAID, i.e. sd{a,b,c,d}2? I'm...
  6. J

    dist-upgrade broke GRUB... I think?

    More progress, I've figured out how to use the GRUB prompt, a bit, haha. I ran the following and got the invalid magic number error. set root=(lvm/vg_raid5-lv_slash) set prefix=(lvm/vg_raid5-lv_slash)/boot/grub linux /vmlinuz error: invalid magic number. I've googled this a bit but most of...
  7. J

    dist-upgrade broke GRUB... I think?

    So, some kind of progress. I re-ran through those steps as I feared that last time I'd done update-grub, not update-grub2. Here's the output I got (included the last two grub-install commands, for reference. Should I not be doing a grub-install /dev/sdd1? That would make sense to me but I'm...
  8. J

    dist-upgrade broke GRUB... I think?

    Doesn't look like my fstab is configured to use UUID; it's just mounting as per the LVM mapper path: root@ubuntu:/mnt/etc# cat fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more...
  9. J

    dist-upgrade broke GRUB... I think?

    Hm, that's possible; maybe the partitions aren't auto-mounting, so grub can't find anything to load. I'll check that out when I get home. Cheers mate, Benjamin.
  10. J

    dist-upgrade broke GRUB... I think?

    Well, I was able to follow those instructions, so that's good. Unfortunately, no dice; I still boot to "error: invalid arch-independent ELF magic." I note that those instructions advise installing grub onto /dev/sdX, not onto a partition. But, in my case of BIOS partitions at the start of each...
  11. J

    dist-upgrade broke GRUB... I think?

    That looks exactly like the instructions I need! I've seen a few places were that exact document are referenced, but I've only found broken links etc. to it. Thanks! I'll update after I give that a go :)
  12. J

    dist-upgrade broke GRUB... I think?

    Well, my sever crashed, and GRUB is indeed broken. I now get this prompt on boot: error: invalid arch-independent ELF magic. Entering rescue mode... grub rescue> I've booted to a Live CD and attempted to use the boot-repair tool, which it said was successful, but my boot still drops me at...
  13. J

    dist-upgrade broke GRUB... I think?

    Thanks Wizard, I am indeed a fellow Australian! Sorry for posting in the wrong subforum, and thanks for moving the thread, and pinging folks that might help :) Cheers, Benjamin.
  14. J

    dist-upgrade broke GRUB... I think?

    Hi all, I've just done an apt-get dist-upgrade on my Debian 9.6 server, and during the process, it attempted to update GRUB. This failed as it could not find the disk when it attempted to install. I told it not to install GRUB, thinking a simple grub-install /dev/sda1 would work after the...
Top