mpb_
January 11th, 2020, 08:35 PM
Is anyone aware of a guide or tutorial that explains how to install Ubuntu completely manually? (In other words: from the command line without the use of any opaque "installer" programs.)
I'm looking for something along the lines of the Arch Linux Installation guide:
https://wiki.archlinux.org/index.php/Installation_guide
My goal is to boot a live Ubuntu environment (possibly the Desktop .iso) and then, from the command line, manually perform an installation of Ubuntu.
I would expect such a guide to contain (at least) the following steps:
1) partition disks
2) format partitions
3) mount partitions
4) install system files (possibly via debootstrap)
5) chroot into the new installation
6) install any additional needed packages
7) install a kernel
8) configure, build and install the init ram disk
9) install a boot loader
I know how to do 1-5.
I expect 6-7 to be pretty straightforward.
It is really 8 (building initrd) that I am curious about. I anticipate using an unencrypted /boot partition, plus a LUKS encrypted root btrfs partition.
9 is probably fairly straightforward.
Step 8 is usually handled by one of Ubuntu's installers (desktop, live-server, server, or net boot). But due to some specific technical constraints, I would like more transparency and control, so I am considering trying a fully manual installation.
Before I try to discover how to do a manual installation via experimentation, I figured I would ask to see if anyone know of any existing guides or documentation that would be helpful.
Thank you.
I'm looking for something along the lines of the Arch Linux Installation guide:
https://wiki.archlinux.org/index.php/Installation_guide
My goal is to boot a live Ubuntu environment (possibly the Desktop .iso) and then, from the command line, manually perform an installation of Ubuntu.
I would expect such a guide to contain (at least) the following steps:
1) partition disks
2) format partitions
3) mount partitions
4) install system files (possibly via debootstrap)
5) chroot into the new installation
6) install any additional needed packages
7) install a kernel
8) configure, build and install the init ram disk
9) install a boot loader
I know how to do 1-5.
I expect 6-7 to be pretty straightforward.
It is really 8 (building initrd) that I am curious about. I anticipate using an unencrypted /boot partition, plus a LUKS encrypted root btrfs partition.
9 is probably fairly straightforward.
Step 8 is usually handled by one of Ubuntu's installers (desktop, live-server, server, or net boot). But due to some specific technical constraints, I would like more transparency and control, so I am considering trying a fully manual installation.
Before I try to discover how to do a manual installation via experimentation, I figured I would ask to see if anyone know of any existing guides or documentation that would be helpful.
Thank you.