I have the following multi-boot setup at present:
/dev/sda: a small SSD containing only GRUB. It has a custom menu with prompts to boot to the OS on either /dev/sdb or /dev/sdc. It's working fine and I can't risk it being changed.
/dev/sdb: a 1TB SSD with Ubuntu 18.04. I need it for work -- it is working fine and I can't risk it being changed either.
/dev/sdc: a 1TB SSD with a previous install of Ubuntu 22.04. Something got broken at one point (no longer relevant) and is no longer booting up.
I need to reinstall Ubuntu 22.04 on /dev/sdc but without risking anything on /dev/sda or /dev/sdb. I'm really hesitant about simply installing 22.04 onto it -- particularly regarding the risk to /dev/sda and the boot loader. In the future I'd like to alternately reformat /dev/sdb and /dev/sdc, putting more advance (fresh) installs on the computer -- but never modifying the boot loader on /dev/sda.
(Note: I also have /dev/sde which is a 2TB HDD used for data shared between the OS's).
ubiquity
,subiquity
and for some flavors its alsocalamares
. I can't speak to asubiquity
installer if that's what you're asking about (you didn't specify!) but just tell the installer what you want & read the summary screen. If you didn't make partition changes, you can backout if the summary screen isn't exactly what you wanted. Also ensure you write the ISO to thumb-drive correctly; as reformats of the ISO can alter how the installer sees drive/partitions! – guiverc Jul 23 '23 at 05:34/boot/grub
directory of whatever drive you tell it to install. There is also a grub stage 0 which is written to the MBR of a drive (per drive standards; ie. in the reserved sector 0 of the drive which is outside of partitioned space as per standard* OR to the ESP (uEFI System Partition; again as per standards; though this partition is inside partitioned space) but both those are not on the drive SDA you specify (sector 0 could be if you're talking about MBR - but machine BIOS settings will dictate) – guiverc Jul 23 '23 at 05:40subiquity
installer by default, Ubuntu Desktop usedubiquity
as the primary installer up to 22.10 (ie. 22.04 you mention) with an alternate ISO using a canary installer (now namedubuntu-desktop-installer
which is the default for 23.04 & later). The ISO you download dictates which installer will be used, and you gave only release details (22.04; with ISOs using all I mentioned including canary though that would be hard to find I bet thus my lack of mention*). – guiverc Jul 23 '23 at 11:11/boot/grub/
directory which exists on your/
drive normally as it's not used in the boot directly (grub stage 0 handles boot as per the old standard that still applies today) so a whole drive seems a waste for 512 bytes. uEFI replaced that standard, with the *EFI System Partition you can control – guiverc Jul 23 '23 at 11:15[ -d /sys/firmware/efi ] && echo EFI || echo Legacy
– oldfred Jul 23 '23 at 14:16