Hi,
i can create the virtualbox with rawdisk and partitions 1.
When i enter virtualbox, it seems created for the entire disk but the first partition is only 50G.
Did i something wrong or is the parameter -partition 1 not working.
My virtualbox version = 2.1.4
creating with rawdisk on an existing partition
-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
Sorry but you need to give us more specific details: what exactly do you type in your VBoxManage command(s)? What exactly were the errors?
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.
I've typed:
and the vbox was created. But for the entire disk space, not the first partition.
Code: Select all
VBoxManage internalcommands createrawvmdk -filename ~/Vbox/win2000.vmdk -rawdisk /dev/hda -partitions 1 -register -mbr mbr.mbr
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
The first partition is accessible, the rest isn't.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
Thanks, but why the created vbox is about 149G large and the partition i'd selected only 50G ?
hda1 is a primary partition.
Code: Select all
Number Type StartCHS EndCHS Size (MiB) Start (Sect)
1 0x0c 0 /1 /1 1023/254/63 50610 63
5 0x83 1023/254/63 1023/254/63 70 103651443
6 0x83 1023/254/63 1023/254/63 1427 103796028
7 0x83 1023/254/63 1023/254/63 23838 106719858
8 0x83 1023/254/63 1023/254/63 9538 155541393
9 0x83 1023/254/63 1023/254/63 1906 175076433
10 0x83 1023/254/63 1023/254/63 3812 178980228
11 0x83 1023/254/63 1023/254/63 1906 186787818
12 0x83 1023/254/63 1023/254/63 956 190691613
13 0x83 1023/254/63 1023/254/63 956 192651543
14 0x82 1023/254/63 1023/254/63 666 194611473
15 0x83 1023/254/63 1023/254/63 20002 195976998
16 0x83 1023/254/63 1023/254/63 16747 231 942748-
TerryE
- Volunteer
- Posts: 3572
- Joined: 28. May 2008, 08:40
- Primary OS: Ubuntu other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 10.04 & 11.10, both Svr&Wstn, Debian, CentOS
- Contact:
Read the documentation carefully. As sasquatch says your VMDK looks like the full disk, but you only have r/w access to the partitions that you specify.mess-mate wrote:I've typed:and the vbox was created. But for the entire disk space, not the first partition.Code: Select all
VBoxManage internalcommands createrawvmdk -filename ~/Vbox/win2000.vmdk -rawdisk /dev/hda -partitions 1 -register -mbr mbr.mbr
Read the Forum Posting Guide
Google your Q site:VirtualBox.org or search for the answer before posting.
Google your Q site:VirtualBox.org or search for the answer before posting.