Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [nixos@nixos:~]$ script output.txt
- Script started, output log file is 'output.txt'.
- [nixos@nixos:~]$ lsblk -f
- NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
- loop0 squashfs 4.0 0 100% /nix/.ro-store
- sda
- ├─sda1 vfat FAT32 C8DF-1D46
- └─sda2 ext4 1.0 509efae4-ec18-4057-93d4-a0bf08037f85
- sdb iso9660 Joliet Extension nixos-graphical-25.05-x86_64 1980-01-01-00-00-00-00
- ├─sdb1 iso9660 Joliet Extension nixos-graphical-25.05-x86_64 1980-01-01-00-00-00-00 0 100% /iso
- └─sdb2 vfat FAT12 EFIBOOT 1234-5678
- [nixos@nixos:~]$ sudo -i
- [root@nixos:~]# ls /sys/firmware/efi/efivars
- AuthVarKeyDatabase-aaf32c78-947b-439a-a180-2e144ec37792 LBC-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 LenovoScratchData-67c3208e-4fcb-498f-9729-0760bb4109a7
- Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c LBL-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 LenovoSecurityConfig-a2c1808f-0d4f-4cc9-a619-d1e641d39d49
- Boot0001-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOL-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 LenovoSystemConfig-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
- Boot0010-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot0000-146b234d-4052-4e07-b326-11220f8e1fe8 LenovoThermalShutdown-943d1460-da6e-499a-af6d-4593b12bc4d7
- Boot0011-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot0001-146b234d-4052-4e07-b326-11220f8e1fe8 LenovoTpmFwUpdate-38243f72-e87f-468f-b19c-478598c46c3f
- Boot0012-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot0010-146b234d-4052-4e07-b326-11220f8e1fe8 LenovoWolInfo-0af4027f-9b58-41c0-b62f-cd3a1cef54ee
- Boot0013-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot0011-146b234d-4052-4e07-b326-11220f8e1fe8 LKOP0000-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
- Boot0014-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot0012-146b234d-4052-4e07-b326-11220f8e1fe8 LKOP0001-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
- Boot0015-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot0013-146b234d-4052-4e07-b326-11220f8e1fe8 LKOP0002-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
- Boot0016-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot0014-146b234d-4052-4e07-b326-11220f8e1fe8 LKOP0003-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
- Boot0017-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot0015-146b234d-4052-4e07-b326-11220f8e1fe8 LKOP0004-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
- Boot0018-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot0016-146b234d-4052-4e07-b326-11220f8e1fe8 LKOP0005-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
- Boot0019-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot0017-146b234d-4052-4e07-b326-11220f8e1fe8 LKOP0006-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
- Boot001A-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot0018-146b234d-4052-4e07-b326-11220f8e1fe8 LKOP0007-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
- Boot001B-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot0019-146b234d-4052-4e07-b326-11220f8e1fe8 LoaderSystemToken-4a67b082-0a4c-41cf-b6c7-440b29bb8c4f
- Boot001C-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot001A-146b234d-4052-4e07-b326-11220f8e1fe8 LWO-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65
- Boot001D-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot001B-146b234d-4052-4e07-b326-11220f8e1fe8 MailBoxQ-67c3208e-4fcb-498f-9729-0760bb4109a7
- Boot001E-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot001C-146b234d-4052-4e07-b326-11220f8e1fe8 MemoryOverwriteRequestControl-e20939be-32d4-41be-a150-897f85d49829
- Boot001F-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot001D-146b234d-4052-4e07-b326-11220f8e1fe8 MemoryOverwriteRequestControlLock-bb983ccf-151d-40e1-a07b-4a17be168292
- Boot0020-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot001E-146b234d-4052-4e07-b326-11220f8e1fe8 MTC-eb704011-1402-11d3-8e77-00a0c969723b
- BootCurrent-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot001F-146b234d-4052-4e07-b326-11220f8e1fe8 OsIndications-8be4df61-93ca-11d2-aa0d-00e098032b8c
- BootOptionSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c lBoot0020-146b234d-4052-4e07-b326-11220f8e1fe8 OsIndicationsSupported-8be4df61-93ca-11d2-aa0d-00e098032b8c
- BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0000-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 PbaStatusVar-0ec1a7f5-4904-40a0-8eab-4bcc4666da45
- BootOrderDefault-0b7646a4-6b44-4332-8588-c8998117f2ef LBOP0001-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 PhysicalPresence-0f6499b1-e9ad-493d-b9c2-2f90815c6cbc
- BootState-60b5e939-0fcf-4227-ba83-6bbed45bc0e3 LBOP0010-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 PhysicalPresenceFlags-0f6499b1-e9ad-493d-b9c2-2f90815c6cbc
- CapsuleLongModeBuffer-711c703f-c285-4b10-a3b0-36ecbd3c8be2 LBOP0011-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 PlatformLang-8be4df61-93ca-11d2-aa0d-00e098032b8c
- certdb-d9bee56e-75dc-49d9-b4d7-b534210f637a LBOP0012-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 PlatformLangCodes-8be4df61-93ca-11d2-aa0d-00e098032b8c
- ConIn-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0013-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 PreBootEventLogReset-8b604cac-3c4f-4e6c-862e-00b8b7436e5f
- ConInDev-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0014-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 ProtectedBootOptions-0b7646a4-6b44-4332-8588-c8998117f2ef
- ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0015-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 RTC-378d7b65-8da9-4773-b6e4-a47826a833e1
- ConOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0016-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 RTCALARM-378d7b65-8da9-4773-b6e4-a47826a833e1
- DIAGSPLSHSCRN-a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380 LBOP0017-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 SecureBoot-8be4df61-93ca-11d2-aa0d-00e098032b8c
- EPCBIOS-c60aa7f6-e8d6-4956-8ba1-fe26298f5e87 LBOP0018-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 SetupHotKey-a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380
- ErrOutDev-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0019-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 SetupMode-8be4df61-93ca-11d2-aa0d-00e098032b8c
- ESRTPLATFORMENTRY-f77494ca-da28-4789-a35b-fe7515ce8b42 LBOP001A-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 SignatureSupport-8be4df61-93ca-11d2-aa0d-00e098032b8c
- EventLog-57a34c69-4d62-0b7e-86e4-939c5c9b7c93 LBOP001B-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 SMBIOSELOG000-c3eeae98-23bf-412b-ab60-efcbb48e1534
- Key0000-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP001C-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 SMBIOSELOGNUMBER-c3eeae98-23bf-412b-ab60-efcbb48e1534
- Key0001-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP001D-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 SMBIOSMEMSIZE-c3eeae98-23bf-412b-ab60-efcbb48e1534
- Key0002-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP001E-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 System-e947fcf9-dd01-4965-b808-32a7b6815657
- Key0003-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP001F-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 Timeout-8be4df61-93ca-11d2-aa0d-00e098032b8c
- Key0004-8be4df61-93ca-11d2-aa0d-00e098032b8c LBOP0020-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 TrEEPhysicalPresence-f24643c2-c622-494e-8a0d-4632579c2d5b
- Key0005-8be4df61-93ca-11d2-aa0d-00e098032b8c LenovoBDG-49ad5446-9d32-4455-af9b-d774bda2cf8b TrEEPhysicalPresenceFlags-f24643c2-c622-494e-8a0d-4632579c2d5b
- Key0006-8be4df61-93ca-11d2-aa0d-00e098032b8c LenovoConfig-2a4dc6b7-41f5-45dd-b46f-2dd334c1cf65 UCR-14a22a97-8424-489e-9ead-dc09255658b5
- Key0007-8be4df61-93ca-11d2-aa0d-00e098032b8c LenovoFprData-54447606-288e-4136-9804-bd4f170d8695 VendorKeys-8be4df61-93ca-11d2-aa0d-00e098032b8c
- LastBootCurrent-0b7646a4-6b44-4332-8588-c8998117f2ef LenovoFunctionConfig-580020c3-6c9c-4f93-8008-7fadc1fcfedd
- LastBootOrder-0b7646a4-6b44-4332-8588-c8998117f2ef LenovoHiddenSetting-1827cfc7-4e61-4273-b796-d35f4b0c88fc
- [root@nixos:~]# mount /dev/sda2 /mnt
- [root@nixos:~]# mount /dev/sda1 /mnt/boot
- [root@nixos:~]# ls /mnt/etc/nixos/
- configuration.nix configuration.nix.bak hardware-configuration.nix
- [root@nixos:~]# nixos-enter
- setting up /etc...
- [root@nixos:/]# nixos-rebuild boot
- building Nix...
- building the system configuration...
- evaluation warning: system.stateVersion is not set, defaulting to 25.05. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.
- System has not been booted with systemd as init system (PID 1). Can't operate.
- Failed to connect to system scope bus via local transport: Host is down
- Done. The new configuration is /nix/store/5mwhv075jh1q53dh3si5gjbsqf31ipfi-nixos-system-nixos-25.05.812676.c2448301fb85
- [root@nixos:/]#
Advertisement
Add Comment
Please, Sign In to add comment