Re: can't mount windows partition

2004-12-03 Thread Thomas Lippert
Kevin Smith wrote:
Rizal Ferdiyan wrote:
hello ;
my name rizal from indonesia, I have a problem. My partition windows
(FAT
32) can't mount
in freebsd. My partition in /dev/ad0s1 and /dev/ad0s2. I have been try
writemount -t msdosfs /dev/ad0s1(ad0s2) /mnt/win1(ad0s1) and
mount_msdosfs /node  but it don't work. Please help me and sorry for my
bad english.
Snip

/dev/ad0s1 /windows/C ntfs ro 2 0
/dev/ad0s3 /windows/E msdosfs rw 0 0
(You don't need the 2, it can be 0)
For fat it can be 2 or 0 for NTFS though i believe a 2 can result in
difficulty restarting automatically after a panic.
You need to create the directories for the mount points (/windows/C and 
/windows/E). The partition in /dev/ad0s3 is my FAT32 partition which is 
the writable one - you don't want the ntfs filesystem to be 
writable.if you want the FAT32 (msdosfs) parition to be writeable, 
then /windows/E must be a writable mount directory. You of course, 
should use your own device (/dev/ad0s*) names as they are going to be 
different from mine.

Once you have these in your /etc/fstab they will automatically mount on 
boot (as configured this way). If you don't want to reboot after editing 
the file, you can always just do a :

  mount /windows/E
To manually mount...or
  umount /windows/E to umount it.
The configuration I have just described is how I wanted to set it up on 
my system, but others may have different opinions/setups.

Good luck.
-Kevin
Snip
The english seems fine to me for examples of what you really don't want
to go here. That being said i personally wouldn't have even noticed the 
little flub there so it wasn't an issue. Thanks though for saying 
something anyway. At anyrate if you haven't seen this page before it 
will give some idea of why language fluency is not that big a deal.
and helpful tips for not incurring the wrath of the BSD gods. ;-)
http://www.lemis.com/email.html

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


Re: can't mount windows partition

2004-12-02 Thread Brian Bobowski
Rizal Ferdiyan wrote:
hello ;
my name rizal from indonesia, I have a problem. My partition windows
(FAT
32) can't mount
in freebsd. My partition in /dev/ad0s1 and /dev/ad0s2. I have been try
writemount -t msdosfs /dev/ad0s1(ad0s2) /mnt/win1(ad0s1) and
mount_msdosfs /node  but it don't work. Please help me and sorry for my
bad english.
thank you.
 

Please provide the error text and the output of uname -a if this 
doesn't work, but...

Are you certain that it's a FAT32 disk and not an NTFS? Windows XP, for 
instance, can use the NTFS file system(my Home edition does by default).

That said, there is a problem with your mount syntax. That or I can't 
figure out exactly what you're typing.

I don't know which of your disk partitions is which. I'm going to give 
examples as though /dev/ad0s1 is the Windows partition and /dev/ad0s2 is 
the FreeBSD slice; in /dev, such a slice would show up with letters 
after the slice number to indicate the FreeBSD partition, such as 
/dev/ad0s2a, ad0s2c, ad0s2d... etc. (I believe b is not currently used, 
left open for convention; a is for the / partition; and c is swap. This 
is all convention, but it's convention the FreeBSD installer's 
auto-partition option in fdisk would adhere to.)

Anyway, if the Windows partition is indeed /dev/ad0s1, make sure 
/mnt/win1 exists and try the following as root:

mount -r -t msdosfs /dev/ad0s1 /mnt/win1
This will attempt to mount the device read-only, which may at least be a 
stepping stone. If this doesn't work, you can also try using NTFS(just 
in case), thus:

mount -r -t ntfs /dev/ad0s1 /mnt/win1
If either works, then you will be able to:
mount -uw /mnt/win1
and update the already-mounted filesystem to read-write.
If you can get this working, Mr Kevin Smith has given an excellent 
example of how to place an entry into your /etc/fstab file. In fact, it 
might be easier to put that entry in /etc/fstab and then simply type:

mount -a
to automatically mount the unmounted entries in the fstab.
If this doesn't work, please post the exact error text and what you 
typed to receive it. Also, the output of ls /dev/ad* may be helpful, 
and as I mentioned above, uname -a never is amiss.

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


Re: can't mount windows partition

2004-12-02 Thread Joshua Lokken
On Thu, 02 Dec 2004 04:42:38 -0500, Brian Bobowski [EMAIL PROTECTED] wrote:
 Rizal Ferdiyan wrote:
 
 
 
 hello ;
 my name rizal from indonesia, I have a problem. My partition windows
 (FAT
 32) can't mount
 in freebsd. My partition in /dev/ad0s1 and /dev/ad0s2. I have been try
 writemount -t msdosfs /dev/ad0s1(ad0s2) /mnt/win1(ad0s1) and
 mount_msdosfs /node  but it don't work. Please help me and sorry for my
 bad english.
 
 thank you.
 
 
 Please provide the error text and the output of uname -a if this
 doesn't work, but...
 
 Are you certain that it's a FAT32 disk and not an NTFS? Windows XP, for
 instance, can use the NTFS file system(my Home edition does by default).
 
 That said, there is a problem with your mount syntax. That or I can't
 figure out exactly what you're typing.
 
 I don't know which of your disk partitions is which. I'm going to give
 examples as though /dev/ad0s1 is the Windows partition and /dev/ad0s2 is
 the FreeBSD slice; in /dev, such a slice would show up with letters
 after the slice number to indicate the FreeBSD partition, such as
 /dev/ad0s2a, ad0s2c, ad0s2d... etc. (I believe b is not currently used,
 left open for convention; a is for the / partition; and c is swap.

I believe that a is normally /; b is normally swap; c is normally the
overlay partition (whole disk), and not used.

-- 
Joshua Lokken
Open Source Advocate
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't mount windows partition

2004-12-01 Thread Rizal Ferdiyan
hello ;
my name rizal from indonesia, I have a problem. My partition windows
(FAT
32) can't mount
in freebsd. My partition in /dev/ad0s1 and /dev/ad0s2. I have been try
writemount -t msdosfs /dev/ad0s1(ad0s2) /mnt/win1(ad0s1) and
mount_msdosfs /node  but it don't work. Please help me and sorry for my
bad english.

thank you.

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


Re: can't mount windows partition

2004-12-01 Thread Kevin Smith
Rizal Ferdiyan wrote:
hello ;
my name rizal from indonesia, I have a problem. My partition windows
(FAT
32) can't mount
in freebsd. My partition in /dev/ad0s1 and /dev/ad0s2. I have been try
writemount -t msdosfs /dev/ad0s1(ad0s2) /mnt/win1(ad0s1) and
mount_msdosfs /node  but it don't work. Please help me and sorry for my
bad english.
thank you.
 

Rizal,
You can set all this up very easily in your fstab file instead of typing 
the command to mount the file systems (unless you just want access it 
temporarily).

Here are the entries that I have in my /etc/fstab:
/dev/ad0s1 /windows/C ntfs ro 2 0
/dev/ad0s3 /windows/E msdosfs rw 0 0
(You don't need the 2, it can be 0)
You need to create the directories for the mount points (/windows/C and 
/windows/E). The partition in /dev/ad0s3 is my FAT32 partition which is 
the writable one - you don't want the ntfs filesystem to be 
writable.if you want the FAT32 (msdosfs) parition to be writeable, 
then /windows/E must be a writable mount directory. You of course, 
should use your own device (/dev/ad0s*) names as they are going to be 
different from mine.

Once you have these in your /etc/fstab they will automatically mount on 
boot (as configured this way). If you don't want to reboot after editing 
the file, you can always just do a :

 mount /windows/E
To manually mount...or
 umount /windows/E to umount it.
The configuration I have just described is how I wanted to set it up on 
my system, but others may have different opinions/setups.

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