Results 1 to 5 of 5

Thread: Mount .vmdk in UBUNTU to change EFI

  1. #1
    Join Date
    Jan 2020
    Beans
    7

    Mount .vmdk in UBUNTU to change EFI

    Hello I have a .vmdk file and I need to change the boot.efi from it. How can I. lint the EFI partition of that .vmdk so I can change the boot.efi?

    Note: Vmware can mount to /mnt/ the .vmdk but I don’t see the EFI partition where is located the boot.efi, then how can I access to that EFI partition/directory?

    For example if I give this command:

    vmware-mount -p my.vmdk

    It will show the two partitions perfect the EFI partition is visible but how can I access it? Because if I give the command:

    vmware-mount my.vmdk /mnt


    It mounts something but is not the EFI partition. How can I then mount that EFI partition there in the .vmdk file?

    Thank you
    Last edited by coerrace; 2 Weeks Ago at 09:06 PM.

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    18,830
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Mount .vmdk in UBUNTU to change EFI

    Seems like a very specific VMware question. Since they have paid support, I'd suggest calling them.

    On a KVM hypervisor, I'd use kpartx to map the partitions to DMs and mount it that way. Don't know if vdmk files are supported. Sorry. After mounted, then a chroot environment will probably be necessary.

  3. #3
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,814
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Mount .vmdk in UBUNTU to change EFI

    Aren't you just booted to an EFI rescue prompt?

  4. #4
    Join Date
    Jan 2020
    Beans
    7

    Re: Mount .vmdk in UBUNTU to change EFI

    Quote Originally Posted by kevdog View Post
    Aren't you just booted to an EFI rescue prompt?
    Nop,it doesn’t boot in virtualbox.

  5. #5
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    10,857
    Distro
    Ubuntu

    Re: Mount .vmdk in UBUNTU to change EFI

    Shouldn't you be setting the partition number when trying to mount?
    Something like
    Code:
    vmware-mount /path/to/vmdk-file 1 /mountpoint
    For reference: https://pubs.vmware.com/vsphere-50/i...mount.4.4.html
    Set the partition to which ever is the efi partition.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •