initrd.img takes a long time to load when booting Slackware from USB
I have a USB boot disk created with usbimg2disk.sh. The "loading initrd.img" step (the one with the row of horizontal dots) takes a long time. How can I speed it up?
I'm using a USB3 boot disk on a USB2 system, and my USB BIOS settings should be correct (i.e. not crippled). |
sounds like initrd is massive. You really only need the root filesystem, usb & usb storage, motherboard chipset & anything else to get your root drive mounted & being read. Then it can grab the module tree. Fedora has 31MB of modules on my initrd. Every driver for every system ever made :-/.
|
You're right.
Code:
➜ syslinux du -h initrd.img |
Well the initrd is so big because it contains the Slackware installer... it needs to support everything.
The long loading times are caused by your USB stick - it's quite common. Buying one with faster read speeds will help. Eric |
I'm often setting up HP Proliant Microservers. This kind of hardware has no optical drive, so I have to install Slackware using a USB stick. Loading the initrd takes up to five minutes on these machines.
|
One nice thing about UEFI is that the kernel/initrd load much faster from USB.
|
I always change usbimg2disk.sh to remove the -s flag to syslinux. Here's a diff
Code:
diff usbimg2disk.sh.bak usbimg2disk.sh Alexc |
btw. If it works for others perhaps we can have it as an optional flag to usbimg2disk.sh
Alex |
All times are GMT -5. The time now is 11:16 PM. |