Grub-probe Error Failed To Get Canonical Path Of /cow
Contents |
communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings grub-install error failed to get canonical path of 'aufs' and policies of this site About Us Learn more about Stack Overflow the
Failed To Get Canonical Path Of Airootfs
company Business Learn more about hiring developers or posting ads with us Ask Ubuntu Questions Tags Users Badges Unanswered grub install failed to get canonical path of airootfs Ask Question _ Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute: Sign up Here's how it works: Anybody can grub-install error failed to get canonical path of airootfs ask a question Anybody can answer The best answers are voted up and rise to the top Cannot update grub with parameters on live USB up vote 24 down vote favorite 5 I have booted from a live USB ("Try Ubuntu"), that also has a persistent option set (I used LiLi to create one) to do some tests for this pcie hotplug
Grub Failed To Get Canonical Path Of Airootfs
issue I'm having. I'm trying to test some boot paramaters (like in this question) by doing this sudo nano /etc/default/grub sudo update-grub The problem is that that last command gives me this: /usr/sbin/grub-probe: error: failed to get canonical path of /cow. It looks like /cow is the file-system that is mounted on /, according to: :~# df Filesystem 1K-blocks Used Available Use% Mounted on /cow 4056896 2840204 1007284 74% / udev 1525912 4 1525908 1% /dev tmpfs 613768 844 612924 1% /run .... Is there a way for me to run update-grub? grub2 12.10 live-usb share|improve this question edited Jul 3 at 13:27 P Smith 440113 asked Oct 28 '12 at 13:53 Nanne 4,51832245 Having this same problem when running update-grub as original poster. When trying to mount /cow, gives error "mount: special device /cow does not exist" Any ideas? –user279868 May 9 '14 at 18:00 This one worked for me: How can I repair grub? (How to get Ubuntu back after installing Windows?) –JJD May 12 '14 at 20:47 Running grub-mkconfig with the proposed command from here showed th
Sign in Pricing Blog Support Search GitHub This repository Watch 37 Star 16 Fork 18 zfsonlinux/grub Code Issues 13 Pull requests 0 Projects 0 Pulse Graphs New issue grub-install failed to get canonical path of overlay GRUB fails to resolve canonical path to device, uses invalid partition and fails cannot find a device for / (is /dev mounted ) to detect zfs #5 Open seletskiy opened this Issue Dec 31, 2013 · 45 comments Projects None yet
Grub Install Error Failed To Get Canonical Path Of Overlay
Labels None yet Milestone No milestone Assignees No one assigned 18 participants seletskiy commented Dec 31, 2013 Let's suppose following scenario: I've want to create zpool that use entire device http://askubuntu.com/questions/207663/cannot-update-grub-with-parameters-on-live-usb /dev/sda: # ls -al /dev/disk/by-id/ata-QEMU_HARDDISK_QM00001 lrwxrwxrwx 1 root root 9 Dec 31 15:46 /dev/disk/by-id/ata-QEMU_HARDDISK_QM00001 -> ../../sda I'm using by-id path to disk while creating zpool: # zpool create zroot /dev/disk/by-id/ata-QEMU_HARDDISK_QM00001 # zpool status pool: zroot state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 ata-QEMU_HARDDISK_QM00001 ONLINE 0 0 0 errors: No known data errors # zfs list https://github.com/zfsonlinux/grub/issues/5 NAME USED AVAIL REFER MOUNTPOINT zroot 110K 3.91G 30K /zroot zroot is mounted into /zroot. So, trying to grub-probe: # grub-probe /zroot grub-probe: error: failed to get canonical path of `/dev/ata-QEMU_HARDDISK_QM00001'. Wut? So, GRUB detected that /zroot is a ZFS (otherwise, how did it know about ata-QEMU stuff?), but if fails to resolve correct path to device. OK, let's try to fix it in a dirty way: # ln -s /dev/sda /dev/ata-QEMU_HARDDISK_QM00001 # grub-probe /zroot grub-probe: error: unknown filesystem. # grub-probe -vv /zroot grub-core/kern/fs.c:56: Detecting zfs... grub-core/osdep/hostdisk.c:319: opening the device `/dev/sda' in open_device() grub-core/fs/zfs/zfs.c:1183: label ok 0 grub-core/fs/zfs/zfs.c:1183: label ok 1 ... grub-core/kern/fs.c:78: zfs detection failed. Didn't work. Hmmm... Looks like grub-probe tries to read from /dev/sda. Take a look: # zdb -l /dev/sda -------------------------------------------- LABEL 0 -------------------------------------------- failed to unpack label 0 -------------------------------------------- LABEL 1 -------------------------------------------- failed to unpack label 1 -------------------------------------------- ... # fdisk -l /dev/sda Device Start End Size Type /dev/sda1 2048 8370175 4G Solaris /usr & Apple ZFS /dev/sda9 8370176 8386559 8M Solaris reserved 1 # zdb -l /dev/sda1 -------------------------------------------- LABEL 0 -------------------------------------------- version: 5000 name: 'zroot' state: 0 txg: 4 pool_guid: 16263322471539432696 hostname: 'archiso' top_guid: 93837196651
Posts: 31 Reinstalling Grub This MIGHT be a simple fix, but I'm hoping to get someone else's opinion before I unleash any more demons on my computer. I'm trying https://bbs.archlinux.org/viewtopic.php?id=201380 to fix GRUB. I'll post some background info to explain exactly http://ubuntuhandbook.org/index.php/2013/11/reinstall-grub-ubuntu-wont-boot/ what has gone wrong:I decided to do the "update" to Windows 10 on my laptop. After it downloaded about 2%, I got the blue screen of death. It rebooted and thankfully Windows still booted up perfectly fine. Still, I decided that I'd had enough of Windows for failed to the time being, so I chose to forget about the Windows 10 update and to go back to trusty Arch instead. But after I tried booting up Arch, I got some nasty error messages. I didn't write them down (and kicking myself for that), but it was something terrible like "/dev/sda does not exist." And then I got failed to get the infamous:Bailing out, you are on your own. Good luck.followed by the BusyBox shell prompt."/dev/sda" is an ssd with Arch on "/dev/sda1" (ext4) and Windows 7 on "/dev/sda2" (ntfs). I haven't done any major updates on Arch in the past couple of days, no kernel updates or anything. Before trying to run the Windows 10 update, I double checked that everything on my Arch partition was working and I backed up my most important files to another drive (thankfully).I had a flash drive of Fedora 22, so I booted that up and ran "fdisk -l" to make sure that my ssd hadn't quit working. The output looked exactly as it should, so I'm guessing that the drive itself still works fine. I thought maybe there was a problem with GRUB, so I tried reinstalling it through the flash drive:sudo mount /dev/sda1 /mnt sudo grub2-install --root-directory=/mnt /dev/sda^ This command reported Installation finished. No errors detected.This method has worked for me before (on Ubuntu, at least), but after booting up, I just get
How to Reinstall Grub When Ubuntu or Linux Mint Won't Boot November 1, 2013 —19 Comments Grub 2, the Ubuntu and Linux Mint's default bootloader typically gets overridden when you install Windows as a dual-boot OS. To make Ubuntu and its derivatives boot again, you need to reinstall (repair/restore) Grub using a bootable Ubuntu/LinuxMint CD or USB. Typically you'll get the following error boot screen: error: no such partition. grub rescue> _ Tutorial Objectives: Reinstall Grub 2 when Ubuntu or Linux Mint won't boot Enjoy! To get started, insert your Ubuntu USB into computer and boot up. When you're in, follow the steps below to reinstall grub 2: 1. Open Gparted Partition Editor from Unity Dash to check out which partition your Ubuntu/Linux Mint system installed. It is usually a EXT4 Partition. In my case, there're 3 Ext4 partitions. We can check the user names on each partition after step 2 by command cd /mnt/ && ls home/ gparted partition editor 2. Press Ctrl+Alt+T on keyboard to open terminal. When it opens, run command below to mount the partition: sudo mount /dev/sda7 /mnt 3. Now reinstall Grub2 via command below: grub-install --root-directory=/mnt /dev/sda If the installation is successful, you will get the similar output: Installation finished. No error reported. 4. Finally update grub boot loader and done! sudo update-grub In Howtos reinstall grub, repair grub, restore grub, Ubuntu 13.10 Ji m I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com Install Gpaste 3.2.2 via PPA... How to Login as