Solved

Raw partition being viewed as raw disk

Posted on 2009-06-30
4
593 Views
Last Modified: 2012-08-13
I've a IDE disk with 2 NTFS partitions (type 7) and 1 Unformatted created by Linux fdisk (type 83), physically located between them. On VMware Workstation 6.5.2 for windows I want to use that partition in raw mode. But the guest OS installers (windows and linux) say the disk is my whole IDE disk in size, with all my partitions, as if I've selected the whole disk. But the properties window displays only the Linux partition checked.

Could it be possible that the original disk MBR was copied at the beginning of the partition? If I restore the MBR in the guest will I corrupt the original MBR, or that will correct the problem?
0
Comment
Question by:ranit8
  • 2
4 Comments
 
LVL 24

Assisted Solution

by:ryder0707
ryder0707 earned 30 total points
ID: 24752118
Before doing anything i suggest to backup your valuable data
but the answer to your question is yes, it could corrupt your mbr and partition table will be lost
0
 
LVL 10

Assisted Solution

by:dnilson
dnilson earned 70 total points
ID: 24768745
need more info on the underlying hardware syste.
Is the disk a SATA in ATA or AHCI mode?
Are we talking about the physical host machine (IDE) or a virtual guest (restore the MBR in the guest)?
What virtualization software are you using and identify the "guest installers).

It sounds like a driver issue if we are discusing the host, and possibley a conversion issue if its a guest.
0
 
LVL 3

Author Comment

by:ranit8
ID: 24775197
I've tried Windows XP and later GParted LiveCD. The host and guest interfaces are IDE. Here is the VMDK file. How does that extent description section with lines starting RW work?

# Disk DescriptorFile

version=1

encoding="windows-1252"

CID=12588458

parentCID=ffffffff

createType="partitionedDevice"
 

# Extent description

RW 63 FLAT "MS-DOS (XPsp3 boot disc)-0-pt.vmdk" 0

RW 33554433 ZERO 

RW 17606095 FLAT "\\.\PhysicalDrive0" 33554496

RW 183308084 ZERO 

RW 24381 ZERO 
 

# The Disk Data Base 

#DDB
 

ddb.virtualHWVersion = "7"

ddb.uuid = "60 00 C2 92 2c eb 84 04-02 b3 ed dc 30 e4 1c ca"

ddb.geometry.cylinders = "16383"

ddb.geometry.heads = "16"

ddb.geometry.sectors = "63"

ddb.geometry.biosCylinders = "1024"

ddb.geometry.biosHeads = "255"

ddb.geometry.biosSectors = "63"

ddb.adapterType = "ide"

Open in new window

0
 
LVL 3

Accepted Solution

by:
ranit8 earned 0 total points
ID: 24823348
I found it is working as it's supposed to do. I couldnt understand that both modes (entire device, selected partitions) show the whole disk to the guest. The partitions mode just prevent guest access to non-selected partitions.
I was trying to use a partition the same way one uses a preallocated virtual disk file. That is impossible.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
VMware 6 increase datastore size 8 62
vRealize suite 3 49
vCenter 6 Wait Chain Stats 9 28
VMware Horizon Client 4 31
It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now