Monday, August 30, 2010

Note about permissions in VirtualBox physical hard disk usage in Linux host

From VirtualBox manual: "Starting with version 1.4, as an alternative to using virtual disk images, VirtualBox can also present either entire physical hard disks or selected partitions thereof as virtual disks to virtual machines...
...this type of access is called "raw hard disk access"; it allows a guest OS to access its virtual hard disk without going through the host OS file system."
Do read the manual (part 9.7.1 at now) and do it at your own risk! Here we will talk only about permission problem you can get in Linux host. That, you will need read/write access for the entire disk (or selected partitions). For example:

$ VBoxManage internalcommands createrawvmdk -filename $HOME/.VirtualBox/HardDisks/sda2.vmdk -rawdisk /dev/sda -partitions 2

set up an image for access /dev/sda2 in Linux host. User needs read/write access to this partition. Otherwise, we will get some messages like this while adding sda2.vmdk to a virtual machine:

NS_ERROR_FAILURE (0x80004005)
Component: 
HardDisk
Interface: 
IHardDisk {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
Callee: 
IVirtualBox {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}

Check the physical disks properties:

$ ls -l /dev/sda*

brw-rw---- 1 root disk 8, 0 2010-08-30 21:53 /dev/sda
brw-rw---- 1 root disk 8, 1 2010-08-30 12:22 /dev/sda1
brw-rw---- 1 root disk 8, 2 2010-08-30 21:31 /dev/sda2
brw-rw---- 1 root disk 8, 5 2010-08-30 12:22 /dev/sda5

We can see one solution to grant permissions is adding username to the disk group, for example, by editing /etc/group file. And don't forget to re-login.

38 comments:

Commercial Electricians said...

Good post mate..Thanks for sharing mate

Commercial Electricians

HDD said...

Today, I managed to boot from physical drives. This required;

60 min straight forward reading
30 min writing this

20 min trying different options in VirtualBox

Pankaj Yadav said...

Awesome post! After Look at this I can’t stop myself to go for shopping just loving it. Airtel Free Internet Tricks Also check freecharge coupon code

shubham chugh said...

VirtualBox Vs VMware which is the best tool ?

manish dhanda said...

Romantic Songs
Sultan Ali Khan

Savita Bhabhi said...

who say seo is simplied thing
veteransdayimagesquotes

Rishabh Sharma said...

Idea Check Number

Whatsapp Group Names

Trickideas

Satta King 2017 results
Bigg Boss 11 online
Voting Process of Bigg Boss 11
Coinbase Promo code

Gopikrushna Sahoo said...

how to download Videos From voot

kajol sharma said...

The hopefuls of Bigg Boss 11 are yet to be concluded. The contenders are exclusively at the attentiveness of the group of Bigg Boss – who incorporate the generation and host group of the show. There are hypotheses that the host, Salman Khan is likewise a dynamic part to choose who might be chosen as hopefuls.
Bigg Boss 11 Live Promo
Watch Bigg Boss 11 Videos Online
Bigg Boss 11 Voting by Mobile SMS
Bigg Boss 11 Live Episodes

Ajit Agrawal said...

This is a great blog. keep sharing such nice post for us. Here are my sites for voot bigg boss 11 and Bigg Boss 11.

alan morris said...

This is a assortment of some wonderful Halloween coloring web pages selected predicated on their innovativeness and reliability. Select these as each is absolute to make an outstanding holiday art for your children. The fun and educative color sheets are well suited for small children, pre-schoolers, kindergarteners as well as teenagers.
Halloween Costume Ideas
Happy Halloween Wishes
Halloween pictures 2017
Halloween Costumes for women

rajeevguesskaro said...

Outstanding post, you have pointed out some good details , I too conceive this s a very fantastic website.
Bigg Boss 11 Prediction

kajal sharma said...

Veterans Day is not to be mistaken for Memorial Day. Veterans Day commends the administration of all U.S. military veterans, while Memorial Day is a day of recalling the men and ladies who kicked the bucket while serving.
Happy veterans day quotes
Happy Veterans Day Images
Veterans Day History
Happy Veterans Day Quotes
Happy Thanksgiving 2017 Wishes

Iam Blogger said...


Halloween Day
Halloween Pumpkin Carving Ideas
Halloween Costume Ideas
Halloween Couple Costume Ideas
Halloween Day Quotes
When Is Halloween 2017?
Halloween Costume Ideas For Girls
Halloween Costume Ideas For Boys
Halloween Costume Sale & Discount
Halloween Pumpkin Images

Iam Blogger said...

Halloween Party Ideas
Halloween Pumpkin Stencil Carving Pattern
Halloween House Decoration Ideas
How To make Creepy Halloween Spider Cupcake
Happy Halloween Message
Halloween Make Up Ideas
Halloween Day Poems
Halloween Day SMS
Halloween Wallpapers
Halloween Day Songs

Iam Blogger said...


Halloween Day Images
Halloween Day Sayings
Halloween Day Wishes
Halloween Day Pumpkin Pictures Download
Halloween Day Quotes Saying
Halloween Day Images HD
Halloween Day One Liners
Happy Halloween Wishes SMS
Happy Halloween Background Images
Happy Halloween Message

Iam Blogger said...

Happy New Year 2018 Images
Happy New Year 2018 Pictures
Happy New Year 2018 Wallpapers
Happy New Year 2018 Quotes
Happy New Year 2018 Wishes
Happy New Year 2018 Message
Happy New Year Images 2018
Happy New Year Greetings 2018
Happy New Year Wallpapers 2018

Iam Blogger said...


Also Read
Happy New Year 2018 Wishes
Happy New Year 2018 Quotes
Happy New Year 2018 SMS
Merry Christmas 2017 Images
Merry Christmas 2017 Greetings
Merry Christmas 2017 Wallpapers
Veterans Day
Veterans Day Quotes
When Is Veterans Day

Cristopher said...

Nice Your Blog.if you are Update Lucky Patcher here is a latest version available now.

ashu said...

Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
i also found some helpful sites like yours.


aadhar card download
aadhar card status by name
check aadhar status
aadhar card status enquiry phone number
onlineaadhar.com
aadhar card status
aadhar card status by name and pin code
online aadhar.com
uidai
download adhar card
e aadhar
aadhar card download online
how to download aadhaar card with uid number
aadhar update
aadhar correction
download aadhar card by eid

ashu said...

Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
i also found some helpful sites like yours.



IRCTC
irctc login

erail

NTES

Indian Railway

Train enquiry

PNR Status

Pnr enquiry

running status


spot your train
live train status
Train between stations
book train tickets

freshjobalerts said...

Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
i also found some helpful sites like yours.



Govt jobs

free job,
railway recruitment
ibps jobs job alerts

bank jobs

ssc jobs


railway recruitment 2017

latest jobs

upcoming jobs

army jobs

Anonymous said...


digital marketing
SEO
social media marketing
web development
software development
SEM
PPC
affiliape marketing
email marketing
advertising agency

suman goyal said...

May i consider your ideas you are offered to your post. They are really convincing and will certainly work.Thanks for the post Latest showbox apk

sumitjain said...

My first time I visit here. I found so many entertaining stuff on your blog, especially its discussion. thanks for sharing such a wonderful post. Minecraft apk download

Anonymous said...

Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
i also found some helpful sites like yours.



E aadhar card
Aadhar card download
aadhar card status
e aadhar card
e aadhar card update
aadhaar card correction
aadhaar card applicatiion
aadhaar card status by eid uid
update aadhaar card
aadhaar
eaadhaar
eaadhaar card

nishant said...

We are driving passionate bloggers who have been tracking escalating trends in simple mehndi design for legs in modern as well as traditional styles.

poojasharma said...

My first time I visit here. I found so many entertaining stuff on your blog, especially its discussion. thanks for sharing such a wonderful post bigrock coupon code

Anonymous said...

Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
i also found some helpful sites like yours.


bmi calculator
body mass index calculator
bmi formula
bmi calculator for men
bmi calculator for women
bmi chart for men
bmi chart for women
bmi table for men
bmi table for women
bmi graph for adults
bmi chart for boys
bmi chart for girls
bmi table for boys
bmi table for girls
bmi calculator for children
bmi calculator for children and teens

Anonymous said...


Tuition Center in Delhi
Home Tuition in South Delhi
Physics Tuition in Delhi
Home Tutor in south delhi
Home Tuitions in delhi

Anonymous said...

Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
i also found some helpful sites like yours.


pan card
apply pan card
pan card status
pan card update
pan card correction
pan card search by name
pan card number
pan number
pan number search
pan card track
pan card verification
pan card download
online pan card status
pan card status by name
pan card status by pan number
uti pan card
nsdi pan card
nsdi pan card check status
check pan card status
check uti pan card status
uti pan card number
pan card acknowledgement no.

Anonymous said...

Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
i also found some helpful sites like yours.



IPL 2018 time table
Vivo ipl 2018 team schedule
IPL 2018 teams squad
Vivo ipl 2018 team players
IPL2018 live score
Vivo ipl 2018 live score card
Vivo ipl 2018 team point table
Vivo ipl 2018 full team players list

Anonymous said...


Best Tourist Place in india
Tourist Place in Jaipur
Travel Destination Near Delhi
Best Honeymoon Destination in India
Best Adventure Place in India
Beautifull Hill Station for Couples
Tourist Place Near Maharasthra
Weekend Destination Near Mumbai
Weekend Destination near Delhi
best hill station in India

Anonymous said...

Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
i also found some helpful sites like yours.



Recipes
Best recipes
Atozrecipes
All recipes
Indian recipes
Punjabi recipes
Chinese recipes
Paneer recipes
Sabji
Breakfast recipes
Dinner recipes
Healthy recipes

Anonymous said...

Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
i also found some helpful sites like yours.


West Bengal Police jobs
HSSC jobs
RPSC jobs
fresh job alert
WPSC jobs
IBPS jobs
SSC jobs
RRB recruitment
RRC recruitment 2018
Bihar police reruitment
Bank jobs
Latest jobs
UPSSC jobs
ARMY jobs
Upcoming jobs

Anonymous said...

Hello sir, your web site is lovingly serviced and saved as much as date. So it should be, thanks for sharing this with us.
i also found some helpful sites like yours.


Erailpnrstatus.in
indian railway
indian railway train enquiry
railway ticket enquiry pnr status
indian railway reservation enquiry pnr status
train pnr no enquiry
indian railway ticket status
irctc pnr ticket
irctc train timings enquiry
indian railway train
ticket confirm pnr number


Ananta Dev said...

Hi do check out this latest post with our New Blog Post and I hope you would have enjoyed all our post
the voice 2018 season 14 winner Name Announced Who Won the Final
who wins the voice 2018
voice season 14 winner
the voice 2018 winner USA
the voice winners 2018
the voice 2018 season 14 winner Name Announced Who Won the Final
who wins the voice 2018
voice season 14 winner
the voice 2018 winner USA
the voice winners 2018
American Idol 2018 who can win
American Idol 2018 winner
American Idol 2018 who won the final
winner of American Idol 2018
who won American Idol 2018
American Idol 2018 who can win
American Idol 2018 winner
American Idol 2018 who won the final
winner of American Idol 2018
who won American Idol 2018
The Voice Australia Winner Name
The Voice Australia 2018 who will win
Who Won the Voice Australia 2018
The Voice Australia who won the Finale
the voice USA 2018 Results Spoiler Episodes
Met Gala 2018 Theme Costumes Celebrities Dress
New York Marathon 2018 Results Spoiler Winner
American Idol Winner Spoiler Episodes Results
America Got Talent 2018 Results Spoiler Winner
America Got Talent 2018 who can win
America Got Talent 2018 Winner Name
America Got Talent 2018 who can win
America Got Talent 2018 Winner Name

Obat Sakit Dada said...

This article is interesting and useful. Thank you for sharing. And let me share an article about health that God willing will be very useful. Thank you :)


Obat Tumor Jinak diatas Bola Mata
Penyebab Benjolan dileher
Obat Penghilang Nyeri Lutut
Pengobatan Alami menyembuhkan Sangkadi
Cara Menghilangkan Bekas luka
Cara Cepat Mengatasi Iritasi Kulit