I entered the live environment and installed Grub on my hard drive, placing the 6.4.0 kernel in the /dev/sda3
location, through mkinitramfs -o /mnt/boot/initrd
created the initrd
and placed it in the /dev/sda3
location, but it got stuck here during startup, as shown in the screenshot:
But when I enter the live environment, I can see/dev/sda3
, as shown in the screenshot:
What's going on? I followed this link(mdadm: no devices listed in conf file were found - Debian 8 with GPT) and set rootdelay in grub.cfg and executed update grub, which is still the same. Additionally, after entering initramfs, the keyboard was unable to input, so I don't know what happened
grub.cfg:
#Begin cfg
set default=0
set timeout=4
set root=(hd0,gpt3)
menuentry "GNU/Linux, Test-6.4.0-rt" {
linux /bzImage rw root=/dev/sda3 rootdelay=90
initrd /initrd
}
fstab:
#device mount-point type options dump fsck order
/dev/sda3 / ext4 defaults 0 1
/dev/sda2 /boot ext4 defaults 0 1
/dev/sda1 /boot/efi vfat umask=0077 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
tmpfs /var tmpfs defaults 0 0
debugfs /sys/kernel/debug debugfs default 0 0
devpts /dev/pts devpts defaults 0 0
#none /tmp ramfs defaults 0 0
#mdev /dev ramfs defaults 0 0
reply telcoM and Tom Yan, drivers exist:
sudo unmkinitramfs initrd .
ls main/lib/modules/6.1.0-10-amd64/kernel/drivers/ata/ahci.ko
ls main/lib/modules/6.1.0-10-amd64/kernel/drivers/scsi/sd_mod.ko
====================Problem recurrence=============================
update 6.4.0-rt8:
$ ls main/lib/modules/6.4.0-rt8/kernel/drivers/scsi/sd_mod.ko
main/lib/modules/6.4.0-rt8/kernel/drivers/scsi/sd_mod.ko
$ ls main/lib/modules/6.4.0-rt8/kernel/drivers/ata/ahci.ko
main/lib/modules/6.4.0-rt8/kernel/drivers/ata/ahci.ko