Conversation
Notices
-
waff (waff@eientei.org)'s status on Thursday, 16-Jan-2025 12:33:45 JST waff @Suiseiseki hey would you be able to help out with a parabola gnu/linux issue I am facing right now? The matrix and the forum is being really slow. -
waff (waff@eientei.org)'s status on Thursday, 16-Jan-2025 23:43:12 JST waff @Suiseiseki from what one guy said in the matrix it may be related to the kernel but there is a chance its a configuration issue caused by an update. Anyways heres what the issue was;
I have recently had this issue with both of my i686 systems. One thats a fresh install and one that I updated and had been using for a year and a half and now they both seem not to detect my linux partition. I tried installing lvm2, changing around the boot order in mkinitcpio.conf (including adding lvm2 to the list), and even using a super grub2 boot disk but nothing seems to work. I also removed the command line that does /dev/sdx instead of uuid and removed the quiet command and I got a message saying "waiting 10 seconds for device /dev/sda1 ..." twice when booting up. -
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Thursday, 16-Jan-2025 23:43:13 JST 翠星石 @waff I haven't used Parabola, but I can probably work out issues not related to the package manager. -
waff (waff@eientei.org)'s status on Thursday, 16-Jan-2025 23:58:04 JST waff @Suiseiseki you mentioned sata. The computer is a t42 so it is using ide instead of sata. Would it be possible that the configuration defaulted to looking for sata drives? If not perhaps booting off ide is disabled altogether? -
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Thursday, 16-Jan-2025 23:58:05 JST 翠星石 @waff It appears to be related to the initramfs failing to detect the partitions full of GNU.
You want to see what partitions are are detected in the emergency shell and the UUID's if possible and see if the boot config is correct or incorrect.
If you can confirm a SATA drive is plugged in and is accessible from a live image, then the initramfs is completely broken as it can't find /dev/sda.
What you would generally do is boot up from a live image, chroot into the artix root;
mkdir /mnt/artix
mount -t proc /proc /mnt/artix/proc
mount --rbind /sys /mnt/artix/sys
mount --rbind /dev /mnt/artix/dev
mount --rbind /run /mnt/artix/run
chroot /mnt/artix /bin/bash
and then downgrade or upgrade the initramfs until you find one that works (or install another one - I found dracut to be the least sucky initramfs, although it takes several edits before it starts working).
If you don't use LVM or encrypted partitions, you don't need an initramfs - all you need is GRUB, although for some reason that's deemed non-standard on many distros. -
waff (waff@eientei.org)'s status on Friday, 17-Jan-2025 00:03:45 JST waff @Suiseiseki that would be odd yet would make sense. Though if that were the case I dont get why parabola still worked prior to me updating the kernel on my coppermine cpu. -
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Friday, 17-Jan-2025 00:03:46 JST 翠星石 @waff The IDE driver really should be included in the initramfs, but it could be that the initramfs doesn't contain a IDE driver as "nobody uses IDE anymore", which would explain why it's not working. -
waff (waff@eientei.org)'s status on Friday, 17-Jan-2025 00:15:28 JST waff @Suiseiseki where would that configuration file be placed? You said its in the source files for what would be considered the initramfs package correct? -
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Friday, 17-Jan-2025 00:15:29 JST 翠星石 @waff It turns out it is possible to disable PATA (IDE) support if CONFIG_ATA_SFF=n and CONFIG_PATA_ATIIXP=n and CONFIG_PATA_ACPI=n
Too bad the only way to check the initramfs configuration is to download the source scripts. -
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Friday, 17-Jan-2025 00:15:31 JST 翠星石 @waff It seems the IDE driver could be part of the SATA driver.
Generally configuration changes are made each update, so a previously good configuration can be changed into a broken one so it seems that it's an unrelated configuration change that has caused something to break.
The easiest way to determine if that's it is to downgrade Linux and see if it works. -
waff (waff@eientei.org)'s status on Friday, 17-Jan-2025 00:33:19 JST waff @Suiseiseki hmm ok. Let me first try an older kernel then ill go from there. Itd be annoying to go through all that work then find out its not the mkinitcpio config file -
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Friday, 17-Jan-2025 00:33:20 JST 翠星石 @waff In a file called .config, although that might be generated by a script, which will be hard to work out. -
waff (waff@eientei.org)'s status on Friday, 17-Jan-2025 05:24:17 JST waff @Suiseiseki update; I tried an older kernel and a newer kernel and nothing changed when trying to boot. It may be related to mkinitcpio but I am going to have to find a package or compile it from a previous release to be sure. -
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Friday, 17-Jan-2025 05:24:18 JST 翠星石 @waff >block Adds all block device modules, formerly separately provided by the fw, mmc, pata, sata, scsi, usb, and virtio hooks.
Huh.
Probably not that then...
I suggest downgrading if possible to see what happens. -
翠星石 (suiseiseki@freesoftwareextremist.com)'s status on Friday, 17-Jan-2025 05:24:19 JST 翠星石 @waff https://wiki.parabola.nu/Mkinitcpio#HOOKS
Seems that older versions of mkinitcpio at least required manually adding PATA support if required; HOOKS="... pata ... filesystems ..."
-