Installing Windows as dual boot on Linux computer

I am currently having my Dell XPS13 with Ubuntu 18.04.2LTS installed, and I am very happy with it (mostly doing dev stuff). Right now I am using a Windows VM whenever I need to use Windows application.

However the amount of applications without Linux support I have to use is growing so I decided to set up a dual boot system.
I installed a dual boot setup based on a Windows machine before and I read that this is the recommended way is to:

  1. Install Windows
  2. Add Ubuntu

So I was wondering what the best way is to realize this setup while keeping everything from my Ubuntu system (files, applications, …).

My thought is that I’d have to completely clone the system and create an .iso and use this one to install Ubuntu instead of the default one.

I just wanna know if any of you have done this before and what your process looked like (before I completely mess up my system).


Or at least I will create a backup so I can restore my Linux enviroment at any time.

Unable to ping to or rdp to KVM windows 7 guest but able to ping to other linux guest centos

Unable to ping to only Windows guest. able to ping to other guest.

HOST os Ubuntu 18.4.2

What i did so far- Tried to change device to virtio,rtl8329,e1000

Internet is working on guest.

Windows 7 guest firewall disabled.

installed virtio driver for windows from -https://launchpad.net/kvm-guest-drivers-windows/+download

https://ubuntuforums.org/showthread.php?t=2308987

from host able to ping to centos guest in same network and host.

Here is network configuration of host.

root@hp-e840-g1:/var/lib/libvirt/dnsmasq# ifconfig  br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet6 fe80::3832:b6ff:fed3:b592  prefixlen 64  scopeid 0x20<link>         ether 3a:32:b6:d3:b5:92  txqueuelen 1000  (Ethernet)         RX packets 0  bytes 0 (0.0 B)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 1272  bytes 213475 (213.4 KB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  br0:avahi: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet 169.254.10.198  netmask 255.255.0.0  broadcast 169.254.255.255         ether 3a:32:b6:d3:b5:92  txqueuelen 1000  (Ethernet)  enp0s25: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500         ether d0:bf:9c:1f:6d:7b  txqueuelen 1000  (Ethernet)         RX packets 0  bytes 0 (0.0 B)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 0  bytes 0 (0.0 B)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0         device interrupt 20  memory 0xd0700000-d0720000    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536         inet 127.0.0.1  netmask 255.0.0.0         inet6 ::1  prefixlen 128  scopeid 0x10<host>         loop  txqueuelen 1000  (Local Loopback)         RX packets 18229  bytes 1627449 (1.6 MB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 18229  bytes 1627449 (1.6 MB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  virbr0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255         ether 52:54:00:f6:8c:87  txqueuelen 1000  (Ethernet)         RX packets 27291  bytes 1676922 (1.6 MB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 21479  bytes 53057319 (53.0 MB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  vnet0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet6 fe80::fc54:ff:fe63:38bc  prefixlen 64  scopeid 0x20<link>         ether fe:54:00:63:38:bc  txqueuelen 1000  (Ethernet)         RX packets 404  bytes 44813 (44.8 KB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 358  bytes 23713 (23.7 KB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  vnet1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet6 fe80::fc54:ff:fe05:1413  prefixlen 64  scopeid 0x20<link>         ether fe:54:00:05:14:13  txqueuelen 1000  (Ethernet)         RX packets 634  bytes 50098 (50.0 KB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 8973  bytes 667052 (667.0 KB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500         inet 172.20.10.5  netmask 255.255.255.240  broadcast 172.20.10.15         inet6 fe80::2064:887d:4812:fd7d  prefixlen 64  scopeid 0x20<link>         ether ac:fd:ce:00:c4:6d  txqueuelen 1000  (Ethernet)         RX packets 105684  bytes 110034160 (110.0 MB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 70214  bytes 9358661 (9.3 MB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0 

any help really appreciated! Thanks

Capturar números em Arquivo e salvar resposta (Linux)

Eu tenho um arquivo com os seguintes dados:

1F 000000000000012MARCIO 2F 000000000000022NILSON 3F 000000000000032WALTER 4F 000000000000042CARLOS 16F 000000000000042MARIA 

Etc.

Eu gostaria de pular os primeiros caracteres e capturar depois do espaço os 14 primeiros números e salvar em um arquivo com a resposta:

00000000000001 00000000000002 00000000000003 00000000000004 00000000000004 

É possível?

How connect mBot Ranger through bluetooth on linux

I got an mBot Ranger and it works fine to program with my Ubuntu 18.4 LTS with the makebot-ide. The problem is that I have to use an USB-cable. Makebot doesn’t support bluetooth for Linux. So I guess that I have to make a bluetooth connection and setup that connection as a com-port somehow.

I can connect though the ubuntu-gui (although it doesn’t for the pincode as the manual for windows says should be there) so the bot is visible. I have tried a few guides to get the com-port, eg /dev/rfcomm0 but I have not been successfull in getting it to work (or exist at all).

Show Blutooth status on menu bar – Linux aqpplication name please?

What is the name of the application which actually shows the Bluetooth devices? I have TWO USB dongle Bluetooth adapters installed and getting conflicting info. Only one USB dongle shows as “paired” ( with what ?) type “Computer”. And it is “off” and cannot be turned “on”.

I can get there thru “Bluetooth Settings” and the window title is “Bluetooth”. I like to bypass the flaky GUI with CLI commands, but need the real app name.