7

I am running Ubuntu 16.04 in a VM, and want to switch from the linux-generic kernel to the linux-virtual kernel. What are the commands to run? I have installed linux-virtual...

apt-get install linux-virtual

Whats next?

0

2 Answers 2

7

No need to install linux-virtual anymore because it has the same dependencies as linux-generic except the package linux-firmware (compare these: http://packages.ubuntu.com/xenial/linux-virtual, http://packages.ubuntu.com/xenial/linux-generic). Also, see the answer here linux-image-virtual packages empty in 14.04 trusty?. But if you want to use it so that you have less packages installed then do this:

  • sudo apt-get install linux-virtual (you've already done that)
  • sudo apt-get autoremove --purge linux-generic
  • sudo apt-get remove --purge linux-firmware
  • sudo update-grub

The main packages linux-image-VERSION-generic and linux-headers-VERSION-generic will be the same.

3

Depends on which host you are running your VM, you should maybe folow this MS article for Hyper-V: https://technet.microsoft.com/en-us/library/dn531029.aspx

This enables the possibility to generate an VSS-Snapshot for the Backupsoftware.

Most important are these packages:

apt-get install linux-tools-virtual linux-cloud-tools-virtual
2
  • This solved the replications problem!
    – Yash
    Commented Mar 15, 2019 at 20:12
  • Please run after installing: update-initramfs -u
    – Yash
    Commented Mar 20, 2019 at 13:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .