You are not logged in.

#1 2014-05-06 20:19:46

yellowjk
Member
From: Rhode Island
Registered: 2011-05-16
Posts: 18
Website

Server Not Booting "unable to find root device"

Hello,

Over almost 3 years ago i installed arch on my server with a combination of raid1 and lvm. 

After after the last shutdown i have been getting the error of "unable to find root device" and being dropped into emergency shell

I have booted into the latest live environment and arch-chroot'd. one thing to mention is that the live usb automatically assembles each of the 4 raid1 partions.

My raid is comprised of sda & sdb

my live usb is sdc

I have tried the usual fixes: chroot & pacman -Syyu & mkinitcpio -p linux

I have reviewed my config files and can't figure it out.

ricky ~ $ blkid
/dev/sda1: UUID="3b75ce71-107e-ce9e-5241-990451489ef3" TYPE="linux_raid_member" 
/dev/sda2: UUID="23c26c6a-2263-9279-79af-1f8399ad5810" UUID_SUB="d84e3d12-cec8-f90f-3ee0-d2ac6d4f6ffc" LABEL="archiso:1" TYPE="linux_raid_member" 
/dev/sda5: UUID="486d40d9-b1cb-a410-8140-53e65be71fea" UUID_SUB="8f77cc91-7b4f-679c-225f-c6eafbed3572" LABEL="archiso:2" TYPE="linux_raid_member" 
/dev/sda6: UUID="51514222-2001-7ed9-9371-6b39f08f79c5" UUID_SUB="6c96ccb4-0979-a1a2-ea6c-d969e0ffcfb0" LABEL="archiso:3" TYPE="linux_raid_member" 
/dev/sda7: UUID="b0f0f922-3a33-7933-baff-a6a80353503c" UUID_SUB="93f83cf2-f36b-4d11-4290-8d13ad90f376" LABEL="archiso:4" TYPE="linux_raid_member" 
/dev/sdb1: UUID="3b75ce71-107e-ce9e-5241-990451489ef3" TYPE="linux_raid_member" 
/dev/sdb2: UUID="23c26c6a-2263-9279-79af-1f8399ad5810" UUID_SUB="c5cf0669-0a34-4f46-7543-201ccd3b608a" LABEL="archiso:1" TYPE="linux_raid_member" 
/dev/sdb5: UUID="486d40d9-b1cb-a410-8140-53e65be71fea" UUID_SUB="2a18d546-eb0b-84c0-709e-ed8d825f8e81" LABEL="archiso:2" TYPE="linux_raid_member" 
/dev/sdb6: UUID="51514222-2001-7ed9-9371-6b39f08f79c5" UUID_SUB="3dfe42cf-802c-8f29-cf80-1f2a58933bfb" LABEL="archiso:3" TYPE="linux_raid_member" 
/dev/sdb7: UUID="b0f0f922-3a33-7933-baff-a6a80353503c" UUID_SUB="d4e75b15-77cd-6a12-13b6-3305f8c0e9b8" LABEL="archiso:4" TYPE="linux_raid_member" 
/dev/sdc1: UUID="2014-05-01-05-20-54-00" LABEL="ARCH_201405" TYPE="iso9660" PTUUID="1535e446" PTTYPE="dos" PARTUUID="1535e446-01" 
/dev/sdc2: SEC_TYPE="msdos" LABEL="ARCHISO_EFI" UUID="96ED-5DA9" TYPE="vfat" PARTUUID="1535e446-02" 
/dev/loop0: TYPE="squashfs" 
/dev/loop1: UUID="f07bfb26-3377-487a-a022-efd840614a0d" TYPE="ext4" 
/dev/loop2: UUID="f07bfb26-3377-487a-a022-efd840614a0d" TYPE="ext4" 
/dev/mapper/arch_root-image: UUID="f07bfb26-3377-487a-a022-efd840614a0d" TYPE="ext4" 
/dev/md0: UUID="54fa2389-9e8e-49f4-b611-402ea00cf352" TYPE="ext2" 
/dev/md1: UUID="fc5fe57e-a122-4818-86dc-f3cf13df2477" TYPE="ext4" 
/dev/md4: UUID="9a83b10b-2df5-4cef-8039-073ee39e0dc1" TYPE="ext4" 
/dev/md2: UUID="46a16e08-4103-4c19-98f6-1e5ad99652ce" TYPE="reiserfs" 
/dev/md3: UUID="4d192c72-86cb-4ed7-ad03-a0f19b607b08" TYPE="ext4"
ricky ~ $ cat /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="dm_mod raid1"

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run first, so it may be used to
# override the actual binaries used in a given hook.
# (Existing files are NOT overwritten if already added)
# 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="/etc/mdadm.conf"

# 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
#    fsck and shutdown hooks.
HOOKS="base mdadm block lvm2 filesystems fsck keyboard autodetect" 

# COMPRESSION
# Use this to compress the initramfs image. With kernels earlier than
# 2.6.30, only gzip is supported, which is also the default. Newer kernels
# support gzip, bzip2 and lzma. Kernels 2.6.38 and later support xz
# compression.
COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=""
ricky ~ $ cat /etc/mdadm.conf 
# mdadm configuration file
#
# mdadm will function properly without the use of a configuration file,
# but this file is useful for keeping track of arrays and member disks.
# In general, a mdadm.conf file is created, and updated, after arrays
# are created. This is the opposite behavior of /etc/raidtab which is
# created prior to array construction.
#
#
# the config file takes two types of lines:
#
#	DEVICE lines specify a list of devices of where to look for
#	  potential member disks
#
#	ARRAY lines specify information about how to identify arrays so
#	  so that they can be activated
#


# You can have more than one device line and use wild cards. The first 
# example includes SCSI the first partition of SCSI disks /dev/sdb,
# /dev/sdc, /dev/sdd, /dev/sdj, /dev/sdk, and /dev/sdl. The second 
# line looks for array slices on IDE disks.
#
#DEVICE /dev/sd[bcdjkl]1
#DEVICE /dev/hda1 /dev/hdb1
#
# The designation "partitions" will scan all partitions found in
# /proc/partitions
DEVICE partitions


# ARRAY lines specify an array to assemble and a method of identification.
# Arrays can currently be identified by using a UUID, superblock minor number,
# or a listing of devices.
#
#	super-minor is usually the minor number of the metadevice
#	UUID is the Universally Unique Identifier for the array
# Each can be obtained using
#
# 	mdadm -D <md>
#
# To capture the UUIDs for all your RAID arrays to this file, run these:
#    to get a list of running arrays:
#    # mdadm -D --scan >>/etc/mdadm.conf
#    to get a list from superblocks:
#    # mdadm -E --scan >>/etc/mdadm.conf
#
#ARRAY /dev/md0 UUID=3aaa0122:29827cfa:5331ad66:ca767371
#ARRAY /dev/md1 super-minor=1
#ARRAY /dev/md2 devices=/dev/hda1,/dev/hdb1
#
# ARRAY lines can also specify a "spare-group" for each array.  mdadm --monitor
# will then move a spare between arrays in a spare-group if one array has a
# failed drive but no spare
#ARRAY /dev/md4 uuid=b23f3c6d:aec43a9f:fd65db85:369432df spare-group=group1
#ARRAY /dev/md5 uuid=19464854:03f71b1b:e0df2edd:246cc977 spare-group=group1
#


# When used in --follow (aka --monitor) mode, mdadm needs a
# mail address and/or a program.  To start mdadm's monitor mode, enable
# mdadm.service in systemd.
#
# If the lines are not found, mdadm will exit quietly
MAILADDR rickbarrette@gmail.com
#PROGRAM /usr/sbin/handle-mdadm-events
ARRAY /dev/md/2 metadata=1.2 name=archiso:2 UUID=486d40d9:b1cba410:814053e6:5be71fea
ARRAY /dev/md/1 metadata=1.2 name=archiso:1 UUID=23c26c6a:22639279:79af1f83:99ad5810
ARRAY /dev/md/4 metadata=1.2 name=archiso:4 UUID=b0f0f922:3a337933:baffa6a8:0353503c
ARRAY /dev/md/0 metadata=0.90 UUID=3b75ce71:107ece9e:52419904:51489ef3
ARRAY /dev/md/3 metadata=1.2 name=archiso:3 UUID=51514222:20017ed9:93716b39:f08f79c5
ricky ~ $ cat /etc/fstab 
# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
tmpfs		/tmp	tmpfs	nodev,nosuid	0	0
UUID="46a16e08-4103-4c19-98f6-1e5ad99652ce" /var reiserfs defaults,noatime,nodiratime 0 1
UUID="4d192c72-86cb-4ed7-ad03-a0f19b607b08" /srv ext4 acl,defaults 0 1
UUID="54fa2389-9e8e-49f4-b611-402ea00cf352" /boot ext2 defaults 0 1
UUID="9a83b10b-2df5-4cef-8039-073ee39e0dc1" /home ext4 defaults 0 1
UUID="fc5fe57e-a122-4818-86dc-f3cf13df2477" / ext4 defaults 0 1
root /home/ricky # cat /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
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_msdos msdos 
insmod diskfilter mdraid1x 
insmod ext2
set root='mduuid/23c26c6a2263927979af1f8399ad5810'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint='mduuid/23c26c6a2263927979af1f8399ad5810'  fc5fe57e-a122-4818-86dc-f3cf13df2477
else
  search --no-floppy --fs-uuid --set=root fc5fe57e-a122-4818-86dc-f3cf13df2477
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
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_archlinux ###

menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
    if [ x$feature_all_video_module = xy ]; then
        insmod all_video
    fi
    set gfxpayload=keep
    insmod ext2
    if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid  --set=root --hint='mduuid/3b75ce71107ece9e5241990451489ef3'  54fa2389-9e8e-49f4-b611-402ea00cf352
    else
        search --no-floppy --fs-uuid  --set=root 54fa2389-9e8e-49f4-b611-402ea00cf352
    fi
    echo 'Loading Arch Linux pkg-linux kernel ...'
    linux /vmlinuz-linux root=UUID=fc5fe57e-a122-4818-86dc-f3cf13df2477 rw  quiet
    echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
    initrd /initramfs-linux.img
}


menuentry "Arch Linux pkg-linux kernel (fallback initramfs)" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
    if [ x$feature_all_video_module = xy ]; then
        insmod all_video
    fi
    set gfxpayload=keep
    insmod ext2
    if [ x$feature_platform_search_hint = xy ]; then
        search --no-floppy --fs-uuid  --set=root --hint='mduuid/3b75ce71107ece9e5241990451489ef3'  54fa2389-9e8e-49f4-b611-402ea00cf352
    else
        search --no-floppy --fs-uuid  --set=root 54fa2389-9e8e-49f4-b611-402ea00cf352
    fi
    echo 'Loading Arch Linux pkg-linux kernel ...'
    linux /vmlinuz-linux root=UUID=fc5fe57e-a122-4818-86dc-f3cf13df2477 rw  quiet
    echo 'Loading Arch Linux pkg-linux kernel fallback initramfs ...'
    initrd /initramfs-linux-fallback.img
}

### END /etc/grub.d/10_archlinux ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fc5fe57e-a122-4818-86dc-f3cf13df2477' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_msdos msdos 
	insmod diskfilter mdraid09 
	insmod ext2
	set root='mduuid/3b75ce71107ece9e5241990451489ef3'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint='mduuid/3b75ce71107ece9e5241990451489ef3'  54fa2389-9e8e-49f4-b611-402ea00cf352
	else
	  search --no-floppy --fs-uuid --set=root 54fa2389-9e8e-49f4-b611-402ea00cf352
	fi
	echo	'Loading Linux linux ...'
	linux	/vmlinuz-linux root=UUID=fc5fe57e-a122-4818-86dc-f3cf13df2477 rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-fc5fe57e-a122-4818-86dc-f3cf13df2477' {
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-fc5fe57e-a122-4818-86dc-f3cf13df2477' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_msdos msdos 
		insmod diskfilter mdraid09 
		insmod ext2
		set root='mduuid/3b75ce71107ece9e5241990451489ef3'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint='mduuid/3b75ce71107ece9e5241990451489ef3'  54fa2389-9e8e-49f4-b611-402ea00cf352
		else
		  search --no-floppy --fs-uuid --set=root 54fa2389-9e8e-49f4-b611-402ea00cf352
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=fc5fe57e-a122-4818-86dc-f3cf13df2477 rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd	/initramfs-linux.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 ###

### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###

Thinkpad T510 running x64 Arch
ThinkServer TS200V running x64 Arch

Offline

#2 2014-05-06 20:26:17

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: Server Not Booting "unable to find root device"

There have been a number of similar issues recently, such as this.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2014-05-06 20:33:36

yellowjk
Member
From: Rhode Island
Registered: 2011-05-16
Posts: 18
Website

Re: Server Not Booting "unable to find root device"

I'm tring the lvm2 downgrade now

root /var/cache/pacman/pkg # pacman -Q lvm2
lvm2 2.02.106-2

root /var/cache/pacman/pkg # pacman -U lvm2-2.02.105-2-x86_64.pkg.tar.xz 
loading packages...
warning: downgrading package lvm2 (2.02.106-2 => 2.02.105-2)
resolving dependencies...
looking for inter-conflicts...

Packages (1): lvm2-2.02.105-2

Total Installed Size:   3.58 MiB
Net Upgrade Size:       -0.13 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                         [########################################################################] 100%
(1/1) checking package integrity                                                                                       [########################################################################] 100%
(1/1) loading package files                                                                                            [########################################################################] 100%
(1/1) checking for file conflicts                                                                                      [########################################################################] 100%
(1/1) checking available disk space                                                                                    [########################################################################] 100%
(1/1) downgrading lvm2                                                                                                 [########################################################################] 100%

root /var/cache/pacman/pkg # mkinitcpio -p linux

EDIT

downgrading lvm2 to lvm2-2.02.105-2 didn't fix anything

Last edited by yellowjk (2014-05-06 20:36:00)


Thinkpad T510 running x64 Arch
ThinkServer TS200V running x64 Arch

Offline

#4 2014-05-06 20:40:10

yellowjk
Member
From: Rhode Island
Registered: 2011-05-16
Posts: 18
Website

Re: Server Not Booting "unable to find root device"

i dont know if this matters, but this is how my drives are split up (if i remember correctly)

Normal Partitions:
/boot
/

LVM partitions:
/var
/srv
/home

Last edited by yellowjk (2014-05-06 20:41:16)


Thinkpad T510 running x64 Arch
ThinkServer TS200V running x64 Arch

Offline

#5 2014-05-07 13:12:06

yellowjk
Member
From: Rhode Island
Registered: 2011-05-16
Posts: 18
Website

Re: Server Not Booting "unable to find root device"

While searching, I came across this and it sounds a lot like what I'm experiencing.

https://bbs.archlinux.org/viewtopic.php?id=180915


Thinkpad T510 running x64 Arch
ThinkServer TS200V running x64 Arch

Offline

#6 2014-05-08 23:41:43

yellowjk
Member
From: Rhode Island
Registered: 2011-05-16
Posts: 18
Website

Re: Server Not Booting "unable to find root device"

Well I fixed it but I dont know how.

edited the following files:

root / # cat /etc/default/grub 
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos mdraid"

# 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"
root / # cat /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="dm_mod raid1"

# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image.  This is run first, so it may be used to
# override the actual binaries used in a given hook.
# (Existing files are NOT overwritten if already added)
# 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="/etc/mdadm.conf"

# 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
#    fsck and shutdown hooks.
HOOKS="base udev autodetect keyboard block mdadm_udev lvm2 filesystems fsck" 

# COMPRESSION
# Use this to compress the initramfs image. With kernels earlier than
# 2.6.30, only gzip is supported, which is also the default. Newer kernels
# support gzip, bzip2 and lzma. Kernels 2.6.38 and later support xz
# compression.
COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"

# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=""

Now I found that I still had my menu.lst.pacsave, so i generated a new grub.cfg from that. I feel that since this config doesn't use UUID that it worked

root / # cat /boot/grub/grub.cfg
# general configuration:
set timeout=5
set default='0'; if [ x"$default" = xsaved ]; then load_env; set default="$saved_entry"; fi
set color_normal='light-blue/black'; set color_highlight='light-cyan/blue'

menuentry 'Arch Linux' {
  set root='(hd0,1)'; set legacy_hdbias='0'
  legacy_kernel   '/vmlinuz-linux' '/vmlinuz-linux' 'root=/dev/md1' 'ro'
  legacy_initrd '/initramfs-linux.img' '/initramfs-linux.img'
}

menuentry 'Arch Linux Fallback' {
  set root='(hd0,1)'; set legacy_hdbias='0'
  legacy_kernel   '/vmlinuz-linux' '/vmlinuz-linux' 'root=/dev/md1' 'ro'
  legacy_initrd '/initramfs-linux-fallback.img' '/initramfs-linux-fallback.img'
}

Thinkpad T510 running x64 Arch
ThinkServer TS200V running x64 Arch

Offline

Board footer

Powered by FluxBB