Ubuntu + Windows 7 - dual partition
December 9, 2018
Windows Ubuntu dual partition chocolatey apt-get
Table of Contents
Long story short, I recently had access to a Dell Studio XPS 8100 with Windows 7 on it. I was told that the computer was not working well and so was allowed to tweak it. The computer was actually working well, so I simply decided to add a partition Ubuntu.
Ubuntu is based on Debian and arguably more beginner-friendly than the latter. Roughly speaking:
|
|
There are a couple of articles online that are opposing these two Linux distributions, which makes no real sense to me. I prefer the reading of this article that explains the technical differences. As I mentioned in a previous post, I am currently working on Debian with GNOME (3.30) and it is very similar to the latest Ubuntu (18.04, Bionic Beaver).
Cleaning up the Windows 7 partition
I took the opportunity to spend some time on Windows 7. What I did first was a checkout of the hardware with the msinfo32
command. Then I installed the package manager chocolatey. To do so, I used PowerShell, version v2.+ was required (see https://chocolatey.org/docs/installation and use $PSVersionTable.PSVersion
to check out the version available). One line of command completes the installation of chocolatey:
|
|
Before installing Ubuntu, I installed a couple of software to experiment chocolatey:
|
|
Note that this is equivalent to:
|
|
Creating a bootable USB stick to install Ubuntu
There are various tutorials online that adress this topic, for instance this one on tutorials.ubuntu.com. I created a bootable USB stick on my Debian machine but before I identified the USB device:
|
|
I unmounted the right device: myusbstick
(last line above) like so:
|
|
Then I created the bootable key with the downloaded desktop image:
|
|
Installing Ubuntu
The final step is straightforward: I plugged the bootable USB stick, rebooted the Dell machine and press F12 to access the BIOS on boot, then booted on the USB device, and finally followed the instructions. Then on the Ubuntu partition I checkout the system:
|
|
During the installation process I was offline and I realized afterwards that I was not able to get the wifi working. So I plugged the computer on the Ethernet and found out that the Broadcom wireless driver was not properly installed. I solved this issue following this answer on Stack Exchange. Then I installed a couple of freeware:
|
|
Below, I used inxi to get details about the hardware:
|
|
and then I installed R packages and some dependencies required for sf:
|
|
I finally I downloaded RStudio and then I was done.
I still have to write a post about my Raspberry Pi setup, hopefully I’ll do so soon. Also, next time I am given carte blanche, I’ll install a Linux distribution quite different: Arch, FreeBSD, Fedora, etc. We shall see!