You are not logged in.
I tried using the live disk, but it said "module not found" for a bunch of modules like hid-kye and hid-generic. When i look at the mkinitcpio.conf file, my modules are empty.
Offline
Did you chroot with bind-mounts for /dev /proc /sys? Which command(s) did you use?
Offline
Check your downloaded image passed the md5sum check, and make sure you're burning/creating it properly.
The mkinitcpio.conf file doesn't list any modules by default, and you don't need to worry about it when booting a liveCD anyway.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
mkswap /dev/sdxY
swapon /dev/sdxY
mount /dev/sdxY /mnt
mount /dev/sdxY /mnt/home
genfstab -U /mnt > /mnt/etc/fstab
mkinitcpio -p linux
Offline
This was my original image I've used since 3/2013, so its worked before.
Offline
That doesn't mean it's still good now though. MD5 and SHA1 hashes are available here: https://www.archlinux.org/releng/releases/2013.03.01/
mkswap /dev/sdxY
swapon /dev/sdxY
mount /dev/sdxY /mnt
mount /dev/sdxY /mnt/home
genfstab -U /mnt > /mnt/etc/fstab
mkinitcpio -p linux
What is all this supposed to accomplish?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I was having errors on boot, so I thought I'd regenerate the startup files and theoritically fix what was wrong. My systemd-tempfiles-setup.service failed. I figured since my machine booted with a fallback image before the issues started, that regenerating the mkinitcpio would help. I don't seem to have the image anymore that worked either.
Last edited by svalmont (2015-11-03 15:46:02)
Offline
I'm confused now. In your first post, you say you're having problems booting a liveCD, now you say you're having errors booting your system without using the fallback image. Which is it? Is it both?
If you're getting "module not found" errors while booting the liveCD, then the image is either corrupt, or there is a hardware (CD/CD drive/cables) problem.
If you're getting "module not found" errors while booting your actual installation, then it's more likely that your boot partition kernel, and root partition kernel modules have become desynchronised (i.e. your boot partition has kernel 4.2.4, but your root partition has modules for kernel 4.2.5). You don't mention mounting /boot in post #4 though, so could you confirm what your partition layout is? If you boot the fallback kernel, what is the output of
$ uname -a
$ pacman -Q linux
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
2 separate issues. Solving the boot issues was why I was trying to use mkinitcpio in the first place.
"module not found" does not happen when I try to boot the liveCD, but when I run mkinitcpio -p linux after following the steps above. "module not found" is an error from mkinitcpio, the liveCD boots just fine.
My partition layout is 3 partitions:
swap
root
home
My grub is stored on a different partition.
The fallback partition no longer boots.
Offline
I think you might be on to something. I checked the grub entry and it references linux 3.13, while I have 4.2 installed. Boot folder also only contains references to 3.13.11 How do I resolve?
Last edited by svalmont (2015-11-03 19:58:02)
Offline
mkswap /dev/sdxY
swapon /dev/sdxY
mount /dev/sdxY /mnt
mount /dev/sdxY /mnt/home
genfstab -U /mnt > /mnt/etc/fstab
mkinitcpio -p linux
You're supposed to use `arch-chroot` before rebuilding the initramfs (as frostshutz said) -- did you do that?
Which guide are you following?
Also, how do you have kernel 3.13?
Please describe in much more detail your exact set up and which steps you have followed to this point (and why).
Read this: http://xyproblem.info/
Offline
Yes. Here is my latest attempt:
mount /dev/sdxY /mnt
cd /mnt/
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/
mount -t devpts pts dev/pts/
chroot /mnt /bin/bash
ip link set eth0 up
dhcpcd eth0
pacman -Syyu mkinitcpio linux udev (which responds with a ton of "this file is already installed" messages) or mkinitcpio -p linux (which responds with /boot/vmlinuz-linux does not exist)
Not following a guide.
I had a partition that was working when I was on kernel 3.13. I've upgraded (-Syu) a bit ago and now have linux 4.2.5-1, but I'm experiencing issues which I believe are caused by the .img files not being generated in the boot folder.
Offline
mount /dev/sdxY /mnt
cd /mnt/
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/
mount -t devpts pts dev/pts/
chroot /mnt /bin/bash
You have to install the filesystem package (using `pacstrap`) before you can bind mount those folders.
EDIT: Sorry, you already have that installed, don't you?
Perhaps you should read a guide...
https://wiki.archlinux.org/index.php/Beginners%27_guide
EDIT: Why exactly are you trying to rebuild the initramfs?
It shouldn't usually be necessary.
Last edited by Head_on_a_Stick (2015-11-03 22:23:50)
Offline
This isn't a new install. Why would I need to install the filesystem package on an existing installation? They seem to mount just fine. Maybe I'm missing something, just trying to understand.
Offline
Sorry, I beat your edit. My img files stored on the boot are out of sync with what I have installed (3.13 vs 4.2.5-1). Doesn't rebuilding initramfs regenerate that? Also what I was going for with "pacman -Syyu mkinitcpio linux udev" as well
.
Offline
My img files stored on the boot are out of sync with what I have installed (3.13 vs 4.2.5-1). Doesn't rebuilding initramfs regenerate that?
How do you know which kernel versions they are?
The Arch kernel image is always called "vmlinuz-linux" regardless of the version.
What is the output of:
lsblk -f
ls /boot
Offline
My 3 partitions are
Swap
Root
Home
ls /boot = initramfs-3.13.11img initramfs-linux-fallback.img initramfs-linux.img System-3.13.11.map System.map vmlinuz vmlinuz-3.13.11
Offline
Not an Installation issue, moving to NC...
Offline
vmlinuz vmlinuz-3.13.11
How did you install these?
Those don't look like Arch kernel images to me.
Debian uses system.map files in /boot but Arch doesn't (AFAIK).
Offline
I do believe I used pacman around when that kernel was new.
Offline
That was a very odd response. No official Arch kernel has had that sort of naming convention, and that kernel version was released about a year and a half ago. Have you not updated since then?
My grub is stored on a different partition
I don't use grub, but usually your kernels are stored on the same partition as the boot loader. Are there any kernels on this grub partition? Do you have any other partitions on your machine?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I thought I remembered having to update the kernel once manually for a security patch. It was probably around that time. My guess is it's "stuck" since then. Especially if that wasn't an official Arch release. name -a gives my 4.2.5-1, while my image is still 3.13.
You are correct, the files .img etc, shown above in my /boot directory are what updates the files. Perhaps I delete the .map files? Or maybe all the files in the /boot directory and reinstall linux?
I do have an ElementaryOS partition on my machine and a Windows 7 which I haven't touched much.
Offline
Re-installing the linux package and GRUB and re-generating the bootloader configuration file should work.
It's all very strange though -- it looks like the Elementary files have "leaked" into your Arch system
Are any parts of your Elementary system mounted to your Arch partitions?
Offline
No complete separate partitions with the exception of swap.
Offline
Okay, so I've tried removing all the files on /boot.
I've tried pacman -S linux (will not install because 100's of duplicate files)
pacstrap -i base base-devel (same)
pacman -S linux-ltr (same)
pacman -Rs linux (says it couldn't find)
How do I re-install linux?
Offline