Hi Mädels,
die UUID des Swap-Spaces ist df817f10-78ad-4f90-95b6-dc2db5e62c40, das LABEL ist Pager.
In weniger als 30 Sekunden bin ich am Prompt. Hibernate habe ich aber noch nicht wieder probiert.
Und Fakten sind seit Trump manchmal auch alternativ.
Und nicht alles, worum man bittet, will man wirklich haben:
# fdisk -l /dev/sdk -o +UUID
Disk /dev/sdk: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0007b473
fdisk: dos unknown column: UUID
# fdisk --help
Usage:
fdisk [options] <disk> change partition table
fdisk [options] -l [<disk>] list partition table(s)
Display or manipulate a disk partition table.
Options:
-b, --sector-size <size> physical and logical sector size
-B, --protect-boot don't erase bootbits when creating a new label
-c, --compatibility[=<mode>] mode is 'dos' or 'nondos' (default)
-L, --color[=<when>] colorize output (auto, always or never)
colors are enabled by default
-l, --list display partitions and exit
-o, --output <list> output columns
-t, --type <type> recognize specified partition table type only
-u, --units[=<unit>] display units: 'cylinders' or 'sectors' (default)
-s, --getsz display device size in 512-byte sectors [DEPRECATED]
--bytes print SIZE in bytes rather than in human readable format
-w, --wipe <mode> wipe signatures (auto, always or never)
-W, --wipe-partitions <mode> wipe signatures from new partitions (auto, always or never)
-C, --cylinders <number> specify the number of cylinders
-H, --heads <number> specify the number of heads
-S, --sectors <number> specify the number of sectors per track
-h, --help display this help and exit
-V, --version output version information and exit
Available columns (for -o):
gpt: Device Start End Sectors Size Type Type-UUID Attrs Name UUID
dos: Device Start End Sectors Cylinders Size Type Id Attrs Boot End-C/H/S Start-C/H/S
bsd: Slice Start End Sectors Cylinders Size Type Bsize Cpg Fsize
sgi: Device Start End Sectors Cylinders Size Type Id Attrs
sun: Device Start End Sectors Cylinders Size Type Id Flags
For more details see fdisk(8).
# fdisk -l /dev/sdk
Disk /dev/sdk: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0007b473
Device Boot Start End Sectors Size Id Type
/dev/sdk1 * 2048 399999999 399997952 190.8G 83 Linux
/dev/sdk2 400000000 500118191 100118192 47.8G 82 Linux swap / Solaris
# swaplabel /dev/sdk2
LABEL: Pager
UUID: df817f10-78ad-4f90-95b6-dc2db5e62c40
# tune2fs -l /dev/sdk1 | grep UUID
Filesystem UUID: 110a6745-2246-43b4-b8e1-7a9147115d59
Alles anzeigen
Ich nehme an, Du wolltest das Ergebnis von swaplabel und tune2fs.
Waren da mal wieder junge Studenten am Werk?
# rpm -qi util-linux-2.29.2-5.1.x86_64
Name : util-linux
Version : 2.29.2
Release : 5.1
Architecture: x86_64
Install Date: Tue Feb 20 20:19:30 2018
Group : System/Base
Size : 3885399
License : GPL-2.0+
Signature : RSA/SHA256, Wed Dec 13 19:31:05 2017, Key ID b88b2fd43dbdc284
Source RPM : util-linux-2.29.2-5.1.src.rpm
Build Date : Wed Dec 13 19:30:34 2017
Build Host : build74
Relocations : (not relocatable)
Packager : http://bugs.opensuse.org
Vendor : openSUSE
URL : https://www.kernel.org/pub/linux/utils/util-linux/
Summary : A collection of basic system utilities
Description :
This package contains a large variety of low-level system utilities
that are necessary for a Linux system to function. It contains the
mount program, the fdisk configuration tool, and more.
Distribution: openSUSE Leap 42.3
Alles anzeigen
Noch ein Punkt zum Thema Fakten:
Das beschriebene stilisierte ASCII-Spiel (kann man hier nicht einfügen) war beim Booten sichtbar (Was wird wohl bei resume ausgewertet?.)
Wie erstelle ich Screen-Shots (ohne Cell-Phone oder Photoapparat) während des Bootvorganges bei einer physischen Maschine ?
Die Reproduktion funktioniert mit aktuellen Leap OS. Also: resume=UUID einfügen und beim Boot ca. 1 Minute lang aufpassen.
Grüße
Anders