Install Ubuntu 24.04 LTS on Bitlocked Windows Computer
Install Ubuntu Alongside to Windows
Prerequisite:
- Write an ISO image to a memory stick:
- Download Ubuntu MATE iso image
- write to memory stick by means of Balena Etcher (see [1])
- stick memory stick into machine where Ubuntu shall be installed.
My new Lenovo ThinkPad has been delivered with a Bitlocker-enscripted harddisk where a Windows is installed. Ubuntu is not able to resize the Windows partition in this case. Since I did not want to get rid of the Windows installation there is following way to go:
- disable BitLocker (see [2])
- log into Windows
- Control Panel, System and Security, Bitlocker Drive Encryption
- select 'turn off Bitlocker' etc.
- restart so that BIOS menu can be opened:
- Control Panel, System, Recovery: click 'Restart'-button
- press 'Enter' on startup, (F12 did not work ?)
- click 'USB HDD ...'
- install Ubuntu
- if Ubuntu is started from your memory stick it can be easily installed to your hard disk.
- Did full installation along Windows as ~simple installation. The disadvantage is that the whole Ubuntu is installed on one partition, I had preferred home directory separated -> do later)
- after installation check that from Ubuntu BootManager Windows and Ubuntu can be started. (On Windows first restart was a bit awkward...)
Further Installations
- Install over Menu, Administration, App Center:
- Thunderbird
- Brave (When installing Dropbox the 'Ok' button was not properly visible with Firefox so give Brave a chance...)
- Install Dropbox
- see [3]
- Keepass2 (see https://search.brave.com/search?q=ubuntu+install+keepassx&source=desktop&summary=1&conversation=98a77ec41d2b25beaf6054):
- Command line:
- sudo add-apt-repository ppa:ubuntuhandbook1/keepass2
- sudo apt install keepass2
- for Synology-NAS:
- sudo apt install cifs-utils
- sudo apt install nfs-common
Connecting the NAS (maybe see [4] and [5])
- create directories under /media
- extend fstab by:
SynologyDS918:/volume1/Music /media/SynologyDS918Music nfs auto,defaults,user,nofail 0 0 SynologyDS918:/volume1/Pictures /media/SynologyDS918Pictures nfs auto,defaults,user,nofail 0 0 SynologyDS918:/volume1/Data /media/SynologyDS918Data nfs auto,defaults,user,nofail 0 0 SynologyDS918:/volume1/Backups /media/SynologyDS918Backups nfs auto,defaults,user,nofail 0 0
//N3200/music /media/N3200Music cifs username=***,password=***,noperm,iocharset=utf8,vers=1.0 0 0 //N3200/photos /media/N3200Photos cifs username=***,password=***,noperm,iocharset=utf8,vers=1.0 0 0 //N3200/nfsshare /media/N3200Backup cifs username=***,password=***,noperm,iocharset=utf8,vers=1.0 0 0 //N3200/MyDocuments /media/N3200MyDocuments cifs username=***,password=***,noperm,iocharset=utf8,vers=1.0 0 0 //N3200/Feuerwehr /media/N3200Feuerwehr cifs username=***,password=***,noperm,iocharset=utf8,vers=1.0 0 0 //N3200/FwMaterial /media/N3200FwMaterial cifs username=***,password=***,noperm,iocharset=utf8,vers=1.0 0 0
- To reload: mount -a; did not enough -> systemctl daemon-reload
Move home-drive to separate partition
See [6]
- restart with memory stick (try-out) and open Control Panel, Disk-tool; reduce size of Ubuntu partition
- shutdown, remove memory stick and restart again in normal installation (https://www.reddit.com/r/Ubuntu/comments/1eb34h6/how_do_i_resize_the_partition_im_in/?rdt=44668)
- Create new partition for new home (via Disk; ext4, "ubuntuHome")
sudo mkdir /media/home
sudo pluma /etc/fstab
and enterUUID=<UUID as shown in 'Disk'> /media/home ext4 defaults 0 2
systemctl daemon-reload
sudo mount -a
Save on NAS
- copy /home/Documents/<user> to NAS
- copy Thunderbird mails:
- you can export completely: Tools, Export...
- or just copy Locally saved folders: ~/.thunderbird/<xyz>.default/Mail to NAS
- see https://support.mozilla.org/en-US/questions/1359641
- Browser (Chrome):
- Tabs, right mouse click, Bookmark all tabs
- Bookmark Manager, ..., Export Bookmarks
- copy /etc/fstab to NAS
Fetch from NAS
- copy home data
- copy fonts:
/media/SynologyDS918Data/DellLatitudeE6510/usr_share_fonts/truetype$ sudo cp -r corel-fonts/ /usr/share/fonts/truetype/
- copy Thunderbird folders:
/media/SynologyDS918Data/DellLatitudeE6510/pfu/.thunderbird/<xyz>/Mail/LocalFolders/* -> ~/snap/thunderbird/common/.thunderbird/<xyz>/Mail/LocalFolders/*
- copy Banana:
/media/SynologyDS918Data/DellLatitudeE6510/pfu/software/banana9.AppImage -> ~/software
- create entry in menu: right-click on menu, 'Edit Menus' etc and add Banana
- entry license key (now added to KeyPassx
To Be Done
- music tools: listen to & capture from CD
- browser favorites
- browser tabs
- buy:
- Mac CD-ROM (?)
- keyboard & mouse
- Calida shorts?