You are not logged in.
You guessed it, I have update to 2.6.28 kernel and now I can't boot. I've read (almost) all related posts but can't get it to work.
This is what I'm getting:
...
:: Running Hook [lvm2]
:: Running Hook [filesystems]
:: Loading rot filesystem module...
Attempting to create root device '/dev/mapper/VolGroup00-root'
ERROR: Failed to parse block device name for '/dev/mapper/VolGroup00-root' unknown
ERROR: root fs cannot be detected. Try using the rootfstype= kernel parameter.
Waiting for devices to settle...done.
Root device '/dev'mappper/VolGroup00-root' doesn't exist.
attempting to create it.
ERROR: Failed to parse block device name for '/dev/mapper/VolGroup00-root'
ERROR: Unable to create/detect root device '/dev/mapper/VolGroup00-root'
Dropping to a recovery shell... type 'exit' to reboot
NOTE: klibc contains no 'ls' binary. use 'echo *' instead
If the device '/dev/mapper/VolGroup00-root' gets created while you are here.
try adding 'rootdelay=0' or higher to the kernel comman-line
ramfs$
Tried rootdelay=0 and rootfstype=ext3, didn't help.
Mounted / to /mnt and all others accordingly, chroot'ed to /mnt
tried:
mkinitcpio -v -k 2.6.28-ARCH -g /boot/kernel26.img
Didn't help, please help!
# fdisk -l
Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000524cf
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2490 20000893+ 86 NTFS volume set
/dev/sda2 2491 2503 104422+ 83 Linux
/dev/sda3 2504 7296 38499772+ 8e Linux LVM
Disk /dev/sdb: 2053 MB, 2053963264 bytes
129 heads, 31 sectors/track, 1003 cylinders
Units = cylinders of 3999 * 512 = 2047488 bytes
Disk identifier: 0x00000000
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1004 2005808 b W95 FAT32
Partition 1 has different physical/logical endings:
phys=(1009, 128, 31) logical=(1003, 20, 30)
# vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 11
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 6
Open LV 4
Max PV 0
Cur PV 1
Act PV 1
VG Size 36.71 GB
PE Size 4.00 MB
Total PE 9399
Alloc PE / Size 8320 / 32.50 GB
Free PE / Size 1079 / 4.21 GB
VG UUID x0kL8e-S234-VVCI-dwY3-N7K6-9CWi-H1Pz27
# lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/root
VG Name VolGroup00
LV UUID y3PTpB-QeBs-2AsH-akXm-iazt-CQw4-fORKtj
LV Write Access read/write
LV Status available
# open 1
LV Size 2.00 GB
Current LE 512
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0
--- Logical volume ---
LV Name /dev/VolGroup00/home
VG Name VolGroup00
LV UUID QmBFtr-SBrc-D547-NgSn-hCzC-3lxA-HhVtib
LV Write Access read/write
LV Status available
# open 0
LV Size 10.00 GB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:1
--- Logical volume ---
LV Name /dev/VolGroup00/usr
VG Name VolGroup00
LV UUID KYosIf-nPOt-i7Nq-BDIf-64iM-BvVz-v5nUoA
LV Write Access read/write
LV Status available
# open 1
LV Size 10.00 GB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:2
--- Logical volume ---
LV Name /dev/VolGroup00/var
VG Name VolGroup00
LV UUID 5IETTX-ryXA-TgIg-fvUe-98Qp-TCGg-IqyXrp
LV Write Access read/write
LV Status available
# open 2
LV Size 8.00 GB
Current LE 2048
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:3
--- Logical volume ---
LV Name /dev/VolGroup00/tmp
VG Name VolGroup00
LV UUID 0nWWDb-bdOu-I803-7m8X-mfPA-3wH8-yfwQNv
LV Write Access read/write
LV Status available
# open 1
LV Size 2.00 GB
Current LE 512
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:4
--- Logical volume ---
LV Name /dev/VolGroup00/swap
VG Name VolGroup00
LV UUID KkoOta-IFrt-lgpR-nuQw-Qh1G-IKOk-0hA8lG
LV Write Access read/write
LV Status available
# open 0
LV Size 512.00 MB
Current LE 128
Segments 1
Allocation contiguous
Read ahead sectors auto
- currently set to 256
Block device 254:5
/boot/grub/menu.lst
# Config file for GRUB - The GNU GRand Unified Bootloader
# /boot/grub/menu.lst
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/hda (hd0)
# /dev/hdb2 (hd1,1)
# /dev/hda3 (hd0,2)
#
# FRAMEBUFFER RESOLUTION SETTINGS
# +-------------------------------------------------+
# | 640x480 800x600 1024x768 1280x1024
# ----+--------------------------------------------
# 256 | 0x301=769 0x303=771 0x305=773 0x307=775
# 32K | 0x310=784 0x313=787 0x316=790 0x319=793
# 64K | 0x311=785 0x314=788 0x317=791 0x31A=794
# 16M | 0x312=786 0x315=789 0x318=792 0x31B=795
# +-------------------------------------------------+
# general configuration:
timeout 5
default 0
color light-blue/black light-cyan/blue
# boot sections follow
# each is implicitly numbered from 0 in the order of appearance below
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
# (0) Arch Linux
title Arch Linux
root (hd0,1)
kernel /vmlinuz26 root=/dev/mapper/VolGroup00-root ro
initrd /kernel26.img
# (1) Arch Linux
title Arch Linux Fallback
root (hd0,1)
kernel /vmlinuz26 root=/dev/mapper/VolGroup00-root ro
initrd /kernel26-fallback.img
# (1) Arch Linux Custom Kernel 2.6.28.4
title Arch Linux Custom Kernel 2.6.28.4
root (hd0,1)
kernel /vmlinuz root=/dev/mapper/VolGroup00-root ro
initrd /kernel26.img
# (1) Windows
#title Windows
#rootnoverify (hd0,0)
#makeactive
#chainloader +1
/etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /media/cdrom auto ro,user,noauto,unhide 0 0
/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
/dev/mapper/VolGroup00-home /home ext3 defaults,nodiratime,relatime 0 0
/dev/mapper/VolGroup00-root / ext3 defaults,nodiratime,relatime 0 1
/dev/mapper/VolGroup00-swap swap swap defaults 0 0
/dev/mapper/VolGroup00-tmp /tmp ext3 defaults,nodiratime,relatime 0 0
/dev/mapper/VolGroup00-usr /usr ext3 defaults,nodiratime,relatime 0 0
/dev/mapper/VolGroup00-var /var reiserfs defaults,nodiratime,relatime 0 0
#UUID=3a1b4333-7ddf-4ae2-b08b-6dfeb6b2a90f /boot ext3 defaults,nodiratime,relatime 0 1
/dev/sda2 /boot ext3 defaults,nodiratime,relatime 0 1
/etc/rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Canada/Pacific"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(8139cp 8139too mii ipw2200 ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 snd-intel8x0m soundcore ppp_generic slamr)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="yes"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="presario"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond slmodem)
# 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="pata_acpi ata_generic scsi_mod ata_piix"
# BINARIES
# This setting includes, into the CPIO image, and additional
# binaries a given user may wish. This is run first, so may
# be used to override the actual binaries used in a given hook.
# (Existing files are NOT overwritten is already added)
# BINARIES are dependancy 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 anyway. This is useful for config files.
# Some users may wish to include modprobe.conf for custom module options,
# like so:
# FILES="/etc/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
# 'modload' may be used in place of 'udev', but is not recommended
# '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 an pata raid array with an encrypted root FS.
# Note: See 'mkinitcpio -H raid' for more information on raid devices.
# HOOKS="base udev pata raid encrypt filesystems"
#
# This setup loads an lvm2 volume group on a usb device.
# HOOKS="base udev usb lvm2 filesystems"
HOOKS="base udev autodetect pata scsi sata keymap lvm2 filesystems"
Running ArchLinux on Compaq Presario v2000
Offline
The could be a problem with your mkinitcpio configuration. Please include /etc/mkinitcpio.conf
Offline
Well the last code block is actually from the file /etc/mkinitcpio.conf
I just forgot to put a title. Anyway I've installed the new version of Arch and everything is OK now.
Thanks
Running ArchLinux on Compaq Presario v2000
Offline
/bump
<edit>
nevermind.... lvm2 in the hooks array FTW!
Last edited by area (2009-04-07 05:38:43)
Offline
Can someone help me with the same issue, i got the same problem as in the first post, the biggest issue is that its, the computer at work ;/
i've tried to recover the system from a knoppix live cd, but all the configuration files seem ok,
I've also tried to add the rootdelay=8 option still the same error
I've setup arch on a raild lvm partition
heres the 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=""
# BINARIES
# This setting includes, into the CPIO image, and additional
# binaries a given user may wish. This is run first, so may
# be used to override the actual binaries used in a given hook.
# (Existing files are NOT overwritten is already added)
# BINARIES are dependancy 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 anyway. This is useful for config files.
# Some users may wish to include modprobe.conf for custom module options,
# like so:
# FILES="/etc/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
# 'modload' may be used in place of 'udev', but is not recommended
# '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 an pata raid array with an encrypted root FS.
# Note: See 'mkinitcpio -H raid' for more information on raid devices.
# HOOKS="base udev pata raid encrypt filesystems"
#
# This setup loads an lvm2 volume group on a usb device.
# HOOKS="base udev usb lvm2 filesystems"
HOOKS="base udev autodetect pata scsi sata raid lvm2 filesystems"
Still trying some stuff but really(!!) appreciate any help, also this happend afer upgrading to kernel version is 2.6.29
Last edited by adamo (2009-04-20 09:17:20)
Asus K51AC PRO5EAC-SX070-4
AMD Athlon X2 Dual-Core QL-65 2,1 G 4GB radeon hd3200
Offline
I'm having the same problem. When I try to boot arch, I receive the following errors:
:: Running Hook [filesystems]
:: Loading root filesystem module...ext3
Waiting for devices to settle....done.
Root device '/dev/mapper/linuxgroup-arch' doesn't exist, attempting to create it
ERROR: failed to parse block device name for '/dev/mapper/linuxgroup-arch'
ERROR: Unable to create/detect root device '/dev/mapper/linuxgroup-arch'
If the device '/dev/mapper/linuxgroup-arch' gets created while you are here, try
adding 'rootdelay=8' or higher to the kernel command-line
Here is the kernel I'm trying to load from menu.lst
title Arch Linux
root (hd0,4)
kernel /vmlinuz26 root=/dev/mapper/linuxgroup-arch ro vga=773 rootdelay=8 rootfstype=ext3
initrd /kernel26.img
Here's my fdisk info
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x20000000
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13055 104857600 7 HPFS/NTFS
/dev/sda2 13055 13119 519743+ 5 Extended
/dev/sda3 13120 26174 104864287+ 8e Linux LVM
/dev/sda5 * 13055 13059 37762 83 Linux
Here are the various info related to LVM:
pvdisplay
--- Physical volume ---
PV Name /dev/sda3
VG Name linuxgroup
PV Size 100.01 GB / not usable 2.53 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 25601
Free PE 16897
Allocated PE 8704
PV UUID 4zZmN9-EmZ7-g55b-3KMS-wn6f-dpp2-8uZVan
vgdisplay
--- Volume group ---
VG Name linuxgroup
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 100.00 GB
PE Size 4.00 MB
Total PE 25601
Alloc PE / Size 8704 / 34.00 GB
Free PE / Size 16897 / 66.00 GB
VG UUID OgSLgb-N8Qy-VsAk-aGUE-6OIO-Dxlh-HbaTJY
lvdisplay
--- Logical volume ---
LV Name /dev/linuxgroup/arch
VG Name linuxgroup
LV UUID dXcnE0-s2N9-FLw7-3Pkl-7R0x-uJ8h-gbq1Ix
LV Write Access read/write
LV Status available
# open 0
LV Size 10.00 GB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0
--- Logical volume ---
LV Name /dev/linuxgroup/home
VG Name linuxgroup
LV UUID kBtTlN-LaPD-CvOp-xpeY-ofTx-sLKD-dCmM50
LV Write Access read/write
LV Status available
# open 0
LV Size 20.00 GB
Current LE 5120
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:1
--- Logical volume ---
LV Name /dev/linuxgroup/swap
VG Name linuxgroup
LV UUID S58dYN-NHJi-d305-SzTe-Kl4y-vUwt-tSPOeK
LV Write Access read/write
LV Status available
# open 0
LV Size 4.00 GB
Current LE 1024
Segments 1
Allocation contiguous
Read ahead sectors auto
- currently set to 256
Block device 254:2
Here is my rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="local"
USEDIRECTISA="no"
TIMEZONE="America/Chicago"
KEYMAP="us"
CONSOLEFONT="cybercafe"
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(iwlagn nvidia snd-hda-intel)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="yes"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="blacksun"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
eth0="dhcp"
INTERFACES=(eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
NETWORKS="menu"
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng netfs crond avahi-daemon avahi-dnsconfd net-profiles @openntpd alsa hal dbus gpm)
Here is my 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=""
# BINARIES
# This setting includes, into the CPIO image, and additional
# binaries a given user may wish. This is run first, so may
# be used to override the actual binaries used in a given hook.
# (Existing files are NOT overwritten is already added)
# BINARIES are dependancy 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 anyway. This is useful for config files.
# Some users may wish to include modprobe.conf for custom module options,
# like so:
# FILES="/etc/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
# 'modload' may be used in place of 'udev', but is not recommended
# '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 an pata raid array with an encrypted root FS.
# Note: See 'mkinitcpio -H raid' for more information on raid devices.
# HOOKS="base udev pata raid encrypt filesystems"
#
# This setup loads an lvm2 volume group on a usb device.
# HOOKS="base udev usb lvm2 filesystems"
HOOKS="base udev autodetect pata scsi sata lvm2 filesystems"
Here's my /etc/fstab
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
#/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
#/dev/fd0 /media/fl auto user,noauto 0 0
/dev/linuxgroup/home /home ext3 defaults 0 1
/dev/sda5 /boot ext2 defaults 0 1
/dev/linuxgroup/swap swap swap defaults 0 0
/dev/linuxgroup/arch / ext3 defaults 0 1
Is there any way to get arch to boot when the root partition is LVM? Is there anything off on any of my configuration files? Any help would be greatly appreciated.
Last edited by admasnd (2009-06-06 07:15:28)
Offline
Try to write in modules section modules you need to boot:
-Filesytem
-Disc interface
And after that write in command line as root mkinitcpio -p kernel26 (your kernel name).
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Try to write in modules section modules you need to boot:
-Filesytem
-Disc interface
And after that write in command line as root mkinitcpio -p kernel26 (your kernel name).
Thanks for the help. Worked like a charm.:D
Offline
I really happy to hear that and can you add Solved to topic name
Last edited by SpeedVin (2009-06-07 09:33:11)
Shell Scripter | C/C++/Python/Java Coder | ZSH
Offline
Is there a way to do this if you are not the creator of the thread?
Offline
Ok than... i'm experiencing the same problem... Basically my /root is in a ext4 lvm'ed partition.
I set USELVM="yes" in rc.conf , now should i add in the mkinitcpio.conf:
MODULES="ext4, sata" and then chroot "mkinitcpio -v -k 2.6.28-ARCH -g /boot/kernel26.img"
Yes? is it correcto? Expecially the ext4 module?
Offline