Results 1 to 10 of 10

Thread: GRUB2 doesn't read "boot" directory with different configuration file (in /boot/grub)

  1. #1
    Join Date
    Oct 2012
    Beans
    9

    Exclamation GRUB2 doesn't read "boot" directory with different configuration file (in /boot/grub)

    Excuse me, my English is not good enough.
    I get "file not found" message and when use the ls command:
    grub rescue> ls /boot

    nothing is displayed.
    Other variant of command display:
    grub rescue> ls /
    ./ ../ /boot /folder
    grub rescue> ls /folder
    ./ ../ readme
    And command set display:
    grub rescue> set
    prefix=(hd0,msdos2)/boot/grub
    root=(hd0,msdos2)

    Linux command display:
    ls -l /
    drwxr-xr-x 6 root root 4096 date-time boot
    drwxr-xr-x 2 root root 4096 date-time folder
    ls -l /boot
    drwxr-xr-x 3 root root 8192 date-time grub
    other files and directories

    Boot flag was activated on partition ext2.
    GRUB installation passed without errors.

  2. #2
    Join Date
    Oct 2012
    Beans
    9

    Re: GRUB2 doesn't read "boot" directory with different configuration file (in /boot/g

    Additional information.
    I installed GRUB2 to the MBR with help of commands:
    sudo mount /dev/sdb2 /mnt
    sudo grub-install --root-directory=/mnt /dev/sdb

  3. #3
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,193
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: GRUB2 doesn't read "boot" directory with different configuration file (in /boot/g

    HomoHuman; Hi ! Welcome to the forum.

    Not knowing your system configuration, I am not able to give direct advise.

    These links will provide the needed instruction to repair/install grub properly.
    https://help.ubuntu.com/community/Grub2
    http://howtoubuntu.org/how-to-repair...buntu-live-cd/
    https://help.ubuntu.com/community/Gr...nd_Rescue_Mode
    https://help.ubuntu.com/community/Grub2/Troubleshooting

    Post back as/if additional assistance is required.
    kind regards <==BDQ

  4. #4
    Join Date
    Oct 2012
    Beans
    9

    Re: GRUB2 doesn't read "boot" directory with different configuration file (in /boot/g

    My system configuration:
    Operational system: Kubuntu 11.10;
    Сentral processing unit: Intel Pentium Dual CPU T2390 1.86GHz;
    Memory: 2 GB;
    Video card: NVIDIA GeForce 8400M GS

    My BIOS make it possible to load kubuntu-11.10-desktop-amd64 from a USB flash drive.

    GRUB2 don't work on my external hard drive (sdb).

  5. #5
    Join Date
    Oct 2012
    Beans
    9

    Re: GRUB2 doesn't read "boot" directory with different configuration file (in /boot/g

    All links exept http://howtoubuntu.org/how-to-repair...buntu-live-cd/ I has tried.
    I cannot use "insmod" and other commands because GRUB2 do not find any files and directories in /boot.

  6. #6
    Join Date
    Oct 2012
    Beans
    9

    Re: GRUB2 doesn't read "boot" directory with different configuration file (in /boot/g

    Please, answer me why I get:
    chroot: failed to run command `/bin/bash': No such file or directory
    when enter "sudo chroot /mnt".

  7. #7
    Join Date
    Oct 2009
    Location
    Elgin, IL USA
    Beans
    3,363
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: GRUB2 doesn't read "boot" directory with different configuration file (in /boot/g

    Some computers just have a problem booting from large external drives, but I never figured out why. For example, my Dell desktop PC from 2010 boots Linux fine at the far end of its 1 TB internal drive (near 900 GB out), boots fine from 160 GB USB drive, but cannot boot from 500 GB external drive (falls to grub rescue prompt). Even if I boot complete grub on internal drive and go to regular grub prompt (instead of rescue), it can see the root of the external drive and into boot, but not into boot/grub.

    The same 500 GB USB drives boot Linux fine on older Dell and Toshiba laptops from 2006, so there is nothing wrong with grub or Ubuntu installation on those drives.
    i5 650 3.2 GHz upgraded to i7 870, 16 GB 1333 RAM, nvidia GTX 1060, 32" 1080p & assorted older computers

  8. #8
    Join Date
    Oct 2012
    Beans
    9

    Re: GRUB2 doesn't read "boot" directory with different configuration file (in /boot/g

    Best thanks, efflandt.

  9. #9
    Join Date
    Oct 2012
    Beans
    1

    Thumbs down Re: GRUB2 doesn't read "boot" directory with different configuration file (in /boot/g

    Quote Originally Posted by efflandt View Post
    Some computers just have a problem booting from large external drives,
    Yup, creating a 3 GiB partition in the beginning solved this for me as well
    Last edited by DusteDdk; October 9th, 2012 at 02:49 PM.

  10. #10
    Join Date
    Oct 2012
    Beans
    9

    Re: GRUB2 doesn't read "boot" directory with different configuration file (in /boot/g

    I installed Linux on external hard disk from live CD/live USB successfully with insignificant errors.
    My cfg-files (hand-made and automatically made) look differently.

Bookmarks

Posting Permissions

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