After kernel update the system does not boot.... well It boots as rescue login.
I have a raid10 / (ext4) and a raid1 /boot (ext3) on OpenSuse 12.2 X86_64.
When booting it mounts /, then it waits a while and shows rescue login.
I guessed it was a problem with raid during boot so I commented /boot line in /etc/fstab and then it boots fine
Once It has booted I can mount /boot.
My mdadm.conf is
But mdadm.conf on initrd does not include md0
I've recreated initrd
But it does not change mdadm.conf in initrd.
I can manually edit initrd and change it but I think I will have the same problem again next time, so How can I make mkinitrd to use /etc/mdadm.conf
regards
I have a raid10 / (ext4) and a raid1 /boot (ext3) on OpenSuse 12.2 X86_64.
When booting it mounts /, then it waits a while and shows rescue login.
I guessed it was a problem with raid during boot so I commented /boot line in /etc/fstab and then it boots fine
Once It has booted I can mount /boot.
My mdadm.conf is
Code:
root@tutatis:/home/fperal> cat /etc/mdadm.conf
DEVICE containers partitions
ARRAY /dev/md/0 UUID=eff80911:cb6bb9b9:5ae5e6ac:a43e3bc4
ARRAY /dev/md/1 UUID=25cfb31f:60f2e3e2:96c9685b:524aa80c
ARRAY /dev/md/2 UUID=02eaeee9:f28b9ab1:22bc32b0:9b3e48e9
But mdadm.conf on initrd does not include md0
Code:
AUTO -all
ARRAY /dev/md2 metadata=1.0 name=linux:2 UUID=02eaeee9:f28b9ab1:22bc32b0:9b3e48e9
ARRAY /dev/md/1 metadata=1.0 name=linux:1 UUID=25cfb31f:60f2e3e2:96c9685b:524aa80c
I've recreated initrd
Code:
root@tutatis:/home/fperal> mkinitrd
Kernel image: /boot/vmlinuz-3.4.63-2.44-desktop
Initrd image: /boot/initrd-3.4.63-2.44-desktop
KMS drivers: radeon
Root device: /dev/md2 (mounted on / as ext4)
Resume device: /dev/md1
modprobe: Module hid_generic not found.
WARNING: no dependencies for kernel module 'hid-generic' found.
Kernel Modules: thermal_sys thermal processor fan pata_atiixp ata_generic scsi_dh scsi_dh_hp_sw scsi_dh_rdac scsi_dh_emc scsi_dh_alua i2c-algo-bit drm drm_kms_helper ttm radeon xhci-hcd hid-logitech-dj raid0 raid1 raid10 async_tx async_memcpy xor async_xor raid6_pq async_pq async_raid6_recov raid456
Firmware: radeon/R520_cp.bin radeon/R520_cp.bin radeon/RS600_cp.bin radeon/RS600_cp.bin radeon/RS690_cp.bin radeon/RS690_cp.bin radeon/R420_cp.bin radeon/R420_cp.bin radeon/R300_cp.bin radeon/R300_cp.bin radeon/R200_cp.bin radeon/R200_cp.bin radeon/R100_cp.bin radeon/R100_cp.bin radeon/RV710_me.bin radeon/RV710_me.bin radeon/RV710_pfp.bin radeon/RV710_pfp.bin radeon/RV730_me.bin radeon/RV730_me.bin radeon/RV730_pfp.bin radeon/RV730_pfp.bin radeon/RV770_me.bin radeon/RV770_me.bin radeon/RV770_pfp.bin radeon/RV770_pfp.bin radeon/RS780_me.bin radeon/RS780_me.bin radeon/RS780_pfp.bin radeon/RS780_pfp.bin radeon/RV670_me.bin radeon/RV670_me.bin radeon/RV670_pfp.bin radeon/RV670_pfp.bin radeon/RV635_me.bin radeon/RV635_me.bin radeon/RV635_pfp.bin radeon/RV635_pfp.bin radeon/RV620_me.bin radeon/RV620_me.bin radeon/RV620_pfp.bin radeon/RV620_pfp.bin radeon/RV630_me.bin radeon/RV630_me.bin radeon/RV630_pfp.bin radeon/RV630_pfp.bin radeon/RV610_me.bin radeon/RV610_me.bin radeon/RV610_pfp.bin radeon/RV610_pfp.bin radeon/R600_me.bin radeon/R600_me.bin radeon/R600_pfp.bin radeon/R600_pfp.bin radeon/R520_cp.bin radeon/R520_cp.bin radeon/RS600_cp.bin radeon/RS600_cp.bin radeon/RS690_cp.bin radeon/RS690_cp.bin radeon/R420_cp.bin radeon/R420_cp.bin radeon/R300_cp.bin radeon/R300_cp.bin radeon/R200_cp.bin radeon/R200_cp.bin radeon/R100_cp.bin radeon/R100_cp.bin radeon/SUMO2_me.bin radeon/SUMO2_me.bin radeon/SUMO2_pfp.bin radeon/SUMO2_pfp.bin radeon/SUMO_me.bin radeon/SUMO_me.bin radeon/SUMO_pfp.bin radeon/SUMO_pfp.bin radeon/SUMO_rlc.bin radeon/SUMO_rlc.bin radeon/PALM_me.bin radeon/PALM_me.bin radeon/PALM_pfp.bin radeon/PALM_pfp.bin radeon/CYPRESS_rlc.bin radeon/CYPRESS_rlc.bin radeon/CYPRESS_me.bin radeon/CYPRESS_me.bin radeon/CYPRESS_pfp.bin radeon/CYPRESS_pfp.bin radeon/JUNIPER_rlc.bin radeon/JUNIPER_rlc.bin radeon/JUNIPER_me.bin radeon/JUNIPER_me.bin radeon/JUNIPER_pfp.bin radeon/JUNIPER_pfp.bin radeon/REDWOOD_rlc.bin radeon/REDWOOD_rlc.bin radeon/REDWOOD_me.bin radeon/REDWOOD_me.bin radeon/REDWOOD_pfp.bin radeon/REDWOOD_pfp.bin radeon/CEDAR_rlc.bin radeon/CEDAR_rlc.bin radeon/CEDAR_me.bin radeon/CEDAR_me.bin radeon/CEDAR_pfp.bin radeon/CEDAR_pfp.bin radeon/R700_rlc.bin radeon/R700_rlc.bin radeon/R600_rlc.bin radeon/R600_rlc.bin radeon/RV710_me.bin radeon/RV710_me.bin radeon/RV710_pfp.bin radeon/RV710_pfp.bin radeon/RV730_me.bin radeon/RV730_me.bin radeon/RV730_pfp.bin radeon/RV730_pfp.bin radeon/RV770_me.bin radeon/RV770_me.bin radeon/RV770_pfp.bin radeon/RV770_pfp.bin radeon/RS780_me.bin radeon/RS780_me.bin radeon/RS780_pfp.bin radeon/RS780_pfp.bin radeon/RV670_me.bin radeon/RV670_me.bin radeon/RV670_pfp.bin radeon/RV670_pfp.bin radeon/RV635_me.bin radeon/RV635_me.bin radeon/RV635_pfp.bin radeon/RV635_pfp.bin radeon/RV620_me.bin radeon/RV620_me.bin radeon/RV620_pfp.bin radeon/RV620_pfp.bin radeon/RV630_me.bin radeon/RV630_me.bin radeon/RV630_pfp.bin radeon/RV630_pfp.bin radeon/RV610_me.bin radeon/RV610_me.bin radeon/RV610_pfp.bin radeon/RV610_pfp.bin radeon/R600_me.bin radeon/R600_me.bin radeon/R600_pfp.bin radeon/R600_pfp.bin radeon/ARUBA_rlc.bin radeon/ARUBA_rlc.bin radeon/ARUBA_me.bin radeon/ARUBA_me.bin radeon/ARUBA_pfp.bin radeon/ARUBA_pfp.bin radeon/CAYMAN_rlc.bin radeon/CAYMAN_rlc.bin radeon/CAYMAN_mc.bin radeon/CAYMAN_mc.bin radeon/CAYMAN_me.bin radeon/CAYMAN_me.bin radeon/CAYMAN_pfp.bin radeon/CAYMAN_pfp.bin radeon/CAICOS_mc.bin radeon/CAICOS_mc.bin radeon/CAICOS_me.bin radeon/CAICOS_me.bin radeon/CAICOS_pfp.bin radeon/CAICOS_pfp.bin radeon/TURKS_mc.bin radeon/TURKS_mc.bin radeon/TURKS_me.bin radeon/TURKS_me.bin radeon/TURKS_pfp.bin radeon/TURKS_pfp.bin radeon/BTC_rlc.bin radeon/BTC_rlc.bin radeon/BARTS_mc.bin radeon/BARTS_mc.bin radeon/BARTS_me.bin radeon/BARTS_me.bin radeon/BARTS_pfp.bin radeon/BARTS_pfp.bin radeon/VERDE_rlc.bin radeon/VERDE_rlc.bin radeon/VERDE_mc.bin radeon/VERDE_mc.bin radeon/VERDE_ce.bin radeon/VERDE_ce.bin radeon/VERDE_me.bin radeon/VERDE_me.bin radeon/VERDE_pfp.bin radeon/VERDE_pfp.bin radeon/PITCAIRN_rlc.bin radeon/PITCAIRN_rlc.bin radeon/PITCAIRN_mc.bin radeon/PITCAIRN_mc.bin radeon/PITCAIRN_ce.bin radeon/PITCAIRN_ce.bin radeon/PITCAIRN_me.bin radeon/PITCAIRN_me.bin radeon/PITCAIRN_pfp.bin radeon/PITCAIRN_pfp.bin radeon/TAHITI_rlc.bin radeon/TAHITI_rlc.bin radeon/TAHITI_mc.bin radeon/TAHITI_mc.bin radeon/TAHITI_ce.bin radeon/TAHITI_ce.bin radeon/TAHITI_me.bin radeon/TAHITI_me.bin radeon/TAHITI_pfp.bin radeon/TAHITI_pfp.bin
Features: acpi kms plymouth block usb md resume.userspace resume.kernel
But it does not change mdadm.conf in initrd.
I can manually edit initrd and change it but I think I will have the same problem again next time, so How can I make mkinitrd to use /etc/mdadm.conf
regards