Running SLED 10 under Microsoft VPC2007
I thought I’d like to see if I could access my Windows Drive C in read only mode.
I tried
mount –t ntfs –o ro /dev/hda1 /mnt/c
But the response was
mount: mount point /mnt/c does not exist.
So I must need to do something else/more.
Any ideas ?
Also offer any advice on mounting a jump drive.
Once I activate these devices, I’d like to make these connections available on every subsequent login.
TIA
Bob
mount: mount point /mnt/c does not exist.
You need to create the destination directory (e.g. /mnt/c) where you wanna mount drive c first. Anything else looks good so far.
To create the directory from command line type “mkdir /mnt/c”.
Or use YaST > Partitioner and set the mount point for the ntfs partition (edit partition, enter mount point on the bottom right).
Take care not hit the format option in there…
Cheers,
Wj
P.s. YaST will also create the mount point directorie(s) for you, so you don’t have to create them first.
if you want to create /mnt/c then you will need root permissions i believe, so open a console and type:
su
(enter root pw)
mkdir /mnt/c
then try mounting again.
I am su
Here is what I see:
rrl:/ # cd mnt
rrl:/ # ls
c jump
cd … (did this twice to get
rrl:/ #
rrl:/ # mount -t ntfs -o ro /dev/hda1 /mnt/c
mount: /dev/hda1 already mounted or /mnt/c busy
Now it seems to me that hda1 is in use by SUSE so
maybe SUSE needs an hda4 device that is newly created and then logically attached to the Windows C:
rrl:/ # mount -t ntfs -o ro /dev/hda4 /mnt/c
but I don’t see how SUSE would know anything about the Windows drive C: or D: for that matter !
Maybe both need to be defined as special devices before they can be addressed in the mount command.
(BTW - YAST Partition scares me so I’d like to learn to do this manually.)
Recall all is happening under VPC 2007
TIA
Bob
what is ’ mount ’ telling you? Maybe also post the output you get from it.
Try creating an other directory in the root ( /driveC or someting) and try mounting in that to see if that works…
p.s. You don’t need the mount options ’ -t ntfs -o ro ’ as mount will try to find the right type on it’s own.
The option ro is only needed if you want to force a setting or only want read-only access instead or read-write.
cheers,
Wj
On Thu, 03 Jul 2008 16:46:03 GMT
srfpala <srfpala@no-mx.forums.opensuse.org> wrote:
>
> I am su
> Here is what I see:
> rrl:/ # cd mnt
> rrl:/ # ls
> c jump
> cd … (did this twice to get
> rrl:/ #
> rrl:/ # mount -t ntfs -o ro /dev/hda1 /mnt/c
> mount: /dev/hda1 already mounted or /mnt/c busy
> --------------------------------------------
> Now it seems to me that hda1 is in use by SUSE so
> maybe SUSE needs an hda4 device that is newly created and then
> logically attached to the Windows C:
> rrl:/ # mount -t ntfs -o ro /dev/hda4 /mnt/c
> but I don’t see how SUSE would know anything about the Windows drive
> C: or D: for that matter !
> Maybe both need to be defined as special devices before they can be
> addressed in the mount command.
> (BTW - YAST Partition scares me so I’d like to learn to do this
> manually.)
> Recall all is happening under VPC 2007
> TIA
> Bob
>
>
Hi
I don’t know about VPC, but in vmware there is an option to share
folders on the host machine, is there something like that in vpc?
Does vpc actually see the host drive? If so it will be a device not a
partition on the guest OS.
eg
Guest OS = /dev/hda
Host OS = /dev/hdb
Go into YaST and run the hawdware info tool and cut/past the disk
information you see or from the CLI
hwinfo --disk
–
Cheers Malcolm °¿° (Linux Counter #276890)
SLED 10.0 SP2 x86_64 Kernel 2.6.16.60-0.23-smp
up 3 days 0:06, 1 user, load average: 0.14, 0.27, 0.28
GPU GeForce 8600 GTS Silent - Driver Version: 173.14.09
Hey there I got a quick question on a similar issue…
I got a NTFS partition, it’s mounted correctly and things work, but
standart user has read acces only, to write stuff on the NTFS partition I gotta be root…Can anyone tell me what I got to do to have write-access as standart user?
problem solved…
open a console window and type
su
(enter root password)
chmod 777 /mnt/disk
where /mnt/disk is the mount point, this will change according to where it’s mounted. should work, giving full read/write access to everyone. for other permissions, please ask if needed.
Malcolm says
“Does vpc actually see the host drive? If so it will be a device not a partition on the guest OS.”
“Go into YaST and run the harwdware info tool and cut/paste the disk information you see or from the CLI”
Well, I would except I have no flash drive access, and certainly no internet access to copy to!
with the flash drive plugged in lsusb returns nothing so I suspect SUSE can’t see the flashdrive through the VPC and this may also be the case for the Windows C and D drives.
Perhaps another Virtual machine tool might work ? ? ?
Now, under YAST Hardware information reports
DISK
HD
Device Name /dev/hda
Driver PIIX_IDE
Model Virtual HD
…
I’ll stop there.
So I think SUSE can’t see through the VPC to see the NTFS c and D drives.
Your thoughts and anyone elses’ is appreciated.
Who knows, I may be the first human to try to access SLED under Microsoft’s VPC 2007
I last time I’v used VPC was in a course back in 2003. So it could well be. The way you describe it you are giving you guest access to the windows partition as if it where a IDE drive hooked to the machine. I’m assuming the first drive of the guest is sda1?
what does ‘fdisk -l’ return (run as root)? The error does indicate hda1 exists but how is it listed?