You are not logged in.
Hello,
I previously had my boot partition seperated on a usb but the usb is broken so now booting my system is obviously not working. I bought a new usb, created a new mount point for it, chrooted into my system from a live usb, updated my fstab to point to the new mount point and tried reinstalling grub onto the new usb with
grub-install --target=i386pc /dev/sdX
which works without errors but grub-mkconfig gives me the following errors...
/usr/bin/grub-probe: error: disk 'lvmid/uuid' not found
And also:
grub-probe: error: cannot find a GRUB drive for /dev/sdxY. Check your device.map
This error points to a usb i dont want to install grub on (i assume its looking for the old usb?)
Also using
mkinitcpio -p linux
gives me errors saying the specified kernels dont exist. And trying to create an image with the "-g" switch leads to an error saying
lib/modules/4.6.3-1-ARCH is not a valid kernel module directory.
I just need to know what steps i need to take in order to make my new usb function like the old one did. But i dont have access to my old /boot files because as i said that usb is no longer working.
If its relevant, but i dont think it is, my harddrive is fully encrypted.
=====Solved?=====
I fixed this by mounting my new usb on /mnt/boot, chrooting into my system and reinstalling linux
pacman -S linux
then redoing the grub install steps.
now i am able to boot fine, but running
grub-mkconfig -o /boot/grub/grub.cfg
still gives me an error:
/usr/bin/grub-probe: error: disk `lvmid/xxxxxx/xxxxxx' not found.
where "x" would be uuid's. this error doesnt prevent grub-mkconfig from working but I'd still like to know how I can fix this?
Last edited by MtnDewMe (2016-08-17 15:26:45)
Offline
You need to reinstall grub and linux, with your new boot partition mounted on /boot.
After reinstalling grub and linux, install grub mbr and make grub configuration as usual.
Offline
tried reinstalling grub onto the new usb with
grub-install --target=i386pc /dev/sdX
/dev/sdx or the actual letter of the device label?
You might also insert "--recheck" in your command.
Last edited by philo (2016-08-17 09:21:07)
Offline
You need to reinstall grub and linux, with your new boot partition mounted on /boot.
After reinstalling grub and linux, install grub mbr and make grub configuration as usual.
Thank you, reinstalling linux led to the steps working afterwards.
I updated OP to show that, but I still get an error during grub-mkconfig that suggests some part of grub is looking for an old uuid?
Offline