[SOLVED] "`/boot/grub' is not readable by GRUB on boot" & "cannot find a device for /"
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I find it strange that grub could install once, but any subsequent grub-install gives the above errors.
Also, the first time I installed grub was when I was booted from the install disk, yet booting from that disk again and issuing grub-install still throws the above errors.
Also, I'm installing grub on a small (~5 MB) BIOS boot partition.
If your following that Doc make sure you have the boot partition mounted to /mnt/boot
or
boot the installation on the drive from the install disk as per the instructions at the boot screen of the install disk and once booted into your installation mount the boot partition to /boot if not mounted then rerun grub.
It's difficult to read your mind when you leave out details such as...
Quote:
I find it strange that grub could install once, but any subsequent grub-install gives the above errors.
Also, the first time I installed grub was when I was booted from the install disk, yet booting from that disk again and issuing grub-install still throws the above errors.
Also, I'm installing grub on a small (~5 MB) BIOS boot partition.
It's difficult to read your mind when you leave out details such as...
...so do better next time in your initial post.
I'm not sure what else there is to say. I was able to successfully run install-grub once, but every subsequent time running it gives the "`/boot/grub' is not readable by GRUB on boot" error. Why can I only successfully install grub once?
so I will ask again, is the bios boot partition mounted to /boot on the root file system? The link you posted above tells how to install grub during installation. It tells me nothing about if/or where the bios boot partition is mounted. What is the ouput of
/dev/sda1 on / type btrfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev/shm type tmpfs (rw)
gvfsd-fuse on /home/geremia/.gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=geremia)
Quote:
Originally Posted by colorpurple21859
also the output of
Code:
fdisk -l
Code:
# gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.10
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 89ABC430-B22D-4202-BD09-A19804955C61
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 8-sector boundaries
Total free space is 0 sectors (0 bytes)
Number Start (sector) End (sector) Size Code Name
1 2048 1953525134 931.5 GiB 8300
2 34 2047 1007.0 KiB EF02
after booting or chrooting into the slackware installation at the command prompt issue
Code:
mount /dev/sda2 /boot/efi
to mount the boot bios partition. then run grub-install or grub-mkconfig. This is assuming your booting in efi mode. If you still have errors, booting in bios mode or no /boot/efi, then mount the boot bios partition to /boot.
Code:
ls /boot
will list what is in /boot. If you just want to update the grub.cfg file then just run grub_mkconfig after mounting the boot bios partition. if After running grub-mkconfig you boot menu doesn't change, the grub.cfg file may be in the wrong location if booting in efi mode.
Last edited by colorpurple21859; 12-31-2014 at 06:40 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.