Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: grub corrupted after update

  1. #11
    Join Date
    May 2009
    Location
    Liège Walifornia
    Posts
    465

    Default Re: grub corrupted after update

    I already did but was stucked... because grub2-mkconfig failed.

  2. #12
    Join Date
    May 2009
    Location
    Liège Walifornia
    Posts
    465

    Default Re: grub corrupted after update

    rescue system is booting

    got hd2,msdos1 as the set root grub directive took pictures of the screen the computer is far away from this one

  3. #13
    Join Date
    May 2009
    Location
    Liège Walifornia
    Posts
    465

    Default Re: grub corrupted after update

    my messenger name is "hurukan imperial stepper" it may be better

  4. #14
    Join Date
    May 2009
    Location
    Liège Walifornia
    Posts
    465

    Default Re: grub corrupted after update

    map of partitions is:

    hd2 /dev/sdc
    hd3 /dev/sdd
    hd0 /dev/sdb
    hd1 /dev/sda

    I have rarely such issue so I'm not efficient at all to troubleshoot.

    my fstab shows

    /dev/sda6 as /

    fdsik -l shows asterisks at "strangely"

    /dev/sda1 EFI (100 Mo) but the /boot/efi is empty
    /dev/sdc2 Linux

  5. #15
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    14,419
    Blog Entries
    3

    Default Re: grub corrupted after update

    Quote Originally Posted by soundlord View Post
    I have rarely such issue so I'm not efficient at all to troubleshoot.
    I will try to lead you through it.[/QUOTE]
    What's the output from:
    Code:
    grep LOADER_TYPE /etc/sysconfig
    Obviously, you need to change the path depending on where you mounted the root partition.

    And are you using "btrfs" for the root file system?
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  6. #16
    Join Date
    May 2009
    Location
    Liège Walifornia
    Posts
    465

    Default Re: grub corrupted after update

    thank you very much for your "psychic support" ^^
    I was near the nervous break down ^^

    What I did:

    Boot with 15.1 usb stick
    selected rescue system

    mount /dev/sd** (where the system was) /system | mkdir /system
    mount --bind /dev /system/dev
    mount --bind /proc /system/proc
    mount --bind /sys /system/sys

    chroot /system
    grub2-mkconfig -o grub.cfg

    yast -> bootloader -> write generic to mbr
    exit
    reboot

    ...and I can now send my covid19 charts before midnite ^^

  7. #17
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    14,419
    Blog Entries
    3

    Default Re: grub corrupted after update

    Those steps are about right. If you are using "btrfs" then you also need a "mount -a" before the "chroot", though it might work without.

    I think you are saying that your system is now up and running again.
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  8. #18
    Join Date
    May 2009
    Location
    Liège Walifornia
    Posts
    465

    Default Re: grub corrupted after update

    I confirm ^^
    Thank you, I'm suggest to high stress when I can't sleep at night with those temps... thank you very much !!

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •