Skip to content

Commit 5cbfe00

Browse files
committed
Move Ubuntu to different drive
1 parent 9da6cc2 commit 5cbfe00

2 files changed

Lines changed: 33 additions & 34 deletions

File tree

autoinstall/snuc/nuc9v7qnx/ubuntu-desktop-2404/dual-boot/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
```
2-
$ curl -LO https://releases.ubuntu.com/24.04.3/ubuntu-24.04.3-desktop-amd64.iso
3-
$ shasum -a 256 ubuntu-24.04.3-desktop-amd64.iso
4-
faabcf33ae53976d2b8207a001ff32f4e5daae013505ac7188c9ea63988f8328 ubuntu-24.04.3-desktop-amd64.iso
2+
$ curl -LO https://releases.ubuntu.com/24.04.3/ubuntu-24.04.4-desktop-amd64.iso
3+
$ shasum -a 256 ubuntu-24.04.4-desktop-amd64.iso
4+
3a4c9877b483ab46d7c3fbe165a0db275e1ae3cfe56a5657e5a47c2f99a99d1e ubuntu-24.04.4-desktop-amd64.iso
55
66
docker run -it --rm \
77
--mount type=bind,source="$(pwd)",target=/data \
88
docker.io/boxcutter/ubuntu-autoinstall \
9-
--source ubuntu-24.04.3-desktop-amd64.iso \
9+
--source ubuntu-24.04.4-desktop-amd64.iso \
1010
--autoinstall autoinstall.yaml \
11-
--destination ubuntu-24.04.3-desktop-amd64-autoinstall.iso \
11+
--destination ubuntu-24.04.4-desktop-amd64-autoinstall.iso \
1212
--grub grub.cfg \
1313
--loopback loopback.cfg \
1414
--config-root

autoinstall/snuc/nuc9v7qnx/ubuntu-desktop-2404/dual-boot/autoinstall.yaml

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -37,56 +37,55 @@ autoinstall:
3737
config:
3838
- transport: pcie
3939
preserve: true
40-
id: nvme-controller-nvme2
40+
id: nvme-controller-nvme1
4141
type: nvme_controller
4242
- ptable: gpt
43-
serial: KINGSTON_SNVS2000G_50026B768596C4FC_1
44-
wwn: eui.00000000000000000026b768596c4fc5
45-
nvme_controller: nvme-controller-nvme2
46-
path: /dev/nvme2n1
47-
preserve: true
43+
serial: KINGSTON_SNVS2000G_50026B778481A6FF_1
44+
wwn: eui.00000000000000000026b778481a6ff5
45+
nvme_controller: nvme-controller-nvme1
46+
path: /dev/nvme1n1
47+
preserve: false
4848
name: ''
4949
grub_device: false
50-
id: disk-nvme2n1
50+
id: disk-nvme1n1
5151
type: disk
52-
- device: disk-nvme2n1
52+
- device: disk-nvme1n1
5353
size: 1127219200
54+
wipe: superblock
5455
flag: boot
5556
number: 1
56-
preserve: true
57+
preserve: false
5758
grub_device: true
5859
offset: 1048576
59-
partition_type: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
60-
path: /dev/nvme2n1p1
61-
uuid: 7220f12b-2a96-41b2-8d94-93c19a41ea09
62-
id: partition-nvme2n1p1
60+
path: /dev/nvme1n1p1
61+
id: partition-0
6362
type: partition
64-
- device: disk-nvme2n1
63+
- fstype: fat32
64+
volume: partition-0
65+
preserve: false
66+
id: format-0
67+
type: format
68+
- device: disk-nvme1n1
6569
size: 1999269527552
6670
wipe: superblock
6771
number: 2
6872
preserve: false
6973
offset: 1128267776
70-
path: /dev/nvme2n1p2
71-
id: partition-0
74+
path: /dev/nvme1n1p2
75+
id: partition-1
7276
type: partition
7377
- fstype: ext4
74-
volume: partition-0
78+
volume: partition-1
7579
preserve: false
76-
id: format-0
80+
id: format-1
7781
type: format
7882
- path: /
79-
device: format-0
80-
id: mount-0
83+
device: format-1
84+
id: mount-1
8185
type: mount
82-
- fstype: vfat
83-
volume: partition-nvme2n1p1
84-
preserve: true
85-
id: format-partition-nvme2n1p1
86-
type: format
8786
- path: /boot/efi
88-
device: format-partition-nvme2n1p1
89-
id: mount-1
87+
device: format-0
88+
id: mount-0
9089
type: mount
9190
timezone: UTC
9291
locale: en_US.UTF-8
@@ -103,10 +102,10 @@ autoinstall:
103102
mirror-selection:
104103
primary:
105104
# http://archive.ubuntu.com/ubntu
106-
- uri: "https://crake-nexus.org.boxcutter.net/repository/ubuntu-archive-apt-proxy/ubuntu"
105+
- uri: "http://crake-nexus.org.boxcutter.net/repository/ubuntu-archive-apt-proxy/ubuntu"
107106
arches: [i386, amd64]
108107
# http://ports.ubuntu.com/ubuntu-ports
109-
- uri: "https://crake-nexus.org.boxcutter.net/repository/ubuntu-ports-proxy/ubuntu-ports"
108+
- uri: "http://crake-nexus.org.boxcutter.net/repository/ubuntu-ports-proxy/ubuntu-ports"
110109
arches: [s390x, arm64, armhf, powerpc, ppc64el, riscv64]
111110
late-commands:
112111
# Because we're using preserve_hostname to allow manual setting of the

0 commit comments

Comments
 (0)