linux bootup slow on DiskOnModule(and CF card)
hello,
I met a problem on the bootup of linux. A ramdisk was built from redhat9.0. we use grub to load linux and grub.conf is as below,
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title default
root (hd0,0)
kernel /bzImage rw root=/dev/ram0
initrd /ramdisk.gz
When we use a harddisk, the system bootup was very fast. But when we changed to a DOM(DiskOnModule), the bootup speed became terribly slow. The load of grub, load of the kernel and ramdisk.gz all cost much more time. Especially at 'initrd /ramdisk.gz', we have to wait for one or two minutes.
Someone said that the write of DOM or CF card is slow. So I tried to change grub.conf to bootup as read-only.
title default
root (hd0,0)
kernel /bzImage ro root=/dev/ram0
initrd /ramdisk.gz read-write
But things did not change. Sometimes when we change the BIOS configuration(load the default), it seems that the system bootup faster. But still much slower than harddisk and we don't know why that works.
And on a PIII host the system bootup faster than that on a dual-cpu PIV host. But I don't know why.
wish I could get some help on that. Thanks a lot.
Regards,
Jack
|