Hi,
I just installed a vm RHEL5, where /dev/sda1 is mounted as /
and the boot is just a directory under / ,not a partition.
I tried to move /boot to a new partition: /dev/sda2 but failed.
basically what i did was
- fdisk /dev/sda, create sda2, mkfs sda2, assign bootable flag to sda2
- mount /dev/sda2 /boot2/
- rsync /boot/ /boot2/
- grub
- root (hd0,1)
- setup (hd0,1)
- edit grub.conf to (hd0,1)
- edit fstab to auto mount sda2
the error message was error 15 file not found.
i found out even though i grub-install successfully, but when i type
grub
find /boot/grub/stage1
the result is (hd0,0)
may i know how do i install/change the stage1 to become (hd0,1)
Thanks