Right now, I am just playing before I work with the real task of migrating the data from a spinning rust drive to the M.2/NVMe, which was purchased to squeeze more life from this laptop and save on heat and power use. (I used clonezilla first to move the data, before I found that the laptop simply refuses to boot from the new drive.)
However, with my novice skills, I have only succeeded in getting the system to boot when I also include `/boot` on the USB drive for some reason. I'm sure it's my naivete. When I tell the MX installer to create only the EFI partition on the USB drive with `/boot` & `/` on the nvme, I get an error that looks like the UUID of the drive isn't in FSTAB or is incorrect/mismatched.
What would be the most likely method to succeed here?
What I want:
Code: Select all
sda 7.5G 0 disk
└─sda1 7.4G 0 part /boot/efi
nvme0n1 467.9G 0 disk
├─nvme0n1p1 499M 0 part /boot
└─nvme0n1p2 467.4G 0 part /
Code: Select all
System:
Kernel: 6.1.0-17-amd64 [6.1.69-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/vmlinuz-6.1.0-17-amd64 root=UUID=<filter> ro quiet splash
Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
dm: LightDM v: 1.26.0 Distro: MX-23.2_x64 Libretto January 21 2024 base: Debian GNU/Linux 12
(bookworm)
Machine:
Type: Laptop System: Hewlett-Packard product: HP EliteBook 840 G2 v: A3008D510B03
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Hewlett-Packard model: 2216 v: KBC Version 96.5B serial: <superuser required>
UEFI: Hewlett-Packard v: M71 Ver. 01.31 date: 02/24/2020
Battery:
ID-1: BAT0 charge: 0.2 Wh (100.0%) condition: 0.2/0.2 Wh (100.0%) volts: 12.1 min: 11.4
model: Hewlett-Packard Primary type: Li-ion serial: <filter> status: full
CPU:
Info: model: Intel Core i5-5300U bits: 64 type: MT MCP arch: Broadwell gen: core 5 level: v3
note: check built: 2015-18 process: Intel 14nm family: 6 model-id: 0x3D (61) stepping: 4
microcode: 0x2F
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
Speed (MHz): avg: 2750 high: 2888 min/max: 500/2900 scaling: driver: intel_cpufreq
governor: ondemand cores: 1: 2724 2: 2888 3: 2695 4: 2695 bogomips: 18357
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: gather_data_sampling status: Not affected
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: retbleed status: Not affected
Type: spec_rstack_overflow status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB
filling, PBRSB-eIBRS: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort mitigation: Clear CPU buffers; SMT vulnerable
Graphics:
Device-1: Intel HD Graphics 5500 vendor: Hewlett-Packard ZBook 15u G2 Mobile Workstation
driver: i915 v: kernel arch: Gen-8 process: Intel 14nm built: 2014-15 ports: active: eDP-1
empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:1616 class-ID: 0300
Device-2: Chicony HP HD Webcam type: USB driver: uvcvideo bus-ID: 2-7:6 chip-ID: 04f2:b477
class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99") s-diag: 414mm (16.31")
Monitor-1: eDP-1 model: Samsung 0x4d42 built: 2014 res: 1366x768 hz: 60 dpi: 112 gamma: 1.2
size: 309x174mm (12.17x6.85") diag: 355mm (14") ratio: 16:9 modes: 1366x768
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 5500 (BDW GT2)
direct-render: Yes
Audio:
Device-1: Intel Broadwell-U Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
bus-ID: 00:03.0 chip-ID: 8086:160c class-ID: 0403
Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Hewlett-Packard
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9ca0 class-ID: 0403
API: ALSA v: k6.1.0-17-amd64 status: kernel-api tools: alsamixer,amixer
Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Ethernet I218-LM vendor: Hewlett-Packard driver: e1000e v: kernel port: 5060
bus-ID: 00:19.0 chip-ID: 8086:15a2 class-ID: 0200
IF: eth0 state: down mac: <filter>
Device-2: Intel Wireless 7265 driver: iwlwifi v: kernel modules: wl pcie: gen: 1
speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:095a class-ID: 0280
IF: wlan0 state: down mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 2-4:4
chip-ID: 8087:0a2a class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 2.1 lmp-v: 4.0
sub-v: 1000 hci-v: 4.0 rev: 1000
Info: acl-mtu: 1021:5 sco-mtu: 96:6 link-policy: rswitch hold sniff
link-mode: peripheral accept service-classes: rendering, capturing, object transfer, audio,
telephony
Drives:
Local Storage: total: 486.28 GiB used: 6.47 GiB (1.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: MZAL4512HBLU-00BL2 size: 476.94 GiB
block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 7L1QHXC7 temp: 43.9 C scheme: MBR
ID-2: /dev/sda maj-min: 8:0 type: USB model: USB DISK 2.0 size: 7.46 GiB block-size:
physical: 512 B logical: 512 B type: N/A serial: <filter> rev: PMAP scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
ID-3: /dev/sdb maj-min: 8:16 type: USB vendor: Generic model: Flash Disk size: 1.88 GiB
block-size: physical: 512 B logical: 512 B type: SSD serial: <filter> rev: 1.68 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
ID-1: / raw-size: 475.94 GiB size: 467.4 GiB (98.21%) used: 6.36 GiB (1.4%) fs: ext4
dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot raw-size: 1.49 GiB size: 1.45 GiB (97.18%) used: 109.4 MiB (7.4%) fs: ext4
dev: /dev/sdb2 maj-min: 8:18
ID-3: /boot/efi raw-size: 395 MiB size: 394.2 MiB (99.79%) used: 304 KiB (0.1%) fs: vfat
dev: /dev/sdb1 maj-min: 8:17
Swap:
Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 256 MiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: 44.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos:
Packages: pm: dpkg pkgs: 2047 libs: 1045 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
pkgs: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirror.cedia.org.ec/mx-workspace/mx/repo/ bookworm main non-free
Info:
Processes: 215 Uptime: 0m wakeups: 2 Memory: 15.03 GiB used: 1.19 GiB (7.9%) Init: SysVinit
v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI