|
|
发表于 2007-12-18 10:11:33
|
显示全部楼层
http://www.linuxquestions.org/qu ... b-very-slow-427442/
Hi,
I had the same problem and in my case I came to suspect grub of wrongly reading my reiserfs filesystem- or checking the journal a long time or something like that.
As stated in grub documentation, it has to interpret every filesystem (ext2,3, reiserfs etc..)
Perhaps the version of reiserfs was too recent vs grub's implementation.
Anyway I solved it by creating a small /boot filesystem under a simple filesystem: ext2
moved all the files there and ran grub
root@t600:/boot/grub# grub
root (hd0,0)
setup (hd0)
and from there it booted fast again.
---
For those interested in the details, I created the partition /boot by reducing slightly my swap space:
swapoff -a,
then fdisk /dev/hda -> delete and recreate swap space minus 40M, created a new partition of 40M type "Linux" 83
mkfs.ext2 /dev/hda3 (in my case it' s the 3rd)
mkswap /dev/hda2 ; swapon -a
mv /boot /boot.orig
mkdir /boot
mount /dev/hda3 /boot
copy the files from /boot.orig to /boot
edit /etc/fstab to have it mounted at boot
then run grub (Note that now the paths have changed from:
kernel /boot/vmlinuz-2.6.21.3 etc...
to
kernel /vmlinuz-2.6.21.3 etc..
in the /boot/grub/menu.lst
Hope it helps... |
|