Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Contents:
- 1) grub.cfg:
- 2) fstab
- 3) #lsblk -fa
- ---
- 1) grub.cfg:
- #
- # DO NOT EDIT THIS FILE
- # -CS too late, trying to edit LUKS encryption
- # It is automatically generated by grub-mkconfig using templates
- # from /etc/grub.d and settings from /etc/default/grub
- #
- ### BEGIN /etc/grub.d/00_header ###
- insmod part_gpt
- insmod part_msdos
- if [ -s $prefix/grubenv ]; then
- load_env
- fi
- set default="0"
- if [ x"${feature_menuentry_id}" = xy ]; then
- menuentry_id_option="--id"
- else
- menuentry_id_option=""
- fi
- export menuentry_id_option
- if [ "${prev_saved_entry}" ]; then
- set saved_entry="${prev_saved_entry}"
- save_env saved_entry
- set prev_saved_entry=
- save_env prev_saved_entry
- set boot_once=true
- fi
- function savedefault {
- if [ -z "${boot_once}" ]; then
- saved_entry="${chosen}"
- save_env saved_entry
- fi
- }
- function load_video {
- if [ x$feature_all_video_module = xy ]; then
- insmod all_video
- else
- insmod efi_gop
- insmod efi_uga
- insmod ieee1275_fb
- insmod vbe
- insmod vga
- insmod video_bochs
- insmod video_cirrus
- fi
- }
- if [ x$feature_default_font_path = xy ] ; then
- font=unicode
- else
- insmod part_msdos
- insmod ext2
- set root='hd0,msdos5'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 ad4103fa-d940-47ca-8506-301d8071d467
- else
- search --no-floppy --fs-uuid --set=root ad4103fa-d940-47ca-8506-301d8071d467
- fi
- font="/usr/share/grub/unicode.pf2"
- fi
- if loadfont $font ; then
- set gfxmode=auto
- load_video
- insmod gfxterm
- set locale_dir=$prefix/locale
- set lang=en_US
- insmod gettext
- fi
- terminal_input console
- terminal_output gfxterm
- set timeout=15
- ### END /etc/grub.d/00_header ###
- ### BEGIN /etc/grub.d/10_linux ###
- menuentry 'Arch Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-ad4103fa-d940-47ca-8506-301d8071d467' {
- load_video
- set gfxpayload=keep
- insmod gzio
- insmod part_msdos
- insmod ext2
- set root='hd0,msdos5'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 ad4103fa-d940-47ca-8506-301d8071d467
- else
- search --no-floppy --fs-uuid --set=root ad4103fa-d940-47ca-8506-301d8071d467
- fi
- echo 'Loading Linux core repo kernel ...'
- linux /boot/vmlinuz-linux root=/dev/mapper/cryptVG-root ro rd.md=0 rd.dm=0 SYSFONT=True rd.lvm.lv=cryptVG/root KEYTABLE=us rd.lvm.lv=cryptVG/swap LANG=en_US.UTF-8 rd.luks.uuid=luks-93b3841a-917c-4266-ae14-df6f145b2c72 vga=0x318 3
- ###linux /boot/vmlinuz-linux root=UUID=ad4103fa-d940-47ca-8506-301d8071d467 vga=0x318 3
- echo 'Loading initial ramdisk ...'
- initrd /boot/initramfs-linux.img
- }
- menuentry 'Arch Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-ad4103fa-d940-47ca-8506-301d8071d467' {
- load_video
- set gfxpayload=keep
- insmod gzio
- insmod part_msdos
- insmod ext2
- set root='hd0,msdos5'
- if [ x$feature_platform_search_hint = xy ]; then
- search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 ad4103fa-d940-47ca-8506-301d8071d467
- else
- search --no-floppy --fs-uuid --set=root ad4103fa-d940-47ca-8506-301d8071d467
- fi
- echo 'Loading Linux core repo kernel ...'
- linux /boot/vmlinuz-linux root=UUID=ad4103fa-d940-47ca-8506-301d8071d467 rw quiet
- echo 'Loading initial ramdisk ...'
- initrd /boot/initramfs-linux-fallback.img
- }
- ### END /etc/grub.d/10_linux ###
- ### BEGIN /etc/grub.d/20_linux_xen ###
- ### END /etc/grub.d/20_linux_xen ###
- ### BEGIN /etc/grub.d/20_memtest86+ ###
- ### END /etc/grub.d/20_memtest86+ ###
- ### BEGIN /etc/grub.d/30_os-prober ###
- ### END /etc/grub.d/30_os-prober ###
- ### BEGIN /etc/grub.d/40_custom ###
- # This file provides an easy way to add custom menu entries. Simply type the
- # menu entries you want to add after this comment. Be careful not to change
- # the 'exec tail' line above.
- ### END /etc/grub.d/40_custom ###
- ### BEGIN /etc/grub.d/41_custom ###
- if [ -f ${config_directory}/custom.cfg ]; then
- source ${config_directory}/custom.cfg
- elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
- source $prefix/custom.cfg;
- fi
- ### END /etc/grub.d/41_custom ###
- ---
- 2) fstab
- #
- # /etc/fstab
- # Created by anaconda on Thu Jun 21 16:41:26 2012
- #
- # Accessible filesystems, by reference, are maintained under '/dev/disk'
- # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
- #
- /dev/mapper/cryptVG-root / ext4 defaults 1 1
- UUID=6e9ac995-d1eb-4b9c-86c6-b6c6d267d0d1 /boot ext4 defaults 1 2
- /dev/mapper/cryptVG-home /home ext4 defaults 1 2
- /dev/mapper/cryptVG-local /usr/local ext4 defaults 1 2
- /dev/mapper/cryptVG-swap swap swap defaults 0 0
- ---
- 3) #lsblk -fa
- NAME FSTYPE LABEL UUID MOUNTPOINT
- fd0
- sda
- ├─sda1 vfat 6087-9C99
- ├─sda2 ext4 8e7a60b2-bc28-4b73-b197-57297756d565
- └─sda3 crypto_LUKS 93b3841a-917c-4266-ae14-df6f145b2c72
- └─cryptVG LVM2_member NFVLd0-ng0f-3X5k-1RBc-AySl-53cH-xXKLz6
- ├─cryptVG-root ext4 4164db7e-888b-44f3-a70e-32860c1b837a
- ├─cryptVG-swap swap 02550bd1-6d01-4016-b2a5-a62e82552373
- ├─cryptVG-home ext4 home eef987d1-09f6-442f-b6d3-6739b7516dce
- └─cryptVG-local ext4 local d4dd4ade-471b-4e28-a265-4b383734a8ec
- sdb
- └─sdb1 vfat KINGSTON CD1E-CB07 /mnt/usb
- sr0 iso9660 ARCH_201308 2013-08-01-08-13-08-00 /run/archiso/bootmnt
- loop0 squashfs /run/archiso/sfs/root-image
- loop1 ext4 738e82f4-d1e0-4c6c-bc2b-7c518a20a9cc
- └─arch_root-image ext4 738e82f4-d1e0-4c6c-bc2b-7c518a20a9cc /
- loop2 ext4 738e82f4-d1e0-4c6c-bc2b-7c518a20a9cc
- └─arch_root-image ext4 738e82f4-d1e0-4c6c-bc2b-7c518a20a9cc /
- loop3
- loop4
- loop5
- loop6
- loop7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement