Skip to content

Commit 5ef8dc6

Browse files
Update install
1 parent ac08b5b commit 5ef8dc6

1 file changed

Lines changed: 23 additions & 11 deletions

File tree

  • docs/content/getting-started/os/install

docs/content/getting-started/os/install/_index.md

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Ubuntu provides an [autoinstall framework](https://canonical-subiquity.readthedo
88
> [!TIP] Use Linux!
99
> We assume you are using a Linux-based operating system for this step.
1010
11-
## Downloading
11+
## Download
1212

1313
You can go to the [Ubuntu website to download the server operating system](https://ubuntu.com/download/server).
1414
We always recommend using the Long-Term Support (LTS) release because of its extensive testing and reliability.
@@ -53,11 +53,11 @@ sda 8:0 1 28.6G 0 disk
5353
```
5454

5555
Since the `MOUNTPOINTS` column is empty, our USB is not mounted.
56-
If yours is, you can unmount it by using the command `sudo unmount /dev/sda1` (if the `sda1` partition was mounted).
56+
If yours is, you can unmount it by using the command `sudo umount /dev/sda1` (if the `sda1` partition was mounted).
5757

5858

59-
We have to remove all partitions of the USB drive and put one for fat32 for the OS.
60-
Ensure that your fat32 partition is large enough for the whole ISO.
59+
We have to remove all partitions of the USB drive and put one for FAT32 for the OS.
60+
Ensure that your FAT32 partition is large enough for the whole ISO.
6161
In our case, we use 4000 MB.
6262

6363
```bash
@@ -67,28 +67,38 @@ $ sudo parted /dev/sda --script \
6767
set 1 boot on
6868
```
6969

70-
Now we need to format the partition for the ISO with fat32.
70+
Now we need to format the partition for the ISO with FAT32.
71+
72+
```bash
73+
$ sudo mkfs.vfat -F32 /dev/sda1
74+
```
7175

7276
> [!important]
7377
> Make sure you have [`dosfstools`](https://github.com/dosfstools/dosfstools) installed.
7478
> On arch, this would be
7579
>
7680
> ```bash
77-
> $ sudo pacman -Syu dosfstools`
81+
> $ sudo pacman -Syu dosfstools
7882
> ```
7983
84+
Now we can mount the USB.
85+
8086
```bash
81-
$ sudo mkfs.vfat -F32 /dev/sda1
87+
$ sudo mkdir -p /mnt/usb
88+
$ sudo mount /dev/sda1 /mnt/usb
8289
```
8390
84-
To copy over the ISO file, we first have to mount the fat32 partition.
91+
### Writing ISO
92+
93+
We first have to mount the ISO file.
8594

8695
```bash
8796
$ sudo mkdir -p /mnt/iso
88-
$ sudo mount -o loop ~/Downloads/ubuntu-24.04.2-live-server-amd64.iso /mnt/iso
97+
$ sudo mount -o loop path/to/ubuntu-xx.yy.z-live-server-amd64.iso /mnt/iso
8998
```
9099

91-
Copy everything from the iso.
100+
101+
Copy everything from the ISO to the USB.
92102

93103
```bash
94104
$ sudo cp -rT /mnt/iso/ /mnt/usb/
@@ -101,4 +111,6 @@ You are all set to boot into Ubuntu from the USB!
101111
Partitions from the ISO are inherently read-only.
102112
We will need to write files to our USB, so we need to add a writeable partition.
103113

104-
114+
```bash
115+
sudo cp path/to/autoinstall.yml /mnt/usb/autoinstall.yml
116+
```

0 commit comments

Comments
 (0)