mount windows xp

2006-06-03 Thread Tsu-Fan Cheng

hi,
 i have a problem when trying to mount windows xp disk, I have
freebsd6.1/amd64
on a SATA and wondows xp on a 80gb regular ATA disk separatly. I boot into
freebsd and under /dev, it shows:
ad0
ad0s1
ad4
ad4s1

...
ad0 is the win$$ disk and ad4 is fbsd disk. I use mount_msdosfs /dev/ad0s1
/mnt
it gives:
Invalid argument
i heard something about not being to mount a disk too big, so I put the
"MSDOSFS_LARGE" option in my kernel config, sitll no use. any idea??
thanks!!

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount windows xp

2006-06-03 Thread Garrett Cooper

Tsu-Fan Cheng wrote:

hi,
 i have a problem when trying to mount windows xp disk, I have
freebsd6.1/amd64
on a SATA and wondows xp on a 80gb regular ATA disk separatly. I boot into
freebsd and under /dev, it shows:
ad0
ad0s1
ad4
ad4s1

...
ad0 is the win$$ disk and ad4 is fbsd disk. I use mount_msdosfs /dev/ad0s1
/mnt
it gives:
Invalid argument
i heard something about not being to mount a disk too big, so I put the
"MSDOSFS_LARGE" option in my kernel config, sitll no use. any idea??
thanks!!

TFC


Try building NTFS support into the kernel and then mount the drive using 
mount_ntfs.

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount windows xp

2006-06-03 Thread Atanas Atanasov

If you are using a GENERIC kernel, then ntfs is built in the kernel.
Otherwise you may try kldload ntfs before compiling the kernel afresh.
I have used mount_ntfs and it works perfectly. If I am not mistaken
mount_ntfs is even more intelligent - if ntfs is not loaded it
dynamically loads it with kldload and mounts the partition.

Anyway what is the file system on your Windows XP partition?

Atanas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount windows xp

2006-06-04 Thread Lowell Gilbert
"Atanas Atanasov" <[EMAIL PROTECTED]> writes:

> If you are using a GENERIC kernel, then ntfs is built in the kernel.

No, it's not, in 6.1 at least.  
I don't recall that it ever was in the past, either.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount windows xp

2006-06-04 Thread Atanas Atanasov

My appologies, you are right. However if ntfs is not loaded then
mount_ntfs loads it automatically so he doesn't need to worry about
anything - just write mount_ntfs /dev/... ... and ready.

Atanas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount windows xp

2006-06-04 Thread Tsu-Fan Cheng

Hi, thank you guys so much for the answer, I use mount_ntfs and now
it's okay. But.. I want to move a file from freebsd disk to xp disk,
as root. i cd to where I want to file to go e.g. /mnt/My
Doument.../here, then run mv /path/to/file .
it gives: ./xxx no such file or directory

?? what now??

p.s. i tried copy and it's the same..

many thanks!!

TFC



On 6/3/06, Tsu-Fan Cheng <[EMAIL PROTECTED]> wrote:

hi,
  i have a problem when trying to mount windows xp disk, I have
freebsd6.1/amd64 on a SATA and wondows xp on a 80gb regular ATA disk
separatly. I boot into freebsd and under /dev, it shows:
ad0
ad0s1
ad4
 ad4s1

...
ad0 is the win$$ disk and ad4 is fbsd disk. I use mount_msdosfs /dev/ad0s1
/mnt
it gives:
Invalid argument
i heard something about not being to mount a disk too big, so I put the
"MSDOSFS_LARGE" option in my kernel config, sitll no use. any idea??
thanks!!

TFC


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount windows xp

2006-06-04 Thread Garrett Cooper

On Jun 4, 2006, at 12:58 PM, Tsu-Fan Cheng wrote:



Hi, thank you guys so much for the answer, I use mount_ntfs and now
it's okay. But.. I want to move a file from freebsd disk to xp disk,
as root. i cd to where I want to file to go e.g. /mnt/My
Doument.../here, then run mv /path/to/file .
it gives: ./xxx no such file or directory

?? what now??

p.s. i tried copy and it's the same..

many thanks!!

TFC



Welcome to the wonderful world of sharing a partition between 2 OSes.  
Basically, the only filesystem you can use for sharing data read/ 
write between Windows and Unix is FAT32. It's just that Windows  
doesn't really have any promising read/write capable drivers (there's  
an ext2/3 driver, but that still is kind of iffy), and Unix doesn't  
have true NTFS write support (Linux is the closest to having true  
NTFS write support, IIRC). So, that leaves you with FAT32, which can  
only be created in 32GB partitions, because of the file data size  
limitations (32 bit ints I believe?).
	Good luck, and if you need to resize some Windows partitions look  
into partition magic.

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mount windows xp

2006-06-04 Thread Atanas Atanasov

I often do this and there are two practical solutions. One is as
Garrett mentioned to simply have a small FAT32 partition that suits
your needs (remember max file size is 4GB), call it buffer, and mount
if from both OS. A better solution may be to use samba. This is much
better, but you need an extra server running either pure Windows or
some alternative OS with samba server. Then you simply access this
server from both OS and it should not be a problem hopefully.
Sometimes I am surprised by the wonders an extra smbfs record in fstab
can do. It is very very practical, believe me. It has saved me out of
sticky situations a number of times. Just remember to put tight
security settings on the file server.

Atanas
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Resizing Windows partitions ( was: Re: mount windows xp )

2006-06-04 Thread Lorin Lund

Garrett Cooper wrote:
...

Good luck, and if you need to resize some Windows partitions look  
into partition magic.

-Garrett


If your budget doesn't allow for partition magic you might try Boot It 
NG from

http://www.terabyteunlimited.com/


___
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: Resizing Windows partitions ( was: Re: mount windows xp )

2006-06-04 Thread David King
Good luck, and if you need to resize some Windows partitions  
look  into partition magic.
If your budget doesn't allow for partition magic you might try Boot  
It NG from

http://www.terabyteunlimited.com/


I also have good experiences with Gparted (http:// 
gparted.sourceforge.net/features.php), they have a LiveCD at http:// 
gparted.sourceforge.net/livecd.php


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"