Results 1 to 5 of 5

Thread: grub2 trying to mount non-existent drive

  1. #1
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,659

    Default grub2 trying to mount non-existent drive

    I removed a secondary drive from my box and now grub2 spends 1.5 minutes trying to mount it during boot-up What is the simplest way to avoid this?

    Thanks in advance.

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,287

    Default Re: grub2 trying to mount non-existent drive

    Remove it from /etc/fstab

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,775

    Default Re: grub2 trying to mount non-existent drive

    I doubt that Grub looks in /etc/fstab of any of the systems it may want to boot from. I doubt even that Grub "mounts" a file system.

    It may try to use partitions to boot from when they are mentioned in Grub's configuration. Thus first check that config.
    Henk van Velden

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,673
    Blog Entries
    3

    Default Re: grub2 trying to mount non-existent drive

    Quote Originally Posted by ionmich View Post
    I removed a secondary drive from my box and now grub2 spends 1.5 minutes trying to mount it during boot-up What is the simplest way to avoid this?
    It's probably not grub doing that.

    Check for any references to that drive. Look in "/etc/fstab" and in "/etc/default/grub". Maybe also in "/etc/crypttab" if you are using crypto.

    If you find any references, remove them. And, in that case, run "mkinitrd" to rebuild the "initrd". And maybe run
    Code:
    grub2-mkconfig -o /boot/grub2/grub.cfg
    to regenerate the grub configuration.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  5. #5
    Join Date
    Aug 2008
    Location
    Mexico and Sweden
    Posts
    1,659

    Default Re: grub2 trying to mount non-existent drive

    Problem solved. The "resume" instruction in the boot loader was set as "resume=/dev/sdb1 splash=silent quiet showopts" while sdb1 no longer existed. So it was checking for a non existent drive which resulted in 90 seconds of delay. Once changed to sda1 everything returned to normal.

    Thanks for all the advice.

Posting Permissions

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