Install Ubuntu Desktop
Download Ubuntu
Create a live USB
- Ref
- Download Universal USB Installer
Creating the bootable USB
- Full format the USB drive (not quick format)
Next auto screens
Test Ubuntu in Live mode
- At boot time, press F2 or F10 or F12 (depending upon your system) to access boot menu.
- choose to boot from USB or removable media (by moving the USB up in the boot order)
- Restart computer & choose "Try Ubuntu without installing"
- Play with ubuntu, can install ubuntu from desktop command file also "install ubuntu -> Normal installation"..so on
Install Ubuntu
Restart computer & choose "install Ubuntu"
Good UI experience like windows
- Choose language like "English"
- Keyboard layout "English (US)"
- Connect to Wifi
- Choose Normal Installation & "Download updates while installing"
- Choose "Erase Disk & Install Ubuntu" & "Use LVM(Logical Volume Management)"
- Note : If dual OS is needed, choose "Install Ubuntu alongside Existing OS"
- Set up Login User & Password
Partition
Mount | Format | size | remarks |
---|---|---|---|
swap | size of RAM | normally 2*ram size (extra RAM) | |
/boot | ext4 | 1GB | |
/boot/efi | firmware mode automatic | ||
/home | ext4 | custom | optional user space |
/ | ext4 | remaining space | min 15GB , OS |
Note : File System : FAT32 (vs) NTFS (vs) EXT4
Image references
Mini PC Ubuntu
- Consider Lenovo Think Center M tiny series
- (F1) Enter BIOS settings
- (F12) Choose boot priority option at runtime
Issue : Black screen while installation
- Black screen is displayed before starting actual installation
Solution
(F1) Enter BIOS settings
Change the boot mode from UEFI to Auto
- In Lenovo,
- CMS (Compatibility mode) = enabled
- boot mode = auto (so that both UEFI & legacy supported)
- boot priority = legacy (by default boot in to legacy) //for us Ubuntu
- Above setting should explicitly make "Secure boot disabled" else make manually
- In Lenovo,
To install from USB, On Restart, (F12) Choose boot priority option (pen drive) with Legacy suffix
- Before choosing "install ubuntu" in grub options, edit the option by tab or e (check suggested help).
- In the command end, replace the words "quiet splash" with "nomodeset", press enter/ F10 (check suggested)
Now actual installation screen is visible Other info
Issue : Black screen while restart/ login
- Renter into the system by TryUbuntuWithoutInstalling (by nomodeset style), go to drive where OS is installed then change following
- In file '/etc/default/grub'
- Download boot repair to fix grub
click on Recommended Repair
(After installation recheck boot priority) By default enters in to Legacy (Ubuntu) OS after boot (as per boot priority), use F12 to switch between windows/ Ubuntu..etc
Screen resolution issue
- In file '/etc/default/grub'
Switch command line
ctrl + alt + f3 -> to switch command line ctrl + alt + f2 -> to switch UI back
Sound drivers missing
//realtek audio drivers
Check is sound device identified & alsa drivers used for it
- Reinstall alsa drivers & restart machine
- Lenovo specific
- install alsa mixer & check if any device muted in UI
Note : other packages like alsa-tools-gui, linux-sound-base, alsa-base, alsa-utils
Mini PC Screen Flickering
Disable linux frame buffer
Determine if framebuffer is being used
- In /etc/default/grub file, add 'vga=normal nofb nomodeset video=vesafb:off i915.modeset=0'
Xorg driver set up
- (step1) Set intel driver
//add the following content in the new file & restart
restart machine & check
(step2) if step1 doesn't work, do following also
restart machine & check
If we check video graphics driver, it should use some driver for display like following
Note: vesa/ intel driver must be used for Display
- (step3) if step2 doesn't work, do following
- (Optional)If above option doesn't fix after restart then do following too
- open terminal and run the following
//add the following content in the new file
Note : normally 60 HZ refresh rate is good enough, but identify the value by typing 'xrandr' in bash
Press escape to see to grub mode options during boot (to see grub by default change settings in /etc/default/grub ). Type following command to see different supported resolutions