P2V Linux 6.x on Vmware

P2V Linux 6.x on Vmware

1. create a new volume partition  on some available storage (might need to plug in a USB drive), 2. formatting it with ext4, 3. mount it at /boot 4. copy all the /boot files over to there, 5. make backups of /etc/fstab and /mnt/sysimage/boot/grub/menu.lst and /mnt/sysimage/boot/grub/grub.conf 6. change fstab and menu.lst and grub.conf to point to the new /mnt/sysimage/boot filesystem. 7. # grub --batch --device-map=/mnt/sysimage/boot/grub/device.map --config-file=/mnt/sysimage/boot/grub/grub.conf --no-floppy 8. grub> device (hd0) /dev/sda  - set the /dev/sda as hd0 grub> device (hd1) /dev/sdb grub> root (hd1,1)  ---> (hd1,1) -- hd1 means = second disk and 1 means second  partition grub> setup (hd0) grub> setup (hd1) grub> quit mkinitrd /boot/initramfs-{kernel version}.img {kernel version} --force Ensure that the BIOS points to the new /dev/sdb disk to boot to

Version history
Revision #:
1 of 1
Last update:
‎04-25-2019 12:04 AM
Updated by: