You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/getting-started/os/live/_index.md
+17-21Lines changed: 17 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,13 @@
1
1
---
2
-
title: Installation
2
+
title: Live disk
3
+
weight: 1
4
+
type: docs
5
+
toc: true
3
6
---
4
7
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).
7
9
8
-
> [!TIP] Use Linux!
10
+
> [!IMPORTANT] Use Linux!
9
11
> We assume you are using a Linux-based operating system for this step.
10
12
11
13
## Download
@@ -14,15 +16,14 @@ You can go to the [Ubuntu website to download the server operating system](https
14
16
We always recommend using the Long-Term Support (LTS) release because of its extensive testing and reliability.
15
17
LTS releases are provided every two years and are supported (i.e., security updates and bug fixes) for five years.
16
18
17
-
##Live USB
19
+
### ISO file
18
20
19
-
Installing the operating system onto a computer involves creating a portal media, often a USB drive, that contains a full, bootable OS.
20
21
An [ISO file](https://en.wikipedia.org/wiki/Optical_disc_image) is commonly used to store the operating system.
21
22
22
23
> [!INFO] Fun fact
23
24
> ISO files originate from the [ISO 9660](https://en.wikipedia.org/wiki/ISO_9660) file system for optical disks.
24
25
25
-
### Preparation
26
+
##Mount USB
26
27
27
28
> [!TIP]
28
29
> 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
58
59
59
60
We have to remove all partitions of the USB drive and put one for FAT32 for the OS.
60
61
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.
62
63
63
64
```bash
64
65
$ sudo parted /dev/sda --script \
65
66
mklabel msdos \
66
-
mkpart primary fat32 1MiB 4000MiB \
67
+
mkpart primary fat32 1MiB 5GiB \
67
68
set 1 boot on
68
69
```
69
70
@@ -88,29 +89,24 @@ $ sudo mkdir -p /mnt/usb
88
89
$ sudo mount /dev/sda1 /mnt/usb
89
90
```
90
91
91
-
### Writing ISO
92
+
##Mount ISO
92
93
93
94
We first have to mount the ISO file.
94
95
95
96
```bash
96
97
$ 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
98
99
```
99
100
101
+
## Write ISO
100
102
101
103
Copy everything from the ISO to the USB.
102
104
103
105
```bash
104
-
$ sudo cp -rT /mnt/iso/ /mnt/usb/
106
+
$ sudo cp -aT /mnt/iso/. /mnt/usb/
105
107
```
106
108
107
-
You are all set to boot into Ubuntu from the USB!
109
+
## Done!
108
110
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.
0 commit comments