Error Cannot Find A Grub Drive For
Contents |
Status Importance Assigned to Milestone grub2 (Ubuntu) Edit Expired Undecided Unassigned Edit You need grub install error cannot find efi to log in to change this bug's status. Affecting: grub2 grub error cannot find efi directory (Ubuntu) Filed here by: Vitaliy Kulikov When: 2012-10-22 Completed: 2013-01-08 Target Distribution Baltix BOSS Juju Charms grub probe error cannot find a device for Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance Expired
Cannot Find A Grub Drive For /dev/sda1
Undecided Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description i have STRIPE in bios (fake RAID0). was working fine on 12.04. but, during upgrade to 12.10 ... here is output. $ cannot find grub drive check device map sudo update-grub Generating grub.cfg ... Found linux image: /boot/vmlinuz-3.5.0-17-generic Found initrd image: /boot/initrd.img-3.5.0-17-generic /usr/sbin/grub-probe: error: cannot find a GRUB drive for . Check your device.map. /usr/sbin/grub-probe: error: cannot find a GRUB drive for . Check your device.map. /usr/sbin/grub-probe: error: cannot find a GRUB drive for . Check your device.map. Found linux image: /boot/vmlinuz-3.2.0-33-generic Found initrd image: /boot/initrd.img-3.2.0-33-generic /usr/sbin/grub-probe: error: cannot find a GRUB drive for . Check your device.map. /usr/sbin/grub-probe: error: cannot find a GRUB drive for . Check your device.map. Found linux image: /boot/vmlinuz-3.2.0-32-generic Found initrd image: /boot/initrd.img-3.2.0-32-generic /usr/sbin/grub-probe: error: cannot find a GRUB drive for . Check your device.map. /usr/sbin/grub-probe: error: cannot find a GRUB drive for . Check your device.map. Found linux image: /boot/vmlinuz-3.2.0-31-generic Found initrd image: /boot/initrd.img-3.2.0-31-generic /usr/sbin/grub-probe: error: cannot find a GRUB drive for . Check your device.map. /usr/sbin/grub-probe: error: cannot find a GRUB drive for . Check your device.map. /usr/sbin/grub-probe: error: cannot find a GRUB drive for .
sudo /usr/sbin/grub-mkconfigI had to add an entry for the new drive in /boot/grub/device.map
sudo vi /boot/grub/device.mapI added the second device.map grub line;
(hd0) /dev/sdaI then regenerated the grub config
(hd1) /dev/sdb
sudo /usr/sbin/grub-mkconfigFinally, I
Grub Install Error Cannot Find A Grub Drive For Dev Sdb1 Check Your Device Map
updated grub with the new config
sudo update-grub2Note: Initially, I failed to update grub with the new
Ubuntu Grub Device Map
config and received another error "Invalid signature" when trying to boot Windows off the second drive. Posted by Brett at 10:48 am Email ThisBlogThis!Share to TwitterShare to FacebookShare https://bugs.launchpad.net/bugs/1069856 to Pinterest Labels: grub2, karmic 2 comments: jaydro said... Thanks--this fixed my problem! 27 April 2010 at 6:09 am Anonymous said... This commande is not valid :sudo update-grub2but this one issudo update-grub 3 August 2013 at 5:49 am Post a Comment Newer Post Older Post Home Subscribe to: Post Comments (Atom) Total Pageviews Search This http://tuxnetworks.blogspot.com/2010/01/grub-probe-error-cannot-find-grub-drive.html Blog Follow by Email Popular Posts HOWTO: SAMBA + LDAP on 10.04 Lucid Part 1 Wow, it has taken me weeks to get this to the point that it seems to be working. The official documentation is horribly broken, but I have... HOWTO: LDAP Client on 10.04 Lucid Lynx This is essentially the same as my previous Hardy Heron LDAP howto but with some steps removed. Rather than edit the old article I thought ... HOWTO: LDAP Server on 10.04 Lucid Lynx In my previous LDAP server howto we used 8.04 Hardy Heron. Things have changed quite a bit since then, so I have updated my procedure. Most... grub-probe: error: Cannot find a GRUB drive for /dev/sdb1 I got this error; grub-probe: error: Cannot find a GRUB drive for /dev/sdb1 after adding a drive to my laptop and running sudo /usr/sbin/g... HOWTO: phpLDAPadmin on 10.04 Lucid Lynx PLATFORM: * Ubuntu Server 10.04 LTS (Lucid) PREREQUISITES: * A vanilla Ubuntu 10.04 server install. *
testing on a multi-device btrfs volume. Grub didn't https://velenux.wordpress.com/2014/02/24/grub-probe-error-cannot-find-a-grub-drive-for-devsda2/ get installed and in console I had this error: # update-grub grub-probe: error: cannot find a GRUB drive for /dev/sda2 /dev/sdb2. Check your device.map http://www.adminsehow.com/2011/09/xen-pygrub-warning-grub-probe-cant-find-drive-for-devxvda1/ Turns out, it's a bug in the script. I fixed it "on the fly" opening /usr/share/grub/grub-mkconfig_lib and searching for "uses_abstraction", changing the line cannot find from: abstraction="`"$grub_probe" --device "${device}" --target=abstraction`" to abstraction="`"$grub_probe" --device ${device} --target=abstraction`" Condividi:Click to email (Opens in new window)Share on Facebook (Opens in new window)Click to share on Google+ (Opens in new window)Click to share on Twitter (Opens in new window)Click to share on Reddit (Opens in new error cannot find window)Like this:Like Loading... Related This entry was posted in linux, tech, tips and tagged btrfs, debian, drive, grub, grub-probe by Gilberto Ficara. Bookmark the permalink. Leave a Reply Cancel reply Enter your comment here... Fill in your details below or click an icon to log in: Email (required) (Address never made public) Name (required) Website You are commenting using your WordPress.com account. (LogOut/Change) You are commenting using your Twitter account. (LogOut/Change) You are commenting using your Facebook account. (LogOut/Change) You are commenting using your Google+ account. (LogOut/Change) Cancel Connecting to %s Notify me of new comments via email. Blog at WordPress.com. Send to Email Address Your Name Your Email Address Cancel Post was not sent - check your email addresses! Email check failed, please try again Sorry, your blog cannot share posts by email. %d bloggers like this:
following while doing "apt-get upgrade" on Debian Squeeze : Setting up linux-image-2.6.32-5-amd64 (2.6.32-35squeeze1) ... Running depmod. Running update-initramfs. update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64 Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 Searching for GRUB installation directory ... found: /boot/grub warning: grub-probe can't find drive for /dev/xvda1. grub-probe: error: cannot find a GRUB drive for /dev/xvda1. Check your device.map. run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1 Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-2.6.32-5-amd64.postinst line 799, line 2. dpkg: error processing linux-image-2.6.32-5-amd64 (--configure): subprocess installed post-installation script returned error exit status 2 The solution is : Run… echo '(hd0) /dev/xvda' > /boot/grub/device.map mknod /dev/xvda b 202 0 Edit /usr/sbin/update-grub : Change… find_device () { if ! test -e ${device_map} ; then echo quit | grub --batch --no-floppy --device-map=${device_map} > /dev/null fi grub-probe --device-map=${device_map} -t device $1 2> /dev/null } to… find_device () { if ! test -e ${device_map} ; then echo quit | grub --batch --no-floppy --device-map=${device_map} > /dev/null fi #grub-probe --device-map=${device_map} -t device $1 2> /dev/null echo /dev/xvda } Run… update-grub 0 sed -i "s/xvda/xvda1/g" /boot/grub/menu.lst Everything should be fixed now. References : http://www.sysadmintalk.net/forums/Thread-PyGrub-grub-probe-can-t-find-drive-for-dev-xvda1-error-Debian-Squeeze http://lists.bitfolk.com/lurker/message/20080529.142153.954fedf4.el.html Comments (1) James Field Thanks for this - I didnt understand it, but you fixed my issue 🙂 Categories: Andro