migrate /boot to new partition
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
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 |
while booting ,
error 15: file not found. I press e to edit the kernel parameter from /boot/vmlinuz-blah-blah /boot/initrd-blah-blah to (hd0,1)/vmlinuz-blah-blah (hd0,1)/initrd-blah-blah and it works meaning the /boot is still not pointing to sda2 Thanks in advance |
setup (hd0) <<<<<<======
You need to update the boot record in the MBR, not the partition. |
Quote:
I have installed a new vm, with sda1 , boot partition sda2,VG, root partition. I use the same steps to migrate sda1 to sda3 boot partition it works However for current issue, i was not able to migrate /boot(without partition) to a new partition. Any idea? Thanks again. |
All times are GMT -5. The time now is 08:42 AM. |