Anonymous 寫:9.結論就是損失原本/boot 所在的partition,大約32mb,20G的硬碟,這樣算是滿意了.
Maybe you can try the following to get these space in use again. Now your /boot is in /dev/hda5, and your /dev/hda1 is not in use, how about try this:
1. Look at your current /boot, there should be both 2.4.19 and 2.4.20 kernel in it. Move all the files with 2.4.19 suffix away (should be System.map, config and vmlinuz) from this directory (keep them in another place just in case).
2. Reboot to confirm such a reduced /boot works.
3. Now you should have a /boot smaller than 30 MB. Let's copy them to /dev/hda1.
3a. # mount /dev/hda1 /tmp/boot
3b. # rm -rf /tmp/boot/*
3c. # cp /boot/* /tmp/boot/
4. # mv /boot /boot.bak
5. # mkdir /boot
6. Modify /etc/fstab, mount /dev/hda1 as /boot again.
7. Maybe run lilo to be safe.
8. Reboot, if everything works fine, delete /boot.bak.
Please keep backup for all files in /boot, and make sure you have a bootable disk and know your /etc/fstab well. I didn't test this idea, please review it carefully and use is at your own risk.
Any comment will be appreciated.