Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
What do you mean by "run Grub as follows"? I haven't been able to boot Grub by pressing Shift or Esc at startup - it goes directly to Ubuntu.Here is the best way I found to manage this issue:
1- As mentioned above the issue is because of the latest Kernel.
2- Restart Ubuntu and run Grub as follows, restart then click in the window to select it and press shift to boot in the grub menu.
3- select advanced and then choose to boot using an older kernel.
diff -puNr parallels.orig/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.c parallels/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.c
--- parallels.orig/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.c 2018-09-07 13:15:08.000000000 +0000
+++ parallels/prl_fs/SharedFolders/Guest/Linux/prl_fs/super.c 2019-04-02 06:45:15.675125322 +0000
@@ -116,11 +116,11 @@ static int prlfs_remount(struct super_bl
{
int ret = 0;
DPRINTK("ENTER\n");
- if ( (!((*flags) & MS_RDONLY) && PRLFS_SB(sb)->readonly) ||
- ((*flags) & MS_MANDLOCK) )
+ if ( (!((*flags) & SB_RDONLY) && PRLFS_SB(sb)->readonly) ||
+ ((*flags) & SB_MANDLOCK) )
ret = -EINVAL;
- *flags |= MS_SYNCHRONOUS; /* silently don't drop sync flag */
+ *flags |= SB_SYNCHRONOUS; /* silently don't drop sync flag */
DPRINTK("EXIT returning %d\n", ret);
return ret;
}
@@ -270,7 +270,7 @@ static int prlfs_fill_super(struct super
sb->s_maxbytes = MAX_LFS_FILESIZE;
sb->s_blocksize = PAGE_SIZE;
sb->s_blocksize_bits = PAGE_SHIFT;
- sb->s_flags |= MS_NOATIME | MS_SYNCHRONOUS;
+ sb->s_flags |= SB_NOATIME | SB_SYNCHRONOUS;
sb->s_magic = PRLFS_MAGIC;
sb->s_op = &prlfs_super_ops;
PRLFS_ALLOC_SB_INFO(sb);
1. while still under kernel 4.20.16 (or other 4.x.x), mount the virtual Tools CD ISO in Parallels (prl_tools_lin.iso) and copied it into a directory called tools_cd
2. make everything under tools_cd writable (chmod -R +w .)
3. cd into kmods and untar the tools file (tar -zcvpf prl_mod.tar.gz)
4. cd to prl_fs/SharedFolders/Guest/Linux/prl_fs (cd prl_fs/SharedFolders/Guest/Linux/prl_fs)
5. edit super.c by copying/pasting the offending 'MS_' lines shown in the diff and prefacing each with macros to allow rebuilding under the current kernel (note that there are three such sections in the diff above, this is just the first):
#if LINUX_VERSION_CODE < KERNEL_VERSION(5,0,0)
if ( (!((*flags) & MS_RDONLY) && PRLFS_SB(sb)->readonly) ||
((*flags) & MS_MANDLOCK) )
#else
if ( (!((*flags) & SB_RDONLY) && PRLFS_SB(sb)->readonly) ||
((*flags) & SB_MANDLOCK) )
#endif
6. cd back up to the kmods directory and delete the current prl_mod.tar.gz (rm -rf prl_mod.tar.gz)
7. re-tar/gz the edits into a new one (tar -zcvpf prl_mod.tar.gz .)
8. cd up a level (cd ..) and re-run the installer *as an upgrade* (./install). You can also do the Remove, reboot, remember to enter the directory and run the install, but that's a few extra time-consuming steps.
9. when done, reboot the VM back into the same kernel as before, then upgrade the kernel using dnf (or other). In my case I had to remember to comment out the exclude line in /etc/dnf/dnf.conf first. As the new kernel is installed, it should automatically rebuild Tools in the background.
10. Reboot the VM again into the new kernel, everything should work. Can now reset Grub2 to use the first kernel listed (grub2-set-default 0), unmount the Tools image, and delete the tools_cd directory as cleanup, if needed.
Currently running on 5.0.7... Cheers @GalaxyMaster for tracking down the fix.
I just upgraded to test, and unfortunately in 15 I'm not even able to install Parallels Tools through the menu or command line...Does anyone know if Parallels 15 solves this problem (after 5 month)?