Booting USB hard drive on UEFI machine in legacy mode
I'm having problems booting Slackware 14.2 installed on a USB drive for a Dell laptop.
I've been booting external USB drives with Slackware installed since about 2002. There's been problems along the way but this one has me at a loss about what to do to fix it. Current situation is that I have a Dell laptop that successfully boots Slackware 14.1 installed on USB hard drive irrespective of whether it's 32bit or 64bit. So I know the procedure I'm following is correct it's just I can't seem to get the right mix of modules to load in my initrd. For 14.1, which boots successfully, the load_kernel_modules in /boot/initrd.gz is Quote:
For 14.2, boot fails, mkinitrd_command_generator.sh suggests these modules - Quote:
Quote:
Quote:
Any suggestions on how to proceed? Alex |
I would try vmlinuz huge without initrd, then after boot, on running system I'd try to make the initrd
|
What the ...?? Maybe you're trying to load 32-bit modules with a 64-bit kernel (or vice versa??) I've run 32-bit binaries with 64-bit Slackware kernels using Alien Bob's library. Are you doing this with the kernel modules themselves? I need more information.
|
Quote:
|
Quote:
|
Anyway, I decided to ignore the kind suggestion from mkinitrd_command_generator.sh. Not for the first time, I also ignored it back in 2014 when I migrated from 13.37 to 14.1.
What I did was just prior to going into chroot do an lsmod to inspect what modules had been loaded during the install phase. I decided to stick with ext4 as I felt I would definitely need that. What i came up with was Code:
mkinitrd -c -k ${_KERNEL} -f ext4 -r ${__UUID} -m ext4:usb-storage:ehci-pci:xhci-pci -u -w 10 -o /boot/initrd.gz Thanks Alex |
All times are GMT -5. The time now is 04:34 PM. |