On Saturday 15 September 2001 22.49, Patrick Nelson wrote:
Patrick Nelson wrote: ----------------->>>> Understand, but boot acts different so I want to make sure that I'm doing it right. Here is how boot acts different:
1. No entry in fstab 2. Called out in lilo.conf as boot=/dev/hda 3. Doesn't show up with df command 4. Can't unmount it
One thing I've noticed is that on the new drive where I've created and then copied the files of the boot partition (/dev/hda1 is new the new boot and /dev/hdb1 is old boot) it is mountable (mount /dev/hda1 /mnt/tmpmnt1) and the old boot isn't mountable (mount /dev/hdb1 /mnt/tmpmnt2) saying device is busy. To me this says that lilo isn't booting off the new mount point using the boot=/dev/hda. Yes I've run lilo and rebooted! Anyone have input on this? ----------------->>>> OK so I sat down and painstakingly read trough lilo docs and I believe I now know what question to ask now...duh!
I'm moving the /boot partition over from /dev/hdb1 to /dev/hda1. I've created the partition and it is a primary that is bootable. It is 50 MB and is the first partition on the drive. The partition table looks like:
Device Boot Start End Blocks Id System /dev/hda1 * 1 13 52384+ 83 Linux /dev/hda2 14 875 3475584 83 Linux
I mounted the new /dev/hda1 and copied all files from /boot to it.
In lilo.conf it has boot=/dev/hda so running lilo seems doesn't change where to get the boot partition. This seems to be written from current setup. So...
How do I config the system to stop loading /boot from /dev/hdb1 and start using /dev/hda1?
Did you run lilo while /dev/hda1 was mounted on /boot?