Skip to content

Instantly share code, notes, and snippets.

@yannick
Created December 25, 2016 09:31
Show Gist options
  • Select an option

  • Save yannick/565983405321730b616c6bf156557758 to your computer and use it in GitHub Desktop.

Select an option

Save yannick/565983405321730b616c6bf156557758 to your computer and use it in GitHub Desktop.
[root@archiso /]# fdisk -l
Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 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: 00EEF3FE-772D-493B-A040-289A3AFD319F
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 923647 921600 450M Windows recovery environment
/dev/nvme0n1p2 923648 1128447 204800 100M EFI System
/dev/nvme0n1p3 1128448 1161215 32768 16M Microsoft reserved
/dev/nvme0n1p4 1161216 78616575 77455360 37G Microsoft basic data
/dev/nvme0n1p5 78616576 79026731 410156 200.3M EFI System
/dev/nvme0n1p6 79026732 1000215182 921188451 439.3G Linux filesystem
Disk /dev/sda: 7.4 GiB, 7902068736 bytes, 15433728 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: 0x4032ce55
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 0 1636351 1636352 799M 0 Empty
/dev/sda2 172 82091 81920 40M ef EFI (FAT-12/16/32)
Disk /dev/loop0: 348.7 MiB, 365662208 bytes, 714184 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
[root@archiso /]# blkid /dev/nvme0n1p6
/dev/nvme0n1p6: LABEL="root" UUID="26a88024-a389-4536-89d2-80f7e5eb867f" TYPE="ext4" PARTLABEL="linux" PARTUUID="f56632c5-6593-48e2-a5d7-dedeb5bdc125"
[root@archiso /]# mount
/dev/nvme0n1p6 on / type ext4 (rw,relatime,data=ordered)
/dev/nvme0n1p2 on /EFI type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/nvme0n1p5 on /EFI2 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (ro,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=8120616k,nr_inodes=2030154,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
tmp on /tmp type tmpfs (rw,nosuid,nodev)
airootfs on /etc/resolv.conf type overlay (rw,relatime,lowerdir=/run/archiso/sfs/airootfs,upperdir=/run/archiso/cowspace/persistent_ARCH_201612/x86_64/upperdir,workdir=/run/archiso/cowspace/persistent_ARCH_201612/x86_64/workdir)
[root@archiso /]# ls /EFI
boot EFI loader systemd
[root@archiso /]# ls /EFI2
Boot EFI loader refind_linux.conf systemd 'System Volume Information'
[root@archiso /]# cat /EFI2/refind_linux.conf
"THIS IS VFAT" "ro root=/dev/nvme0n1p6 initrd=initramfs-linux.img add_efi_memmap"
"Boot with standard options" "ro root=UUID=26a88024-a389-4536-89d2-80f7e5eb867f add_efi_memmap"
"Boot to single-user mode" "ro root=/dev/nvme0n1p6 single"
"Boot with minimal options" "ro root=/dev/nvme0n1p6"
[root@archiso /]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment