reset passwd
插图#
看看效果咋样#
哈哈
liveuser@localhost-live:~$ sudo fdisk -l
Disk /dev/sda: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: ShiJi 512GB
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: gpt
Disk identifier: 9AA4E490-E744-4ACD-841A-C1AF8C263250
Device Start End Sectors Size Type
/dev/sda1 2048 239615 237568 116M EFI System
/dev/sda2 239616 244527103 244287488 116.5G Microsoft basic data
/dev/sda3 244527104 285487103 40960000 19.5G Microsoft basic data
/dev/sda4 285487104 351127963 65640860 31.3G Linux swap
/dev/sda5 351129600 771189147 420059548 200.3G Linux filesystem
/dev/sda6 771190784 1000214939 229024156 109.2G Linux filesystem
Disk /dev/sdb: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: ST500LT012-1DG14
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x0aed9fb7
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 976773167 976771120 465.8G 83 Linux
Disk /dev/sdc: 29.3 GiB, 31457280000 bytes, 61440000 sectors
Disk model: ProductCode
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: gpt
Disk identifier: 8B46A2D9-4F6B-2FA2-6986-88885E8D1342
Device Start End Sectors Size Type
/dev/sdc1 2048 61374423 61372376 29.3G Microsoft basic data
/dev/sdc2 61374424 61439959 65536 32M Microsoft basic data
Disk /dev/dm-0: 2.61 GiB, 2806382592 bytes, 5481216 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: gpt
Disk identifier: EB4BE656-6730-46CE-819A-784A2C115F93
Device Start End Sectors Size Type
/dev/dm-0p1 64 5454691 5454628 2.6G Microsoft basic data
/dev/dm-0p2 5454692 5480551 25860 12.6M EFI System
/dev/dm-0p3 5480552 5481151 600 300K Microsoft basic data
Disk /dev/loop0: 2.43 GiB, 2607599616 bytes, 5092968 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
Disk /dev/zram0: 8 GiB, 8589934592 bytes, 2097152 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
liveuser@localhost-live:~$
liveuser@localhost-live:~$ df -Th
Filesystem Type Size Used Avail Use% Mounted on
LiveOS_rootfs overlay 3.1G 162M 3.0G 6% /
devtmpfs devtmpfs 4.0M 0 4.0M 0% /dev
tmpfs tmpfs 7.7G 20K 7.7G 1% /dev/shm
efivarfs efivarfs 192K 64K 124K 34% /sys/firmware/efi/efivars
tmpfs tmpfs 3.1G 162M 3.0G 6% /run
/dev/ventoy iso9660 2.7G 2.7G 0 100% /run/initramfs/live
/dev/loop0 squashfs 2.5G 2.5G 0 100% /run/rootfsbase
tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-journald.service
tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-udev-load-credentials.service
tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-network-generator.service
tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-tmpfiles-setup-dev-early.service
tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-sysctl.service
tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-tmpfiles-setup-dev.service
tmpfs tmpfs 7.7G 468K 7.7G 1% /tmp
vartmp tmpfs 7.7G 0 7.7G 0% /var/tmp
tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-tmpfiles-setup.service
tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-vconsole-setup.service
tmpfs tmpfs 1.0M 0 1.0M 0% /run/credentials/systemd-resolved.service
tmpfs tmpfs 1.6G 128K 1.6G 1% /run/user/1000
/dev/sdc2 vfat 32M 28M 4.4M 87% /run/media/liveuser/VTOYEFI
/dev/sdb1 ext4 458G 403G 32G 93% /run/media/liveuser/e0184ece-5afc-4385-ae72-7c8c17df6287
/dev/sda6 ext4 107G 56G 47G 55% /run/media/liveuser/home
/dev/sda5 ext4 197G 44G 143G 24% /run/media/liveuser/root
liveuser@localhost-live:~$