[Solved] Share ext3 drive on Ubuntu 9.04 guest
-
rob0809
- Posts: 7
- Joined: 14. Aug 2009, 15:31
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 9.04
[Solved] Share ext3 drive on Ubuntu 9.04 guest
Hi. I'm running an XP host with an Ubuntu 9.04 share. I have a 1 TB hard drive that is formatted ext3 and has all of my media files on it. The Windows OS and Virtualbox are on a different physical disk. The ext3 disk is for storage only. I would like to mount this ext3 drive on my Ubuntu guest and use Samba to share it with other clients. Is this possible? I'm trying to avoid backing up the data, reformatting the drive in NTFS and restoring the data. Thanks!
Re: Share ext3 drive on Ubuntu 9.04 guest
Samba will work just fine, you might have to use Bridge mode though.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
-
rob0809
- Posts: 7
- Joined: 14. Aug 2009, 15:31
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 9.04
Re: Share ext3 drive on Ubuntu 9.04 guest
I can get Samba and bridge mode working, I can't share the drive because Windows doesn't see it because it is formatted as ext3.
Re: Share ext3 drive on Ubuntu 9.04 guest
Sharing has nothing to do with the format, ea. FreeNAS uses ext3 and windows can use it just fine. The OS sharing it out has to deal with the format not the one using it via a share.
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
-
rob0809
- Posts: 7
- Joined: 14. Aug 2009, 15:31
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 9.04
Re: Share ext3 drive on Ubuntu 9.04 guest
But I need to get VirtualBox to see the drive so I can share it. If I run "fdisk -l" from within the Ubuntu guest, I only see the Virtualbox share. Windows doesn't show an ext3 drive unless I use ext2ifs or something like that which I am trying to avoid.
Re: Share ext3 drive on Ubuntu 9.04 guest
This one then http://www.fs-driver.org/index.html
[This space is intentionally left blank]
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
If you can read this, you can read the VirtualBox Manual, the Forum FAQ, and the QuickClick FAQ
-=[ Search this forum with Keywords, VirtualBox solutions at you're fingertips]=-
-
baf
- Volunteer
- Posts: 829
- Joined: 27. Sep 2008, 06:18
- Primary OS: Mac OS X Leopard
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: linux,xp,win7
- Location: Luleå or Skellefteå, Sweden
Re: Share ext3 drive on Ubuntu 9.04 guest
How are you trying to share it?
If you use samba or VirtualBox shared folders then formatting doesn't matter. If you use raw diskaccess or usb-sharing then formatting matters.
If you use samba or VirtualBox shared folders then formatting doesn't matter. If you use raw diskaccess or usb-sharing then formatting matters.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
My way: "You live as long as you learn".
-
rob0809
- Posts: 7
- Joined: 14. Aug 2009, 15:31
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 9.04
Re: Share ext3 drive on Ubuntu 9.04 guest
I was trying to avoid using a wrapper like that. I guess Virtualbox can only see drives that the OS (XP) sees. Thanks for your help.vbox4me2 wrote:This one then http://www.fs-driver.org/index.html
-
rob0809
- Posts: 7
- Joined: 14. Aug 2009, 15:31
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 9.04
Re: Share ext3 drive on Ubuntu 9.04 guest
In order to use Samba Virtualbox needs to be able to see the drive in order for the guest OS (Ubuntu) to see it. Virtualbox can't see it because the host OS (XP) doesn't see it unless I use some kind of wrapper program like ext2ifs which I was trying to avoid using. I was hoping Virtualbox had something built in. Thanks for your help.baf wrote:How are you trying to share it?
If you use samba or VirtualBox shared folders then formatting doesn't matter. If you use raw diskaccess or usb-sharing then formatting matters.
-
baf
- Volunteer
- Posts: 829
- Joined: 27. Sep 2008, 06:18
- Primary OS: Mac OS X Leopard
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: linux,xp,win7
- Location: Luleå or Skellefteå, Sweden
Re: Share ext3 drive on Ubuntu 9.04 guest
Well I missed that you were on a windows host. One way to do it is by using raw disk access. Check the manual for createrawvmdk. But read and heed the warnings. With that you can use a partition in a guest directly.
Some say: "You learn as long as you live".
My way: "You live as long as you learn".
My way: "You live as long as you learn".
-
rob0809
- Posts: 7
- Joined: 14. Aug 2009, 15:31
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 9.04
Re: Share ext3 drive on Ubuntu 9.04 guest
I'll take a look at it. Thanks!
-
rob0809
- Posts: 7
- Joined: 14. Aug 2009, 15:31
- Primary OS: MS Windows XP
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Ubuntu 9.04
Re: Share ext3 drive on Ubuntu 9.04 guest
Thanks for everyone's help. Using createrawvmdk was the way to go. I used the guide at the link below and I was able to share my ext3 disk. I'm now running Samba in my Ubuntu guest using that disk.
http://agnipulse.com/2009/07/boot-your- ... irtualbox/
http://agnipulse.com/2009/07/boot-your- ... irtualbox/