You are not logged in.

#51 2025-05-20 05:29:06

seth
Member
Registered: 2012-09-03
Posts: 64,113

Re: [SOLVED] MKINITCPIO not including hooks

Don't try to use sda4/  /dev/mapper/tmp as /tmp and use a normal tmpfs for the test?
I don't really understand your question - what part of that do you struggle with?
Did you not setup fstab or a systemd mount this way? Then how is it deliberate?

Offline

#52 2025-05-20 16:35:50

onthegrid007
Member
Registered: 2023-12-03
Posts: 37

Re: [SOLVED] MKINITCPIO not including hooks

I see just remove the fstab line and try rebooting, got it ill try that.

Offline

#53 2025-05-20 16:49:31

onthegrid007
Member
Registered: 2023-12-03
Posts: 37

Re: [SOLVED] MKINITCPIO not including hooks

Holy **** everything works. Ok GDM loaded and i can log in now, Ill just make a script i have to run on startup to handle the random unlocking of the temp partition to a crypt disk, handle mk.ext4 command and the mounting process, thats easy stuff. But I have this issue currently with GRUB where it launches grub bot its a blank terminal and I have to manually type the following to get it to boot:
ls # to find the right partition
linux (hd2,gpt2)/vmzlinu[TAB] root=/dev/mapper/crypt1 rw
initrd (hd2,gpt2)/initramfs[TAB].img
boot

I see the automated script at /boot/grub/grub.cfg where it does this all for me bit it never runs is there a reason for this?
I have a suspicion that because I formatted the boot partition to ext4 that its having some sort of startup automation error but that thought goes away when I am able to boot manually which means the fs isn't the issue.
Any thoughts?

Offline

#54 2025-05-20 20:26:46

seth
Member
Registered: 2012-09-03
Posts: 64,113

Re: [SOLVED] MKINITCPIO not including hooks

You mean you lack the boot menu?
Check your grub.cfg, Make sure it  sets up a menu and b/c of the context: make sure you ran grub-install on the relevant device and the /boot partition is actually accessible to grub.
I assume you also encrypt the boot partition??

Offline

#55 2025-05-20 20:28:30

onthegrid007
Member
Registered: 2023-12-03
Posts: 37

Re: [SOLVED] MKINITCPIO not including hooks

Boot is not encrypted.
I can run the commands I mentioned before in the grub terminal to get it to boot normally.
There is a populated grub.cfg at /boot/grub/grub.cfg.
It contains a 10_linux option in the file.
The file is not being executed for some reason.

Offline

#56 2025-05-20 20:33:44

seth
Member
Registered: 2012-09-03
Posts: 64,113

Re: [SOLVED] MKINITCPIO not including hooks

sudo ls -lR /boot
sudo cat /boot/grub/grub.cfg
findmnt -T /boot
cat /proc/cmdline

Offline

#57 2025-05-20 20:43:56

onthegrid007
Member
Registered: 2023-12-03
Posts: 37

Re: [SOLVED] MKINITCPIO not including hooks

My mistake, the file being created was grub.conf not grub.cfg, it works now, thanks for all your help. I am doing a blackarch-linux install on a laptop with a rtx 4080 this week so I will probably be back with more questions in another form post.

Offline

#58 2025-05-20 20:46:11

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,803
Website

Re: [SOLVED] MKINITCPIO not including hooks

BlackArch is not supported here, please ask any questions regarding that distro on it's own support fora.

And please remember to mark this thread as solved.

https://wiki.archlinux.org/title/Genera … ow_to_post


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

Board footer

Powered by FluxBB