Hello after installation my system came with a /boot partition mounted
but not used.
I mean: during installation i edited partitions and specified mount
points:
/dev/hda2 very small (45MB) /boot
/dev/hda5 much bigger (1.5GB) / (root) .
/dev/hda6 (700MB) /home
Then at the first system boot I found instead:
/dev/hda5 mounted as / (root) containing a /boot subdir with all
the usual boot stuff inside
/dev/hda2 mounted as /boot but nearly empty (just kernel.h and
lost+found in it).
As you understand when the latter is mounted it hides the real /boot
containts, which become invisible.
I explain it from the command line
<boot the system and login as root>
#ls /boot -> lost+found kernel.h
#umount /boot
#ls /boot -> "usual boot files" (many more)
Why did the penguin come out like this after install?
How can the system boot up OK?
What should check to understand this?
(In fact lilo.conf is pointing to /dev/hda5, I did not change it yet)
What can I do to "repair" this?
Is the following procedure Ok and enough?
#umount /boot (make boot files visible)
#mount -t ext3 /dev/hda2 /mnt/boot (temp: chg mountpoint)
#cp /boot/* /mnt/boot (copy boot containts)
#vi lilo.conf (and change boot=/dev/hda2) (make lilo aware)
#/sbin/lilo
#shutdown -r now (reboot)
<should this make the system boot from /dev/hda2?>
<login as root again and check everything's ok>
#mount (check mounted fs's)
#umount /boot (make old boot info visible)
#rm -r /boot/* (remove them from wrong partition)
#mount /boot (remount the right /boot partition)
NB. things are perhaps complicated by my limited knowledge of LABEL=
lines in /etc/fstab. How does the system know that LABEL=/boot1
"means" /dev/hda2? Could you please redirect me to good docs?
Thank you very much
Lurix
___________________________________________
remove "nospam" for my valid email address: