Skip to content

Commit 8757459

Browse files
Rename os files
1 parent d8c82c0 commit 8757459

2 files changed

Lines changed: 28 additions & 21 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: Autoinstall
3+
type: docs
4+
toc: true
5+
weight: 2
6+
---
7+
8+
Manually installing operating systems across many bare-metal servers is a tedious process.
9+
Ubuntu provides an [autoinstall framework](https://canonical-subiquity.readthedocs-hosted.com/en/latest/) [through subiquity](https://github.com/canonical/subiquity).
10+
11+

docs/content/getting-started/os/install/_index.md renamed to docs/content/getting-started/os/live/_index.md

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
---
2-
title: Installation
2+
title: Live disk
3+
weight: 1
4+
type: docs
5+
toc: true
36
---
47

5-
Manually installing operating systems across many bare-metal servers is a tedious process.
6-
Ubuntu provides an [autoinstall framework](https://canonical-subiquity.readthedocs-hosted.com/en/latest/) [through subiquity](https://github.com/canonical/subiquity).
8+
Installing the operating system onto a computer involves creating a portal media, often a USB drive, that contains a full, bootable operating system (OS).
79

8-
> [!TIP] Use Linux!
10+
> [!IMPORTANT] Use Linux!
911
> We assume you are using a Linux-based operating system for this step.
1012
1113
## Download
@@ -14,15 +16,14 @@ You can go to the [Ubuntu website to download the server operating system](https
1416
We always recommend using the Long-Term Support (LTS) release because of its extensive testing and reliability.
1517
LTS releases are provided every two years and are supported (i.e., security updates and bug fixes) for five years.
1618

17-
## Live USB
19+
### ISO file
1820

19-
Installing the operating system onto a computer involves creating a portal media, often a USB drive, that contains a full, bootable OS.
2021
An [ISO file](https://en.wikipedia.org/wiki/Optical_disc_image) is commonly used to store the operating system.
2122

2223
> [!INFO] Fun fact
2324
> ISO files originate from the [ISO 9660](https://en.wikipedia.org/wiki/ISO_9660) file system for optical disks.
2425
25-
### Preparation
26+
## Mount USB
2627

2728
> [!TIP]
2829
> You can find more information about this on the [Arch wiki](https://wiki.archlinux.org/title/USB_flash_installation_medium).
@@ -58,12 +59,12 @@ If yours is, you can unmount it by using the command `sudo umount /dev/sda1` (if
5859

5960
We have to remove all partitions of the USB drive and put one for FAT32 for the OS.
6061
Ensure that your FAT32 partition is large enough for the whole ISO.
61-
In our case, we use 4000 MB.
62+
In our case, we use 5G.
6263

6364
```bash
6465
$ sudo parted /dev/sda --script \
6566
mklabel msdos \
66-
mkpart primary fat32 1MiB 4000MiB \
67+
mkpart primary fat32 1MiB 5GiB \
6768
set 1 boot on
6869
```
6970

@@ -88,29 +89,24 @@ $ sudo mkdir -p /mnt/usb
8889
$ sudo mount /dev/sda1 /mnt/usb
8990
```
9091
91-
### Writing ISO
92+
## Mount ISO
9293

9394
We first have to mount the ISO file.
9495

9596
```bash
9697
$ sudo mkdir -p /mnt/iso
97-
$ sudo mount -o loop path/to/ubuntu-xx.yy.z-live-server-amd64.iso /mnt/iso
98+
$ sudo mount -o loop path/to/os.iso /mnt/iso
9899
```
99100

101+
## Write ISO
100102

101103
Copy everything from the ISO to the USB.
102104

103105
```bash
104-
$ sudo cp -rT /mnt/iso/ /mnt/usb/
106+
$ sudo cp -aT /mnt/iso/. /mnt/usb/
105107
```
106108

107-
You are all set to boot into Ubuntu from the USB!
109+
## Done!
108110

109-
### Persistence
110-
111-
Partitions from the ISO are inherently read-only.
112-
We will need to write files to our USB, so we need to add a writeable partition.
113-
114-
```bash
115-
sudo cp path/to/autoinstall.yml /mnt/usb/autoinstall.yml
116-
```
111+
At this stage, you are all set to boot into Ubuntu from the USB!
112+
However, we recommend setting up [autoinstall](../autoinstall) to make setting up new computers a breeze.

0 commit comments

Comments
 (0)