Gerne,
btw die ersten 10GB sind mit urandom überschrieben. Das Passwort ist testweise 123. Ich hoffe habe die Ein- und Ausgabe hier im Forum richtig formatiert.
` -` mc@arch-swift
.o+` -------------
`ooo/ OS: Arch Linux x86_64
`+oooo: Host: Swift SF114-34 V1.14
`+oooooo: Kernel: 6.2.13-arch1-1
-+oooooo+: Uptime: 1 hour, 38 mins
`/:-:++oooo+: Packages: 1108 (pacman)
`/++++/+++++++: Shell: bash 5.1.16
`/++++++++++++++: Resolution: 1920x1080
`/+++ooooooooooooo/` DE: Plasma 5.27.4
./ooosssso++osssssso+` WM: kwin
.oossssso-````/ossssss+` WM Theme: Lightly
-osssssso. :ssssssso. Theme: Breeze Dark [Plasma], Breeze [GTK2/3]
:osssssss/ osssso+++. Icons: candy-icons [Plasma], candy-icons [GTK2/3]
/ossssssss/ +ssssooo/- Terminal: konsole
`/ossssso+/:- -:/+osssso+- CPU: Intel Pentium Silver N6000 (4) @ 3.300GHz
`+sso+:-` `.-/+oso: GPU: Intel JasperLake [UHD Graphics]
`++:. `-/+/ Memory: 2947MiB / 7751MiB
.` `/
Willkommen zu fish, der freundlichen interaktiven Shell
Type help for instructions on how to use fish
mc@arch-swift ~> ssh root@192.168.178.107
root@192.168.178.107's password:
To install Arch Linux follow the installation guide:
https://wiki.archlinux.org/title/Installation_guide
For Wi-Fi, authenticate to the wireless network using the iwctl utility.
For mobile broadband (WWAN) modems, connect with the mmcli utility.
Ethernet, WLAN and WWAN interfaces using DHCP should work automatically.
After connecting to the internet, the installation guide can be accessed
via the convenience script Installation_guide.
Last login: Sun Apr 30 13:23:57 2023 from 192.168.178.72
root@archiso ~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 687.9M 1 loop /run/archiso/airootfs
sda 8:0 0 232.9G 0 disk
sdb 8:16 1 7.4G 0 disk
├─sdb1 8:17 1 794M 0 part
└─sdb2 8:18 1 15M 0 part
nvme0n1 259:0 0 465.8G 0 disk
├─nvme0n1p1 259:1 0 100M 0 part
├─nvme0n1p2 259:2 0 16M 0 part
├─nvme0n1p3 259:3 0 465G 0 part
└─nvme0n1p4 259:4 0 641M 0 part
root@archiso ~ # gdisk /dev/sda
GPT fdisk (gdisk) version 1.0.9.1
Caution: invalid main GPT header, but valid backup; regenerating main header
from backup!
Warning: Invalid CRC on main header data; loaded backup partition table.
Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.
Warning! Main partition table CRC mismatch! Loaded backup partition table
instead of main partition table!
Warning! One or more CRCs don't match. You should repair the disk!
Main header: ERROR
Backup header: OK
Main partition table: ERROR
Backup partition table: OK
Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: damaged
Found invalid MBR and corrupt GPT. What do you want to do? (Using the
GPT MAY permit recovery of GPT data.)
1 - Use current GPT
2 - Create blank GPT
Your answer: 2
Command (? for help): o
This option deletes all partitions and creates a new protective MBR.
Proceed? (Y/N): y
Command (? for help): n
Partition number (1-128, default 1):
First sector (34-488397134, default = 2048) or {+-}size{KMGTP}:
Last sector (2048-488397134, default = 488396799) or {+-}size{KMGTP}: 512M
Current type is 8300 (Linux filesystem)
Hex code or GUID (L to show codes, Enter = 8300): ef00
Changed type of partition to 'EFI system partition'
Command (? for help): n
Partition number (2-128, default 2):
First sector (34-488397134, default = 1050624) or {+-}size{KMGTP}:
Last sector (1050624-488397134, default = 488396799) or {+-}size{KMGTP}:
Current type is 8300 (Linux filesystem)
Hex code or GUID (L to show codes, Enter = 8300):
Changed type of partition to 'Linux filesystem'
Command (? for help): w
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!
Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sda.
The operation has completed successfully.
root@archiso ~ # lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 687.9M 1 loop /run/archiso/airootfs
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 511M 0 part
└─sda2 8:2 0 232.4G 0 part
sdb 8:16 1 7.4G 0 disk
├─sdb1 8:17 1 794M 0 part
└─sdb2 8:18 1 15M 0 part
nvme0n1 259:0 0 465.8G 0 disk
├─nvme0n1p1 259:1 0 100M 0 part
├─nvme0n1p2 259:2 0 16M 0 part
├─nvme0n1p3 259:3 0 465G 0 part
└─nvme0n1p4 259:4 0 641M 0 part
root@archiso ~ # cryptsetup luksFormat /dev/sda2
WARNING!
========
This will overwrite data on /dev/sda2 irrevocably.
Are you sure? (Type 'yes' in capital letters): YES
Enter passphrase for /dev/sda2:
Verify passphrase:
cryptsetup luksFormat /dev/sda2 25.55s user 0.63s system 140% cpu 18.624 total
root@archiso ~ # cryptsetup open /dev/sda2 luks
Enter passphrase for /dev/sda2:
No key available with this passphrase.
Enter passphrase for /dev/sda2:
No key available with this passphrase.
Enter passphrase for /dev/sda2:
No key available with this passphrase.
cryptsetup open /dev/sda2 luks 21.70s user 0.33s system 148% cpu 14.805 total
2 root@archiso ~ #
Grüssle
Mod-Edit: Codeblock eingefügt - Schard