You are not logged in.
Hi,
First of all, sorry about my english, polish is my first language.
I have problem with instalation on PC. After instalation, when in grub i choose system, after "Loading initial ramdisk" system completly freeze. Nothing can do, even can't numlock change on keyboard.
I have:
1 SSD
2 HDDs in hardware RAID1
On SSD i have:
EFI
MSR
Win7 root partition,
Boot partition
LVM with arch root partition and, in future, debian root (now its free).
On RAID1 i have:
Win7 data
LVM with: swap, swap for deb, home, home for deb, var, var for deb
lsblk is:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 1.7G 1 loop /run/archiso/sfs/root-image
sda 8:0 0 223.6G 0 disk
├─sda1 8:1 0 2.1G 0 part /mnt/boot/efi
├─sda2 8:2 0 128M 0 part
├─sda3 8:3 0 142.4G 0 part
├─sda4 8:4 0 250M 0 part
├─sda5 8:5 0 2G 0 part /mnt/boot
└─sda6 8:6 0 76.7G 0 part
└─SSDluks 253:0 0 76.7G 0 crypt
├─luksSSD-root 253:1 0 46G 0 lvm /mnt
└─luksSSD-root--kali 253:2 0 30.7G 0 lvm
sdb 8:16 0 931.5G 0 disk
└─md126 9:126 0 931.5G 0 raid1
├─md126p1 259:0 0 128M 0 md
├─md126p2 259:1 0 360.7G 0 md
└─md126p3 259:2 0 570.7G 0 md
└─RAIDluks 253:3 0 570.7G 0 crypt
├─luksRAID-swap 253:4 0 8G 0 lvm [SWAP]
├─luksRAID-swap--kali
│ 253:5 0 8G 0 lvm
├─luksRAID-var 253:6 0 8G 0 lvm /mnt/var
├─luksRAID-var--kali
│ 253:7 0 8G 0 lvm
├─luksRAID-home 253:8 0 350G 0 lvm /mnt/home
└─luksRAID-home--kali
253:9 0 188.7G 0 lvm
sdc 8:32 0 931.5G 0 disk
└─md126 9:126 0 931.5G 0 raid1
├─md126p1 259:0 0 128M 0 md
├─md126p2 259:1 0 360.7G 0 md
└─md126p3 259:2 0 570.7G 0 md
└─RAIDluks 253:3 0 570.7G 0 crypt
├─luksRAID-swap 253:4 0 8G 0 lvm [SWAP]
├─luksRAID-swap--kali
│ 253:5 0 8G 0 lvm
├─luksRAID-var 253:6 0 8G 0 lvm /mnt/var
├─luksRAID-var--kali
│ 253:7 0 8G 0 lvm
├─luksRAID-home 253:8 0 350G 0 lvm /mnt/home
└─luksRAID-home--kali
253:9 0 188.7G 0 lvm
sr0 11:0 1 1024M 0 rom
and blkid:
/dev/sdb: TYPE="isw_raid_member"
/dev/sda1: UUID="A2DB-BB52" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="0ccac855-0652-4173-b6ac-37552e3183b9"
/dev/sda3: UUID="7C0037FE0037BDC8" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="30ba8682-afd7-4c97-b60b-ff1f13b8fa6d"
/dev/sda4: UUID="54C05020C0500A9E" TYPE="ntfs" PARTUUID="5b073190-9532-47bf-8f0d-60095ab62b6f"
/dev/sda5: UUID="3ffdf08d-8a55-4760-b162-bc03f1287419" TYPE="ext2" PARTUUID="7d194a3f-91db-40ea-8a21-f1910ae1a498"
/dev/sda6: UUID="87acec86-fce1-4188-bbaa-804e4f571e7b" TYPE="crypto_LUKS" PARTUUID="d61d05e2-731d-4d86-8d2a-de8aebbaf8ca"
/dev/sdc: TYPE="isw_raid_member"
/dev/loop0: TYPE="squashfs"
/dev/md126p2: UUID="ACE4257DE4254B42" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="962e1092-69c6-4663-bd49-07002dcc40ee"
/dev/md126p3: UUID="6c6a1dc9-e3de-4184-a695-7e535d78de57" TYPE="crypto_LUKS" PARTUUID="8782837a-89ed-4926-841f-d8391ad45b53"
/dev/mapper/SSDluks: UUID="zIwitb-VRLR-cHvA-67eL-0PF6-7aBm-MpthxO" TYPE="LVM2_member"
/dev/mapper/luksSSD-root: UUID="0dcd67c5-c963-4d50-acc0-22ee2a2205b9" UUID_SUB="05f6c9e0-9c9e-4b7a-8ccb-606b9db6ea21" TYPE="btrfs"
/dev/mapper/luksSSD-root--kali: UUID="35572b76-f399-469b-8687-040c36ac14cf" UUID_SUB="da95d091-263d-4bab-9b6f-b40ce1596725" TYPE="btrfs"
/dev/mapper/RAIDluks: UUID="Ejh3VP-2tDf-IJiV-EoKG-IPGG-VdCd-1xkcKn" TYPE="LVM2_member"
/dev/mapper/luksRAID-swap: UUID="6ddd84bd-8f1c-4290-b89b-ec00fe091c8e" TYPE="swap"
/dev/mapper/luksRAID-swap--kali: UUID="bd62eba5-5cd8-49fd-9c9c-41b22612974d" TYPE="swap"
/dev/mapper/luksRAID-var: UUID="8ce89764-ec2f-480d-9328-453f08278e09" UUID_SUB="880813f2-b24b-47c2-abd6-499f9f6d2ccc" TYPE="btrfs"
/dev/mapper/luksRAID-var--kali: UUID="88741a75-586b-4ccf-b9e5-f673804002a6" UUID_SUB="92dd07c9-c395-4b20-bfae-430ca9cdaf65" TYPE="btrfs"
/dev/mapper/luksRAID-home: UUID="497c4cc3-b2e3-4936-a5e6-fc19e55c6ba8" UUID_SUB="85fcf2bb-b20a-430b-bbf7-3562570970bf" TYPE="btrfs"
/dev/mapper/luksRAID-home--kali: UUID="3f5a2882-7fdb-4813-9db1-e0a182e36386" UUID_SUB="322c6392-ea4d-43e4-b42c-be30ebc4a99c" TYPE="btrfs"
/dev/sda2: PARTLABEL="Microsoft reserved partition" PARTUUID="7b32d860-30c7-4049-a935-b4024dc1dfc2"
/dev/md126: PTUUID="2bc4779b-7400-4f1e-8bf6-abb1d231b347" PTTYPE="gpt"
/dev/md126p1: PARTLABEL="Microsoft reserved partition" PARTUUID="f1d62778-c3a1-4379-91ca-9efbef05d650"
grub defaults:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="cryptdevice=UUID=87acec86-fce1-4188-bbaa-804e4f571e7b:luksSSD cryptdevice2=UUID=6c6a1dc9-e3de-4184-a695-7e535d78de57:luksRAID root=/dev/mapper/luksSSD-root rootflags=subvol=@root"
GRYUB_ENABLE_CRYPTODISK=y
GRUB_CMDLINE_LINUX=""
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos lvm btrfs"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
fstab:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# UUID=0dcd67c5-c963-4d50-acc0-22ee2a2205b9
/dev/mapper/luksSSD-root / btrfs rw,noatime,ssd,discard,space_cache,subvolid=257,subvol=/@root,subvol=@root 0 0
# UUID=497c4cc3-b2e3-4936-a5e6-fc19e55c6ba8
/dev/mapper/luksRAID-home /home btrfs rw,relatime,space_cache,subvolid=257,subvol=/@home,subvol=@home 0 0
# UUID=8ce89764-ec2f-480d-9328-453f08278e09
/dev/mapper/luksRAID-var /var btrfs rw,relatime,space_cache,subvolid=5,subvol=/ 0 0
# UUID=3ffdf08d-8a55-4760-b162-bc03f1287419
/dev/sda5 /boot ext2 rw,noatime,ssd,discard,block_validity,barrier,user_xattr,acl 0 2
# UUID=A2DB-BB52
/dev/sda1 /boot/efi vfat rw,noatime,ssd,discard,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
# UUID=6ddd84bd-8f1c-4290-b89b-ec00fe091c8e
/dev/mapper/luksRAID-swap none swap defaults 0 0
mkinitcpio:
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES="piix ide_disk reiserfs"
MODULES=""
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=""
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
FILES=""
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
# HOOKS="base"
#
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS="base udev autodetect block filesystems"
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS="base udev block filesystems"
#
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS="base udev block mdadm encrypt filesystems"
#
## This setup loads an lvm2 volume group on a usb device.
# HOOKS="base udev block lvm2 filesystems"
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS="base udev autodetect modconf block encrypt encrypt2 lvm2 filesystems keyboard fsck btrfs"
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=""
and history of install commands:
lsblk
cryptsetup -v --key-size 512 luksFormat /dev/sda6
cryptsetup -v --key-size 512 luksFormat /dev/md126p3
cryptsetup open --type luks /dev/sda6 SSDluks
cryptsetup open --type luks /dev/md126p3 RAIDluks
pvcreate /dev/mapper/SSDluks
pvcreate /dev/mapper/RAIDluks
vgcreate luksSSD /dev/mapper/SSDluks
vgcreate luksRAID /dev/mapper/RAIDluks
vgdisplay
lvcreate -L 46G luksSSD -n root
lvcreate -l 100%FREE luksSSD -n root-kali
lvcreate -L 8G luksRAID -n swap
lvcreate -L 8G luksRAID -n swap-kali
lvcreate -L 8G luksRAID -n var
lvcreate -L 8G luksRAID -n var-kali
lvcreate -L 350G luksRAID -n home
lvcreate -l 100%FREE luksRAID -n home-kali
vgdisplay
mkfs.btrfs /dev/mapper/luksSSD-root
mkfs.btrfs /dev/mapper/luksSSD-root--kali
mkfs.btrfs /dev/mapper/luksRAID-var
mkfs.btrfs /dev/mapper/luksRAID-var--kali
mkfs.btrfs /dev/mapper/luksRAID-home
mkfs.btrfs /dev/mapper/luksRAID-home--kali
mkswap /dev/mapper/luksRAID-swap
mkswap /dev/mapper/luksRAID-swap--kali
*for ssh
passwd
systemctl start sshd.service
wifi-menu
ifconfig
*connect via ssh
swapon /dev/mapper/luksRAID-swap
ls /mnt
mount /dev/mapper/luksSSD-root /mnt
btrfs subvolume create /mnt/@root
umount /mnt
mount -o noatime,discard,ssd,defaults,subvol=@root /dev/mapper/luksSSD-root /mnt
mount /dev/mapper/luksRAID-home /mnt/home
btrfs subvolume create /mnt/home/@home
umount /mnt/home/
ls /mnt/
mount -o subvol=@home /dev/mapper/luksRAID-home /mnt/home
mount /dev/mapper/luksRAID-var /mnt/var
mount /dev/sda5 /mnt/boot
mkdir /mnt/boot/efi
mount /dev/sda1 /mnt/boot/efi
pacstrap /mnt base base-devel nano btrfs-progs openssh wpa_supplicant dialog
genfstab -p /mnt >> /mnt/etc/fstab
nano /mnt/etc/fstab
nano /mnt/etc/lvm/lvm.conf
nano /mnt/etc/crypttab
pacman -S grub
ls /usr/share/zoneinfo/Europe/
ls /usr/share/zoneinfo/Europe/Warsaw
ln -s /usr/share/zoneinfo/Europe/Warsaw
hwclock --systohc --utc
ln -s /usr/share/zoneinfo/Europe/Warsaw /etc/localtime
locale-gen
pacman -S os-prober
pacman -S ttf-dejavu wget net-tools networkmanager network-manager-applet freetype2
pacman -S efibootmgr
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub
mkinitcpio -p linux
grub-mkconfig -o /boot/grub/grub.cfg
grub-mkconfig -o /boot/efi/EFI/grub/grub.cfg
passwd
useradd -m -g users -G audio,disk,network,optical,power,storage,video,rfkill,wheel -s /bin/bash skawikk
passwd skawikk
pacman -S xorg-server xf86-input-evdev xf86-input-mouse xf86-input-keyboard xf86-video-vesa xorg-xinit mesa linux-headers gnome nvidia
pacman -S alsa-firmware alsa-lib alsa-plugins alsa-utils pulseaudio pulseaudio-alsa libcanberra libcanberra-pulse
pacman -S zip unzip unrar guake fish
pacman -R gnome-terminal
pacman -S bash-completion openssh zsh sudo dhclient xorg alsa-{plugins,utils,firmware} pulseaudio pulseaudio-{equalizer,alsa,gconf} nvidia-utils nvidia-settings xorg-server-devel opencl-nvidia
pacman -S yaourt
pacman -S rsync
pacman -S customizepkg
pacman -S gdm
systemctl enable gdm
history
exit
Offline
Hi,
anyone, anything...?
If that matters, i'm using hardware raid on asus z170 motherboard (intel).
M.
Offline
grub defaults:
GRYUB_ENABLE_CRYPTODISK=y
Is this not a syntax error?
Offline
Hi,
It's not about that;/
Still the same.
M.
Offline
Hi,
Sorry about post after post, but I still have the same issue.
Any help?
Offline
Three strikes, and you are out
https://wiki.archlinux.org/index.php/Co … ct#Bumping
I suspect without proof that it remains an Antergos problem.
https://wiki.archlinux.org/index.php/Co … .2Aonly.2A
Closed. Dust binned.
Edit: Reopened on appeal. OP is trying to install a pure Arch system.
Last edited by ewaller (2017-09-08 15:49:34)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Hi guys, i tried many times to run system.
Arch installed without luks and lvm works great, but on luks freezeing.
How can i go to kernel log or startup log from my system? I tried from chroot, but /var/log is empty, and kernel log is only from chroot-host environment.
This is my config now (mkinitcpio and grub)
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="cryptdevice=UUID=5729c1bc-e401-49c4-8fe3-3e632004b2cc:luksSSD-root:allow$
GRUB_CMDLINE_LINUX=""
GRUB_ENABLE_CRYPTODISK=y
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos lvm"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES="piix ide_disk reiserfs"
MODULES=""
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES="/sbin/mdmon"
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
FILES=""
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
# HOOKS="base"
#
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS="base udev autodetect block filesystems"
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS="base udev block filesystems"
#
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS="base udev block mdadm encrypt filesystems"
#
## This setup loads an lvm2 volume group on a usb device.
# HOOKS="base udev block lvm2 filesystems"
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS="base udev autodetect keyboard keymap modconf block mdadm_udev encrypt encrypt2 filesystems"
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=""
I wan't to try with systemd boot loader, but i can't figure out how to run two encrypt devices.
M.
Offline
Hi,
First of all I assume before the pacman -S grub command you have executed arch-chroot /mnt /bin/bash and it is just missing from your command history. If this is not the case you might have only installed grub in the live system.
I am not an expert on this topic but I would start by going back to something simpler, like booting into the root partition and getting rid of the rest of mounts from fstab. Once that works you can add the rest of it. the following line in your grub defaults looks wrong to me:
GRUB_CMDLINE_LINUX_DEFAULT="cryptdevice=UUID=5729c1bc-e401-49c4-8fe3-3e632004b2cc:luksSSD-root:allow$
I think it should only contain the lvm pool name which should be luksSSD for you, instead of luksSSD-root. Also I don't see where the UUID is coming from that you are using right know but it should be the UUID of /dev/sda6 I think. Can you try to override the boot command line to the following:
cryptdevice=/dev/sda6:luksSSD root=/dev/mapper/luksSSD-root
And see if it makes any difference?
Cheers,
Gym
Offline
Hi, i replaced that in grub, also i was change Disable UUID to TRUE and remove encrypt2 hook from mkinitcpio.
but still freeze after:
Loading Linux...
Loading initial ramdisk...
everything stucks.
/// yes;) chroot is missing in command history.
Offline
Can you post the content of your /boot/grub/grub.cfg?
Do you have your initramfs-linux.img under /boot?
Grub might be looking for the initramfs at the wrong place or it might be missing.
What happens if you try to boot the fallback image?
Offline
You can also try adding "debug" to the kernel boot command line so you might see more output.
Offline
Hi,
i added debug to kernell boot command, bud nothing else happen than freeze.
i have linux.img under /boot, tried even copy under boot/efi and boot/efi/;)
[root@archiso /]# ls /boot/
efi grub initramfs-linux-fallback.img initramfs-linux.img initramfs-linux-lts-fallback.img initramfs-linux-lts.img lost+found vmlinuz-linux vmlinuz-linux-lts
here's my grub.cfg:
#
# DO NOT EDIT THIS FILE
#
# 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
insmod lvm
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
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_gpt
insmod cryptodisk
insmod luks
insmod gcry_rijndael
insmod gcry_rijndael
insmod gcry_sha256
insmod lvm
insmod btrfs
cryptomount -u 5729c1bce40149c48fe33e632004b2cc
set root='lvmid/1cKn4s-Icfs-SV4l-mLUh-B0nA-fA3n-HTBMTV/VruU1n-WbE4-bMai-e7nK-ECOA-r73F-SRdCCT'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/1cKn4s-Icfs-SV4l-mLUh-B0nA-fA3n-HTBMTV/VruU1n-WbE4-bMai-e7nK-ECOA-r73F-SRdCCT' 1cf400ad-36c2-436a-adc2-f7c336a01414
else
search --no-floppy --fs-uuid --set=root 1cf400ad-36c2-436a-adc2-f7c336a01414
fi
font="/@root/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
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1cf400ad-36c2-436a-adc2-f7c336a01414' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 cf22be9a-9349-4158-a471-7964cc412bd4
else
search --no-floppy --fs-uuid --set=root cf22be9a-9349-4158-a471-7964cc412bd4
fi
echo 'Loading Linux linux-lts ...'
linux /vmlinuz-linux-lts root=/dev/mapper/luksSSD-root rw rootflags=subvol=@root cryptdevice=/dev/sda6:luksSSD:allow-discards root=/dev/mapper/luksSSD-root
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-lts.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-1cf400ad-36c2-436a-adc2-f7c336a01414' {
menuentry 'Arch Linux, with Linux linux-lts' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-1cf400ad-36c2-436a-adc2-f7c336a01414' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 cf22be9a-9349-4158-a471-7964cc412bd4
else
search --no-floppy --fs-uuid --set=root cf22be9a-9349-4158-a471-7964cc412bd4
fi
echo 'Loading Linux linux-lts ...'
linux /vmlinuz-linux-lts root=/dev/mapper/luksSSD-root rw rootflags=subvol=@root cryptdevice=/dev/sda6:luksSSD:allow-discards root=/dev/mapper/luksSSD-root
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-lts.img
}
menuentry 'Arch Linux, with Linux linux-lts (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-fallback-1cf400ad-36c2-436a-adc2-f7c336a01414' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 cf22be9a-9349-4158-a471-7964cc412bd4
else
search --no-floppy --fs-uuid --set=root cf22be9a-9349-4158-a471-7964cc412bd4
fi
echo 'Loading Linux linux-lts ...'
linux /vmlinuz-linux-lts root=/dev/mapper/luksSSD-root rw rootflags=subvol=@root cryptdevice=/dev/sda6:luksSSD:allow-discards root=/dev/mapper/luksSSD-root
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-lts-fallback.img
}
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-1cf400ad-36c2-436a-adc2-f7c336a01414' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 cf22be9a-9349-4158-a471-7964cc412bd4
else
search --no-floppy --fs-uuid --set=root cf22be9a-9349-4158-a471-7964cc412bd4
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=/dev/mapper/luksSSD-root rw rootflags=subvol=@root cryptdevice=/dev/sda6:luksSSD:allow-discards root=/dev/mapper/luksSSD-root
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-1cf400ad-36c2-436a-adc2-f7c336a01414' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 cf22be9a-9349-4158-a471-7964cc412bd4
else
search --no-floppy --fs-uuid --set=root cf22be9a-9349-4158-a471-7964cc412bd4
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=/dev/mapper/luksSSD-root rw rootflags=subvol=@root cryptdevice=/dev/sda6:luksSSD:allow-discards root=/dev/mapper/luksSSD-root
echo 'Loading initial ramdisk ...'
initrd /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/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 ###
Offline
After the computer freezes, do you still see the error message or the screen goes completely blank?
Also, you can try to boot manually from the grub cmd to see if the ramdisk is found. You can try something like:
grub> set root=(hd0,5) # or (hd0, gpt5)
grub> linux /vmlinuz-linux
grub> initrd /<TAB>
This should list all the available images.
Offline