You are not logged in.
Hello.
I'm stuck and can't find any more information on how to fix my problem. I hope some of you can help me to solve this.
Starting with my general idea:
I don't want to use OSX anymore. Instead I want to install Archlinux on my Macbook because I think this makes my daily workroutine a lot easier. rEFInd is already configured and running (short explanation: it's an EFI boot loader). Also I've freed up some space to install my new Linux on it. I've set up LVM2 on the whole partition. In the beginnings I thought this may be a problem of rEFInd stub loading and configured systemd-boot (former gummiboot). So this is my boot routine:
- Power up, rEFInd shows up
- Select systemd-boot
- Select configured arch boot entry
- Booting...
- Following error (lvm2 loaded though):
Waiting 10 seconds for device /dev/mapper/linux-root_fs
[xxx] irq 17: nobody cared (try booting with the "irqpoll" option)
[xxx] handlers:
[xxx] [<fffffffffa00f8130>] sdhci_irq [sdhci]
[xxx] Disabling IRQ #17
ERROR: device '/dev/mapper/linux-root_fs' not found. Skipping fsck.
ERROR Unable to find root device '/dev/mapper/linux-root_fs'.
My system setup details:
fdisk -l /dev/sda4
pvdisplay, vgdisplay, lvdisplay
mkinitcpio.conf hooks: HOOKS="base udev autodetect modconf block consolefont keymap keyboard lvm2 filesystems fsck"
Kernel and initramfs are located on dev/sda1. This is the location where all EFI loaders are stored (Apple, rEFInd, systemd-boot).
tree /mnt/boot (boot mounted from live cd)
cat /loader/entries/arch.conf:
title Arch Linux
linux /vmlinuz-linux-lts
initrd /initramfs-linux-lts.img
options root=/dev/mapper/linux-root_fs rw
Pretty much I followed the instructions on this page. In the first place I also had LUKS on LVM, but to reduce error-proneness I removed it.
I also started debugging my boot process, but somehow it was not possible to accept anything lower than debug. With debug my buffer is to small to display anything useful (oddly buf_len didn't work neither), so no results there.
If you need anymore info just let me know.
Greetings
Last edited by ratsunite (2015-10-24 00:25:47)
Looking for a good classname?
Offline
Small update on this case here.
I managed to copy a kernel image from a different system with lvm2 onto my EFI partition. This time the boot error looks quite different and somewhat promising.
:: Triggering uevents...
Waiting 10 seconds for device /dev/mapper/linux-root_fs ...
:: mounting '/dev/mapper/linux-root_fs on real root
mount: unknown filesystem type 'ext4'
You are now being dropped into an emergency shell.
Luckily the last error that was thrown is understandable for me. It's because this (newly copied) kernel was built with btrfs support and not ext4. So basically this means I can't built a proper kernel with LVM2 support in my chrooted environment.
Can you tell me why and how I am able to fix this? Tomorrow I am going to try building a kernel on my live cd.
Last edited by ratsunite (2015-10-20 19:38:18)
Looking for a good classname?
Offline
Concerning my small amount of time I've got to finish this "project", I've installed another distro on my LVM Volumes. No problems anymore. I guess I did something wrong in the mkinitcpio stage..
Looking for a good classname?
Offline