Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [[email protected] ~]$ lsblk -f
- NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
- loop0 squashfs 4.0 0 100% /run/archiso/airootfs
- sda
- ├─sda1 vfat FAT32 5305-B9F5
- └─sda2 ext4 1.0 94e21123-fc0f-4ff2-898b-98fd43ec2535
- sdb
- └─sdb1 ext4 1.0 863dabb9-9dca-4529-9f53-15635634f029
- sdc
- ├─sdc1 exfat 1.0 Ventoy 4E21-0000
- │ └─ventoy iso9660 Joliet Extension EOS_202404 2024-04-20-15-57-10-00 0 100% /run/archiso/bootmnt
- └─sdc2 vfat FAT16 VTOYEFI 223C-F3F8
- sr0
- nvme0n1
- ├─nvme0n1p1 vfat FAT32 A2FF-3524
- └─nvme0n1p2 ext4 1.0 endeavouros 494fbd54-2c13-41eb-bd27-2374f8201c5d
- [[email protected] ~]$ sudo mount nvme0n1p2 /mnt
- mount: /mnt: special device nvme0n1p2 does not exist.
- dmesg(1) may have more information after failed mount system call.
- [[email protected] ~]$ sudo mount /dev/ nvme0n1p2 /mnt
- mount: bad usage
- Try 'mount --help' for more information.
- [[email protected] ~]$ sudo mount /dev/nvme0n1p2 /mnt
- [[email protected] ~]$ sudo cat /mnt/etc/fstab
- # /etc/fstab: static file system information.
- #
- # Use 'blkid' to print the universally unique identifier for a device; this may
- # be used with UUID= as a more robust way to name devices that works even if
- # disks are added and removed. See fstab(5).
- #
- # <file system> <mount point> <type> <options> <dump> <pass>
- UUID=A2FF-3524 /efi vfat defaults,noatime 0 2
- UUID=494fbd54-2c13-41eb-bd27-2374f8201c5d / ext4 defaults,noatime 0 1
- tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
- # //10.192.10.149/Colossus /home/htpc/Colossus cifs uid=htpc,gid=htpc,credentials=/home/htpc/.smbcredentials,rw,nofail 0 0
- //10.192.10.149/Colossus /home/htpc/Colossus cifs x-systemd.automount,x-systemd.idle-timeout=1min,rw,uid=htpc,gid=htpc,credentials=/home/htpc/.smbcredentials,iocharset=utf8,rw,user,nofail,vers=2.0 0 0
- /dev/disk/by-uuid/863dabb9-9dca-4529-9f53-15635634f029 /home/htpc/Local\040Storage auto nosuid,nodev,nofail,x-gvfs-show 0 0
- [[email protected] ~]$ sudo mount /dev/nvme0n1p1 /mnt/efi
- [[email protected] ~]$ sudo arch-chroot /mnt
- [root@EndeavourOS /]# bootctl install
- Copied "/usr/lib/systemd/boot/efi/systemd-bootx64.efi" to "/efi/EFI/systemd/systemd-bootx64.efi".
- Copied "/usr/lib/systemd/boot/efi/systemd-bootx64.efi" to "/efi/EFI/BOOT/BOOTX64.EFI".
- ⚠ Mount point '/efi' which backs the random seed file is world accessible, which is a security hole! ⚠
- ⚠ Random seed file '/efi/loader/random-seed' is world accessible, which is a security hole! ⚠
- Random seed file /efi/loader/random-seed successfully refreshed (32 bytes).
- Created EFI boot entry "Linux Boot Manager".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement