LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-02-2006, 06:07 PM   #1
newnew11
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Rep: Reputation: 0
Disk Partition under VMware


disk partition under VMware

when i installed red hat Linux under VMware. Chose the "create a new virtual disk". And there is a warning
"Warning: The partition talbe on device sda was unreadable. To create new partitions it must be initialized,causing the loss of ALL DATA on this drive. This operation will override any previous installation choices about which drives to ignore. Would you like to initialize this drive, erasing All Data?"

I am not sure is it OK to accept to initialize the driver. Since my physical driver has only 1 big partitioin. Will this operation affect my files on the real disk??

Thanks!
 
Old 11-02-2006, 09:07 PM   #2
wkuballa
LQ Newbie
 
Registered: Feb 2005
Location: San Jose, CA
Distribution: Fedora
Posts: 28

Rep: Reputation: 15
If you used a virtual disk when you created the virtual machine your guest OS (Redhat Linux in your case) does not access your physical hard disk but VMware is creating a large file (like <somename>.vmdk) on your host system and is simulating a physical disk for your guest system. You should verify this by checking the "Virtual Machine Settings". When you select "Edit virtual machine settings" you can check "Hard Disk". It should tell you the name of the "Disk File". If that is the case, you are safe.

best,
Werner
 
Old 11-03-2006, 10:42 AM   #3
newnew11
LQ Newbie
 
Registered: Nov 2006
Posts: 2

Original Poster
Rep: Reputation: 0
ok, i see the *.vmdk file there. So it is OK to initialize the disk? How VM ensure the *.vmdk file (and other files under VM) will not affect my physical disk. Just curious.
 
Old 11-03-2006, 11:21 AM   #4
wkuballa
LQ Newbie
 
Registered: Feb 2005
Location: San Jose, CA
Distribution: Fedora
Posts: 28

Rep: Reputation: 15
The whole point of VMware is to simulate a PC to a guest operating system. When your "create a new virtual machine" in VMware, you can configure the system that VMware is going to simulate. Check out the configuration for the CD-Rom for example. You can tell VMware to either use the real, physical CD-Rom in your host system, or to simulate a CD-Rom and to use a file as image. In the latter case VMware simulates a CD-Rom drive that is loaded with a CD that corresponds to the image file - your guest system is reading from this simulated device as if it were a real physical CD - never knowing a difference. The same is true for the hard disk. When creating a new virtual machine you can (and this is also the default) decide to create a virtual hard disk. In this case VMware is using a large file on your file system and simulates a hard disk. And when your guest system is reading and writing to its disk, it is really reading and writing to the *.vmdk file - never knowing the difference. You can even specify if VMware should simulate an ATA-disk or a SCSI-attached disk. Your host system may have only one or the other physical hard disk (ATA or SCSI), but VMware simulates whatever you choose for the guest system.

best,
Werner


BTW: These *.vmdk files can get very big. Let's say you specified the simulated disk to be a 20GB disk. VMware is only allocating disk space as is needed by the guest system, i.e., your *.vmdk files are rather small in the beginning. However, as the guest system is using more space of the disk, VMware is allocating more space for the *.vmdk file. Eventually, when the guest system is using the entire 20GB of the disk, the *.vmdk files will be 20GB.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vmware reading xp disk z9_87 Linux - Software 8 10-17-2007 04:39 AM
Disk Partition Resize Trouble and Partition Questions GNewbie Linux - Newbie 2 11-15-2005 05:15 PM
Copy files from partition to partition too slow, SATA hard disk.What should I do£¿ Ryanlee SUSE / openSUSE 20 10-31-2005 08:30 AM
Reclaim disk partition from hard disk installation EStester Linux - Enterprise 2 03-09-2005 12:46 PM
Reclaim disk partition from hard disk installation EStester Linux - General 1 03-09-2005 12:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration