iPXE loading wrong disk UUID

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

iPXE loading wrong disk UUID

Postby gregM » Dec 10th, '24, 06:13

Hi All,
Trying to get iPXE to serve up a Mageia kernel and initrd.img to a network client.
I get the iPXE to serve up the boot files and the kernel mostly loads untill it drops to recovery/rescue mode when it 'Cant find UUID' for the clients ssd drive.
It is looking for the servers disk UUID's not the clients

Early on the the loading process the local/client disks are found by-uuid, by-id etc but later in the process it just thinks it should be accessing the disks but is using the servers UUID's and dracut reports 'Cant find devicels. (as reported in /run/initramfs/rdsoreport.txt)
dracut Warning: /dev/disk/by-uuid/1E7B-EDCE does not exist (which is the servers disk UUID)
However in /dev/disk/by-uuid the clients disks are listed.

Note it is a Windows client that has the usual Hidden/reserved partitions for Boot, System-Reserved, Accessable Data,Recovery.
These are all detected and correctly reported early in the boot process.
Just tried to mount the /dev/sda3 [Windows data partition] and get error the shell cant mount NTFS drive...
So that might be reason the disks are not mounted...

I would paste the output of these but I don't seem to be able to mount or find an inserted USB disk to copy the logs when I plug it in.
The rescue/recovery shell tells me I plugged in a USB disk but noting appears like /dev/sdb or/dev/sdb1 etc.. :) so cant mount and copy text to it!

Perhaps the initrd.img and kernel I am using may not be the correct ones.
The ones I am using are renamed vmlinuz & initrd.img, from the servers /boot directory vmlinuz-6.6.61-desktop-1.mga9 & initrd.img-6.6.61-desktop-1.mga9

I suspect I need a matching set of these files from an live or install.iso not a running system.
I can find a vmlinuz on an installer mageia.iso but can't see where the matching initrd.img is on that DVD

Anyone got clues how I can get the mageia initrd.img and kernel loaded over iPXE.
Thanks.
gregM
 
Posts: 32
Joined: Jan 16th, '18, 01:34

Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron