The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 64β€…    Votes:  2β€…
Tags: 16.04   server   grub2   system-installation  
Link: πŸ” See Original Answer on Ask Ubuntu ⧉ πŸ”—

URL: https://askubuntu.com/q/854716
Title: Do I need to remove Grub when converting from Ubuntu server to desktop?
ID: /2016/11/28/Do-I-need-to-remove-Grub-when-converting-from-Ubuntu-server-to-desktop_
Created: November 28, 2016
Upload: April 8, 2024    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Assuming you are using legacy BIOS, the Grub boot strap loader resides in the first 512 bytes (bytes, not megabytes or gigabytes) of sda (usually).

The first 512 bytes on the drive is called the Master Boot Record (MBR) but grub also reads initrd.img (about 50 Megabytes) from /boot directory of sda (usually).

Grub is agnostic and doesn’t care if your /boot directory was setup by Ubuntu 12, 14, 16, generic, low-latency or server.

Currently your Ubuntu Server sets up /boot directory for grub. After installing Ubuntu Desktop it will setup the /boot directory for grub. Both versions of Ubuntu understand what grub needs to see and sets up the boot strap loader and /boot directory accordingly.

Both Server and Desktop versions contain the same grub code embedded within. They both use the sudo update-grub command to setup your grub menu. Both use the same sudo update-initramfs -u command to create a new grub initrd.img file whenever you make changes to plymouth, lvm, init-top hooks, etc.

Windows of course is a different beast which is why you must always install Windows first and Ubuntu second.

⇧ Is it normal for dpkg / kernel update to hit 100%? Switch between internal and HDMI speakers automatically  β‡©