- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- mounting Windows drive to Linux
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2003 12:36 AM
тАО05-29-2003 12:36 AM
mounting Windows drive to Linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2003 01:54 AM
тАО05-29-2003 01:54 AM
Re: mounting Windows drive to Linux
man smbmount should give you all the info you need.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2003 02:49 AM
тАО05-29-2003 02:49 AM
Re: mounting Windows drive to Linux
1st check that your samba is runing...
//system/share /dest/mount smbfs username=user,pasword=pass 0 0
Same format as every other line.
The source being:
//NTMachine/Share
Destination path:
/mnt/YourMountPath
File System Type:
'smb' of 'smbfs'
(This was introduced by the Samba sources into the kernel years ago. I remember having to grab kernel patches from Samba and recompiling kernels to do this! Once upon a time, you had to use the tools 'smbmount' and 'smbumount' in order to do what you can now do with 'mount -tsmbfs -ousername=blah //machine/share /mount/pint'. This sill uses the 'smbmount' commands in the background, but they don't have to be used explicitly any more)
Options field:
username=WindowsUser,password=UserPassword
(There are of course more options, these are outlined in 'man smbmount')
The last two are the same as always (outlined in 'man fstab').
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2003 03:17 AM
тАО05-29-2003 03:17 AM
Re: mounting Windows drive to Linux
in this case, you just need to mount the filesystem.
1. fdisk -l
this will list all the partition names and the partition type (Device and System Columns).
2. ensure that the partition type (also the filesystem type) is compiled in your kernel.
cat /proc/filesystems.
3. If it is a fat filesystem, then by default it is supported. if it is an ntfs file system, you need to either recompile your kernel with the support enabled, or install an rpm (assuming an RPM based system ) from here
http://linux-ntfs.sourceforge.net/
4. after this, just mount the filesystem
mount /dev/
pls revert if you need more help.
hth
-balaji (back after a training.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2003 04:33 AM
тАО05-29-2003 04:33 AM
Re: mounting Windows drive to Linux
No coffee yet? smbmount is normally used for mounting "remote" filesystems running on a windows machine.
fat,vfat and ntfs is used on "local" file systems -no?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2003 04:53 AM
тАО05-29-2003 04:53 AM
Re: mounting Windows drive to Linux
# mkdir /mnt/win
2) Mount your Windows drive and link it to this new directory under Linux (Windows disk in this example is /dev/hda1):
Win98/ME:
# mount -t vfat /dev/hda1 /mnt/win
WinNT/Win2000/WinXP:
mount -t ntfs /dev/hda1 /mnt/win
Regards,
Sergejs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-29-2003 04:57 AM
тАО05-29-2003 04:57 AM
Re: mounting Windows drive to Linux
yes did have coffee and am relaxed.
but the initial thought i had after reading the question was that he wanted mount a windows dirve which meant a local windows drive. had it been a remote box, he might have told windows share.
but it is how u interpret.
good day.
-balaji (me off to home)