VMware vSphere

 View Only
  • 1.  Delete old partitions

    Posted Jun 15, 2011 11:10 AM

    Hi

    I have installed esxi on a usb and booted my server up. Esxi is running fine.

    Now I want to make sure that the server won't boot up to the old esx installation on local harddrive.

    So I want to delete old partitions containing esx. I cannot format/delete whole disk/datastore because it is one disk containing vmfs datastore and virtual servers. That is why I made the installation on a usb, when the person who made the installation made one big disk :-(

    I have 4 logical linux partions (2x8gb and 2x2gb) and a VMKcore partions left.

    When I use fdisk a try to delete then and save settings I get the following error message:

    The partition table has been altered!

    Calling loct1() to re-read partition table

    fdisk: WARNING: rereading partition table failed, kernel still uses old table: Function not implemented.

    What shoud I do to get rid og the old partitions

    ESXi is running on usb now and everything works.

    Please help

    Best regards

    Kim Hørsted



  • 2.  RE: Delete old partitions

    Posted Jun 15, 2011 11:13 AM

    try booting up with partition utility like gparted live cd and remove from there ..



  • 3.  RE: Delete old partitions

    Posted Jun 15, 2011 11:14 AM

    Hi,

    I guess you can edit grub.conf boot file and remove the entry for boot partition. pl have a backup before making changes.



  • 4.  RE: Delete old partitions

    Posted Jun 15, 2011 11:20 AM

    Okay,

    Where do I find grub.conf?



  • 5.  RE: Delete old partitions

    Posted Jun 15, 2011 11:28 AM

    this workaround will help you to make sure that your ESX server is not booted using hard disk.

    you can find in /boot/grub.conf

    you can delete the entry only if boot partition is mentioned something like /dev/sdax or /dev/hdax in grub.conf



  • 6.  RE: Delete old partitions

    Posted Jun 15, 2011 12:38 PM

    Okay

    But is this placed on my usb then? And how do I mount my usb to be able to see the boot folder?