Re: Can I Mount A Windoze Drive?
- Original Message From: Jerry McAllister <[EMAIL PROTECTED]> To: Drew Jenkins <[EMAIL PROTECTED]> Cc: freebsd-questions@freebsd.org Sent: Monday, February 19, 2007 12:04:29 PM Subject: Re: Can I Mount A Windoze Drive? Great! What worked here for me was: mkdir -p /mnt/win and then mount_ntfs /dev/ad0s1 /mnt/win and *now* I can mount the Windoze drive. The piece of the formula that was missing (probably my oversight) was to mkdir, which you brought to my attention. Thanks! Drew Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can I Mount A Windoze Drive?
On Mon, Feb 19, 2007 at 04:50:57AM -0800, Drew Jenkins wrote: > Here is the dialogue: > # mount_ntfs /dev/ad0s1 /mnt/win > #mount_ntfs: /mnt No such file or directory > Drew I haven't followed all of this, but do you have a directoty named /mnt/win For my dual booted machine, I create a directory: /mydos mkdir /mydos and mount it there. Mine is FAT32 on this machine because I want to both read and write it (I converted the ntfs to FAT32 with the Partition Magic utility).Then I put the following in my /etc/fstab /dev/ad0s2 /mydosmsdosfs rw0 0 and then when I want it mounted, I just do: mount /mydos and it works just fine. That seems the easiest way to keep it. But, your error message looks like it is complaining of just what it says: there is either not a /mnt or not a /mnt/win So, if that is true, make sure those directories - or whichever one[s] you choose to use exist before try the mount. I suppose that could also be a permissions problem or even a security level issue if you have mucked with that. jerry > > - Original Message > From: Martin Tournoij <[EMAIL PROTECTED]> > To: freebsd-questions@freebsd.org > Cc: [EMAIL PROTECTED] > Sent: Sunday, February 18, 2007 3:51:25 PM > Subject: Re: Can I Mount A Windoze Drive? > > On Sun 18 Feb 2007 07:02, Drew Jenkins wrote: > > For some reason, I can no longer mount the Windoze drive! The first time I > > mounted it, I didn't even change the fstab! I just issued the command: > > mount_ntfs /dev/ad0s1 /mnt/win > > and it mounted! I copied off everything I thought I needed. But when I > > tried to go back in, that didn't work. So I added the line suggested below > > to /etc/fstab and I still can't mount it! Rebooting doesn't help. What am I > > missing? > > TIA, > > Drew > > > > > > - Original Message > > From: Martin Tournoij <[EMAIL PROTECTED]> > > To: freebsd-questions@freebsd.org > > Cc: [EMAIL PROTECTED] > > Sent: Saturday, February 17, 2007 3:10:22 AM > > Subject: Re: Can I Mount A Windoze Drive? > > > > > > On Sat 17 Feb 2007 13:02, Drew Jenkins wrote: > > > Newbie question here. I just want to make sure I don't screw anything up. > > > I have two hard drives in my box...one for Windoze, one for FBSD. Can I > > > mount the former from FBSD and copy over files? Do I navigate it just > > > like a FBSD disk..."cd", "cp", etc? > > > TIA, > > > Drew > > > > FreeBSD comes with a readonly ntfs driver. > > > > Assuming your windows partition is ad0s1 > > mount_ntfs /dev/ad0s1 /mnt/win > > > > fstab entry: > > /dev/ad0s1 /mnt/win ntfs ro,noauto 0 0 > > > > You can then copy stuff, for example: > > cp /mnt/win/Documents\ and\ Settings/carpetsmoker/Desktop ~/ > > > > If you want read support, you might want to try ntfsprogs > > (sysutils/ntfsprogs), which has some basic (EXPERIMENTAL!) read > > support. > > Does mount give some kind error? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > > > > > > > > 8:00? 8:25? 8:40? Find a flick in no time > with the Yahoo! Search movie showtime shortcut. > http://tools.search.yahoo.com/shortcuts/#news > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can I Mount A Windoze Drive?
- Original Message From: Kevin Kinsey <[EMAIL PROTECTED]> To: Drew Jenkins <[EMAIL PROTECTED]> Cc: freebsd-questions@freebsd.org Sent: Monday, February 19, 2007 9:59:52 AM Subject: Re: Can I Mount A Windoze Drive? >Does "/mnt" truly not exist? `ls -l / | grep mnt`, perhaps? Yep, exists. Here again is my line in /etc/fstab: /dev/ad0s1/mnt/winntfsrw00 >What about /dev/ad0s1? # ls /dev/ad0s1 # ad0s1 TIA, Drew It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. http://tools.search.yahoo.com/toolbar/features/mail/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can I Mount A Windoze Drive?
Drew Jenkins wrote: For some reason, I can no longer mount the Windoze drive! The first >> time I mounted it, I didn't even change the fstab! I just issued >> the command: mount_ntfs /dev/ad0s1 /mnt/win and it mounted! I copied off everything I thought I needed. But >> when I tried to go back in, that didn't work. So I added >> the line suggested below to /etc/fstab and I still >> can't mount it! Rebooting doesn't help. What am I missing? TIA, Drew > Here is the dialogue: > # mount_ntfs /dev/ad0s1 /mnt/win > #mount_ntfs: /mnt No such file or directory > Drew Does "/mnt" truly not exist? `ls -l / | grep mnt`, perhaps? What about /dev/ad0s1? KDK -- Faith is under the left nipple. -- Martin Luther ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can I Mount A Windoze Drive?
Here is the dialogue: # mount_ntfs /dev/ad0s1 /mnt/win #mount_ntfs: /mnt No such file or directory Drew - Original Message From: Martin Tournoij <[EMAIL PROTECTED]> To: freebsd-questions@freebsd.org Cc: [EMAIL PROTECTED] Sent: Sunday, February 18, 2007 3:51:25 PM Subject: Re: Can I Mount A Windoze Drive? On Sun 18 Feb 2007 07:02, Drew Jenkins wrote: > For some reason, I can no longer mount the Windoze drive! The first time I > mounted it, I didn't even change the fstab! I just issued the command: > mount_ntfs /dev/ad0s1 /mnt/win > and it mounted! I copied off everything I thought I needed. But when I tried > to go back in, that didn't work. So I added the line suggested below to > /etc/fstab and I still can't mount it! Rebooting doesn't help. What am I > missing? > TIA, > Drew > > > - Original Message > From: Martin Tournoij <[EMAIL PROTECTED]> > To: freebsd-questions@freebsd.org > Cc: [EMAIL PROTECTED] > Sent: Saturday, February 17, 2007 3:10:22 AM > Subject: Re: Can I Mount A Windoze Drive? > > > On Sat 17 Feb 2007 13:02, Drew Jenkins wrote: > > Newbie question here. I just want to make sure I don't screw anything up. I > > have two hard drives in my box...one for Windoze, one for FBSD. Can I mount > > the former from FBSD and copy over files? Do I navigate it just like a FBSD > > disk..."cd", "cp", etc? > > TIA, > > Drew > > FreeBSD comes with a readonly ntfs driver. > > Assuming your windows partition is ad0s1 > mount_ntfs /dev/ad0s1 /mnt/win > > fstab entry: > /dev/ad0s1 /mnt/win ntfs ro,noauto 0 0 > > You can then copy stuff, for example: > cp /mnt/win/Documents\ and\ Settings/carpetsmoker/Desktop ~/ > > If you want read support, you might want to try ntfsprogs > (sysutils/ntfsprogs), which has some basic (EXPERIMENTAL!) read > support. Does mount give some kind error? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" 8:00? 8:25? 8:40? Find a flick in no time with the Yahoo! Search movie showtime shortcut. http://tools.search.yahoo.com/shortcuts/#news ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can I Mount A Windoze Drive?
On Sun 18 Feb 2007 07:02, Drew Jenkins wrote: > For some reason, I can no longer mount the Windoze drive! The first time I > mounted it, I didn't even change the fstab! I just issued the command: > mount_ntfs /dev/ad0s1 /mnt/win > and it mounted! I copied off everything I thought I needed. But when I tried > to go back in, that didn't work. So I added the line suggested below to > /etc/fstab and I still can't mount it! Rebooting doesn't help. What am I > missing? > TIA, > Drew > > > - Original Message > From: Martin Tournoij <[EMAIL PROTECTED]> > To: freebsd-questions@freebsd.org > Cc: [EMAIL PROTECTED] > Sent: Saturday, February 17, 2007 3:10:22 AM > Subject: Re: Can I Mount A Windoze Drive? > > > On Sat 17 Feb 2007 13:02, Drew Jenkins wrote: > > Newbie question here. I just want to make sure I don't screw anything up. I > > have two hard drives in my box...one for Windoze, one for FBSD. Can I mount > > the former from FBSD and copy over files? Do I navigate it just like a FBSD > > disk..."cd", "cp", etc? > > TIA, > > Drew > > FreeBSD comes with a readonly ntfs driver. > > Assuming your windows partition is ad0s1 > mount_ntfs /dev/ad0s1 /mnt/win > > fstab entry: > /dev/ad0s1 /mnt/win ntfs ro,noauto 0 0 > > You can then copy stuff, for example: > cp /mnt/win/Documents\ and\ Settings/carpetsmoker/Desktop ~/ > > If you want read support, you might want to try ntfsprogs > (sysutils/ntfsprogs), which has some basic (EXPERIMENTAL!) read > support. Does mount give some kind error? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can I Mount A Windoze Drive?
For some reason, I can no longer mount the Windoze drive! The first time I mounted it, I didn't even change the fstab! I just issued the command: mount_ntfs /dev/ad0s1 /mnt/win and it mounted! I copied off everything I thought I needed. But when I tried to go back in, that didn't work. So I added the line suggested below to /etc/fstab and I still can't mount it! Rebooting doesn't help. What am I missing? TIA, Drew - Original Message From: Martin Tournoij <[EMAIL PROTECTED]> To: freebsd-questions@freebsd.org Cc: [EMAIL PROTECTED] Sent: Saturday, February 17, 2007 3:10:22 AM Subject: Re: Can I Mount A Windoze Drive? On Sat 17 Feb 2007 13:02, Drew Jenkins wrote: > Newbie question here. I just want to make sure I don't screw anything up. I > have two hard drives in my box...one for Windoze, one for FBSD. Can I mount > the former from FBSD and copy over files? Do I navigate it just like a FBSD > disk..."cd", "cp", etc? > TIA, > Drew FreeBSD comes with a readonly ntfs driver. Assuming your windows partition is ad0s1 mount_ntfs /dev/ad0s1 /mnt/win fstab entry: /dev/ad0s1 /mnt/win ntfs ro,noauto 0 0 You can then copy stuff, for example: cp /mnt/win/Documents\ and\ Settings/carpetsmoker/Desktop ~/ If you want read support, you might want to try ntfsprogs (sysutils/ntfsprogs), which has some basic (EXPERIMENTAL!) read support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can I Mount A Windoze Drive?
- Original Message From: Greg 'groggy' Lehey <[EMAIL PROTECTED]> To: Drew Jenkins <[EMAIL PROTECTED]> Cc: freebsd-questions@freebsd.org Sent: Saturday, February 17, 2007 3:03:03 AM Subject: Re: Can I Mount A Windoze Drive? Thank you to both you and Martin Tournoij as well for answering this question. Drew Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can I Mount A Windoze Drive?
On Sat 17 Feb 2007 13:02, Drew Jenkins wrote: > Newbie question here. I just want to make sure I don't screw anything up. I > have two hard drives in my box...one for Windoze, one for FBSD. Can I mount > the former from FBSD and copy over files? Do I navigate it just like a FBSD > disk..."cd", "cp", etc? > TIA, > Drew FreeBSD comes with a readonly ntfs driver. Assuming your windows partition is ad0s1 mount_ntfs /dev/ad0s1 /mnt/win fstab entry: /dev/ad0s1 /mnt/win ntfs ro,noauto 0 0 You can then copy stuff, for example: cp /mnt/win/Documents\ and\ Settings/carpetsmoker/Desktop ~/ If you want read support, you might want to try ntfsprogs (sysutils/ntfsprogs), which has some basic (EXPERIMENTAL!) read support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Can I Mount A Windoze Drive?
[Format recovered--see http://www.lemis.com/email/email-format.html] Single line message. On Saturday, 17 February 2007 at 13:46:28 +0700, Drew Jenkins wrote: > Newbie question here. I just want to make sure I don't screw > anything up. I have two hard drives in my box...one for Windoze, one > for FBSD. Can I mount the former from FBSD and copy over files? Well, you mount file systems, not disks. But yes, using mount_ntfs (or, if your Microsoft box is very old, mount_msdos). In your fstab you might have: /dev/ad2s2 /C: ntfs rw 0 0 If you now create a directory /C:, and assuming that the drive partition is correct, this file system will be mounted automatically when you start the system. You can mount or unmount it manually with 'mount /C;' and 'umount /C:'. Which disk? Look at the device nodes in /dev: $ ls -l /dev/ad* crw-r- 1 root operator4, 11 Feb 3 08:41 /dev/ad2 crw-r- 1 root operator4, 12 Feb 3 08:41 /dev/ad2s1 crw-r- 1 root operator4, 13 Feb 3 08:41 /dev/ad2s2 crw-r- 1 root operator4, 14 Feb 3 08:41 /dev/ad2s3 crw-r- 1 root operator4, 15 Feb 3 08:41 /dev/ad2s4 crw-r- 1 root operator4, 16 Feb 3 08:44 /dev/ad2s4a crw-r- 1 root operator4, 17 Feb 3 08:42 /dev/ad2s4b crw-r- 1 root operator4, 18 Feb 3 08:41 /dev/ad2s4c crw-r- 1 root operator4, 19 Feb 3 08:42 /dev/ad2s4d The node names ending in letters are BSD partitions; ad2 is the whole drive one of the others is the Microsoft partition. fdisk will tell you which one: $ fdisk ad2 Information from DOS bootblock is: The data for partition 1 is: sysid 6 (0x06),(Primary 'big' DOS (>= 32MB)) The data for partition 2 is: sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) The data for partition 3 is: sysid 219 (0xdb),(CP/M, Concurrent CP/M, Concurrent DOS or CTOS) The data for partition 4 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) I've removed unnecessary output from this example. > Do I navigate it just like a FBSD disk..."cd", "cp", etc? In principle, yes. Microsoft has this stupid idea of embedding spaces in file names. You'll see how stupid this is when you have to navigate them using UNIX commands: $ ls -l /C:/WINDOWS ... drwxr-xr-x 0 yana home0 Dec 9 2004 Connection Wizard ... drwxr-xr-x 0 yana home0 Dec 9 2004 Driver Cache $ cd /C:/WINDOWS/Connection Wizard bash: cd: /C:/WINDOWS/Connection: No such file or directory $ cd '/C:/WINDOWS/Connection Wizard' $ This will work if you haven't redefined cd as a macro, like I have done. When I try this, I still get the error message. This problem will bite you everywhere you go. You can minimize it by not using spaces in file names yourself, but you'll constantly have problems with it otherwise. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers. pgpI8LVEwMw4K.pgp Description: PGP signature