- Joined
- May 15, 2006
Lenovo W530 - Stuck at "Loading initial ramdisk" after installation (Arch Linux)
Hello all, I recently picked up the newly released Lenovo Thinkpad W530 and it is a great system. I'm having some trouble getting Arch Linux running and I'm not finding too much help on the Arch forums, nor have I seen others having similar issues.
System specs:
Processor - Intel Core i7-3720QM
System graphics - NVIDIA Quadro K1000M
Total memory - 32 GB RAM
Solid State Drive - 128gb Crucial mSATA m4 (/boot and / are here)
Hard drive - 500GB 5400rpm
For my recent reinstall, I've used the newest ISO download, which uses the scripts instead of the AIF. At the moment, the 500gb drive is untouched, so I'm only installing to the mSATA SSD that I added. When I install Arch without LUKS drive encryption, everything works perfectly fine. Following the exact same steps, except for adding LUKS encryption (and required modules/hooks) on the RAW drive (see here for clarification!), the system gets stuck. I've verified that my hooks are in the proper order (encrypt, lvm2, filesystems) and I've regenerated the ramdisk using mkinitcpio. When the system gets to the message "Loading initial ramdisk", there is hard drive activity indicating that it is loading files from the hard drive, but it stops shortly after and never continues. Putting GRUB2 in debug mode doesn't really give much information, except that this is the last thing it shows before it restarts (??) the laptop.
What I find interesting is that the command "hwdetect --modules" returns nothing. I know this should return a lot more than that. Here are relevant configuration files, as well.
I'm mainly stuck because there is no error message, which is the incredibly frustrating part. Errors are searchable and precise, whereas "stuck at loading initial ramdisk" brings up useless and unrelated results.
Hello all, I recently picked up the newly released Lenovo Thinkpad W530 and it is a great system. I'm having some trouble getting Arch Linux running and I'm not finding too much help on the Arch forums, nor have I seen others having similar issues.
System specs:
Processor - Intel Core i7-3720QM
System graphics - NVIDIA Quadro K1000M
Total memory - 32 GB RAM
Solid State Drive - 128gb Crucial mSATA m4 (/boot and / are here)
Hard drive - 500GB 5400rpm
For my recent reinstall, I've used the newest ISO download, which uses the scripts instead of the AIF. At the moment, the 500gb drive is untouched, so I'm only installing to the mSATA SSD that I added. When I install Arch without LUKS drive encryption, everything works perfectly fine. Following the exact same steps, except for adding LUKS encryption (and required modules/hooks) on the RAW drive (see here for clarification!), the system gets stuck. I've verified that my hooks are in the proper order (encrypt, lvm2, filesystems) and I've regenerated the ramdisk using mkinitcpio. When the system gets to the message "Loading initial ramdisk", there is hard drive activity indicating that it is loading files from the hard drive, but it stops shortly after and never continues. Putting GRUB2 in debug mode doesn't really give much information, except that this is the last thing it shows before it restarts (??) the laptop.
What I find interesting is that the command "hwdetect --modules" returns nothing. I know this should return a lot more than that. Here are relevant configuration files, as well.
Code:
[root@archiso /]# hwdetect --modules
MODULES=()
Code:
/etc/rc.conf
#
# /etc/rc.conf - configuration file for initscripts
#
# Most of rc.conf has been replaced by various other configuration
# files. See archlinux(7) for details.
#
# For more details on rc.conf see rc.conf(5).
#
DAEMONS=(syslog-ng network crond)
# Storage
#
# USEDMRAID="no"
USELVM="yes"
# Network
#
# interface=
# address=
# netmask=
# gateway=
Code:
/boot/grub/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
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 loadfont unicode ; 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=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-5eaf1c9a-4e24-4a08-8967-8e60d718df67' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 C5A7-F02D
else
search --no-floppy --fs-uuid --set=root C5A7-F02D
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=/dev/mapper/lisp-root cryptdevice=/dev/sdb2:lisp ro quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
}
menuentry 'Arch GNU/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-5eaf1c9a-4e24-4a08-8967-8e60d718df67' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd1,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 C5A7-F02D
else
search --no-floppy --fs-uuid --set=root C5A7-F02D
fi
echo 'Loading Linux core repo kernel ...'
linux /vmlinuz-linux root=/dev/mapper/lisp-root cryptdevice=/dev/sdb2:lisp ro quiet
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/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 ###
Code:
/etc/mkinitcpio.conf
# 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="ext3 ext4 dm-crypt dm_mod"
# 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.
# Some users may wish to include modprobe.conf for custom module options
# like so:
# FILES="/etc/modprobe.d/modprobe.conf"
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 pata scsi sata filesystems"
#
## This is identical to the above, except the old ide subsystem is
## used for IDE devices instead of the new pata subsystem.
# HOOKS="base udev autodetect ide scsi sata filesystems"
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS="base udev pata scsi sata usb 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 pata mdadm encrypt filesystems"
#
## This setup loads an lvm2 volume group on a usb device.
# HOOKS="base udev usb lvm2 filesystems"
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS="base udev autodetect pata scsi sata encrypt lvm2 filesystems usbinput fsck"
# 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_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=""
Last edited: