-
Notifications
You must be signed in to change notification settings - Fork 832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grub rootfs #1965
Comments
Grub is not going to work bc there isnt any raw device support atm. |
Relatedly, grub doesn't need to work, because WSL doesn't actually boot :-) It would be nice if package installations didn't fail as a result of this. |
@aseering Yes it would :) |
WSL doesnot actually boot,may be you can just uninstall grub to avoid these errors. |
I am not sure how That question notwithstanding, an |
Is there a workaround for the "failed to get canonical path of rootfs" error? |
@josephby
|
@lsytj0413 That worked for me, thanks! |
This issue tracker is sort of by-design, because grub is just n/a on WSL. That said, the user experience for installing packages (mostly package dependencies) that think they need |
|
i have run this command, but not working.
how could i solve |
@jon-zhang I also got the error
|
I ended up using
|
Most likely solved by WSL2 |
@gpotter2 I'm running Ubuntu 20.04 on WSL2 and receiving a similar issue (albeit I migrated it from WSL1). Not re-opening, just noting. Will try removing grub-pc. |
Any missing kernel syscall surface is now there. There's a block device ( Someone super motivated could look at the exact details of the fail in the postinstall script and make the script (and possibly |
Hey, I really though that error would have been reported somewhere but i can't find a dupplicate... (maybe i'm just blind ?)
ver
at a Windows Command Prompt)Microsoft Windows [version 10.0.16176]
sudo apt-get install linux-generic
In tons of cases, during installation processes, the error:
grub-probe error failed to get canonical path of rootfs
appears, especially during linux core upgrades.
Stack trace:
That simply makes the install fail.
The text was updated successfully, but these errors were encountered: