I am trying to allocate a Linux partition to a disk using an openSUSE VM (in VMPlayer). I have tried running sfdisk -l to find the disk, but when I do so I can only see drives with an existing Linux partition, not the USB drive with no allocated partitions. Is there a way of displaying drives that just contain unallocated drive-space and getting openSUSE to partition the drive?

  • I am now wondering if because VMWare player is designed to run in a Windows environment it is only able to see Windows partitioned external drives? Does anyone know if this is the case? – Peter David Carter Apr 11 '16 at 13:26

Sorry that I don't know much about openSUSE, but under Debian there is a package called util-linux.

There you'll find a tool called "lsblk", which will list all your installed block-devices, except RAM-Disks.

Just type: lsblk

  • Hhhhm, doesn't appear to be showing up. Perhaps something to do with the VM. Thanks, though. I'm sure the tools will be useful, and lsblk shows me the ROM partition, which I couldn't see before. – Peter David Carter Apr 11 '16 at 16:04
  • I also have no experience with VM-Player, but in VirtualBox you have to configure USB passthrough to have your USB devices present in VMs. – Winnie Tigger Apr 13 '16 at 8:25
  • Thanks. I will give Virtual Box a try see if I have more luck. – Peter David Carter Apr 13 '16 at 8:46
  • Ok, that was no advertisement for VBox. More intended to check if VMWare also needs some kind of USB passthrough configuration. But yes, give VBox a try ;-) Years ago I switched from VMWare to VBox and I feel more comfortable with it. Only my opinion :D – Winnie Tigger Apr 13 '16 at 9:16
  • I'll have a check into pass-through config. Appears related to many issues I have faced with tech recently. – Peter David Carter Apr 13 '16 at 9:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.