DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1st July 2008
sniper007's Avatar
sniper007 sniper007 is offline
Real Name: Jurif
Fdisk Soldier
 
Join Date: Jun 2008
Location: Slovenia
Posts: 50
Thanked 0 Times in 0 Posts
Default Mounting

Hi

I mounted disk which have two partition C: , D: ( i am not sure if both partition have same file system) with this commad:

Code:
mount -t msdosfs /dev/ad2s1 /mnt/windows

but this is mounted only first partition with fat file system. ( in windows XP C: )

How can i mount another partition D: ?

this is fdisk for /dev/ad2


Code:
 [root@fbsd1 /mnt/windows 19:58:37] #  fdisk /dev/ad2
******* Working on device /dev/ad2 *******
parameters extracted from in-core disklabel are:
cylinders=77504 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=77504 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
    start 63, size 20487537 (10003 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 239/ sector 63
The data for partition 2 is:
sysid 15 (0x0f),(Extended DOS (LBA))
    start 20487600, size 57607200 (28128 Meg), flag 0
        beg: cyl 1023/ head 239/ sector 63;
        end: cyl 1023/ head 239/ sector 63
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
 [root@fbsd1 /mnt/windows 20:04:41] #

tnx for help
Reply With Quote
  #2   (View Single Post)  
Old 1st July 2008
vi5in's Avatar
vi5in vi5in is offline
Real Name: Vivin Paliath
Port Guard
 
Join Date: May 2008
Location: Arizona
Posts: 17
Thanked 0 Times in 0 Posts
Default

You probably want to use mount_ntfs for windows XP since it's uses NTFS.
Reply With Quote
  #3   (View Single Post)  
Old 1st July 2008
sniper007's Avatar
sniper007 sniper007 is offline
Real Name: Jurif
Fdisk Soldier
 
Join Date: Jun 2008
Location: Slovenia
Posts: 50
Thanked 0 Times in 0 Posts
Default

No because this is very old disk which not support NTFS
Reply With Quote
  #4   (View Single Post)  
Old 1st July 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,069
Thanked 198 Times in 156 Posts
Default

Quote:
Originally Posted by vi5in View Post
You probably want to use mount_ntfs for windows XP since it's uses NTFS.
According to the partition ID it's FAT32...

Quote:
Originally Posted by sniper007 View Post
No because this is very old disk which not support NTFS
Ugh?
You can use NTFS on any disk, NTFS is a filesystem and device-independent.

Quote:
How can i mount another partition D: ?

this is fdisk for /dev/ad2
What does:
% ls /dev/ad2*
give you?
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 1st July 2008
s0xxx's Avatar
s0xxx s0xxx is offline
Package Pilot
 
Join Date: May 2008
Posts: 194
Thanked 47 Times in 22 Posts
Default

It seems to be an extended partition, so try something like:
# mount -t msdosfs /dev/ad2s5 /mnt/windows
Reply With Quote
  #6   (View Single Post)  
Old 1st July 2008
sniper007's Avatar
sniper007 sniper007 is offline
Real Name: Jurif
Fdisk Soldier
 
Join Date: Jun 2008
Location: Slovenia
Posts: 50
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Carpetsmoker View Post
Ugh?
You can use NTFS on any disk, NTFS is a filesystem and device-independent.


I remember when i was installing windows XP on this disk have a lot of problem with formating to NTFS, then i used FAT...


Code:
 [root@fbsd1 /mnt/windows 23:26:09] #  ls /dev/ad2*
crw-r-----  1 root  operator    0, 102 Jul  1 19:36 /dev/ad2
crw-r-----  1 root  operator    0, 109 Jul  1 19:36 /dev/ad2s1
crw-r-----  1 root  operator    0, 116 Jul  1 19:36 /dev/ad2s2
crw-r-----  1 root  operator    0, 106 Jul  1 19:36 /dev/ad2s5



Code:
[root@fbsd1 /mnt/windows 23:27:37] #  mount -t msdosfs /dev/ad2s5 /mnt/windows
mount_msdosfs: /dev/ad2s5: Invalid argument
 [root@fbsd1 /mnt/windows 23:31:13] #
Reply With Quote
  #7   (View Single Post)  
Old 1st July 2008
sniper007's Avatar
sniper007 sniper007 is offline
Real Name: Jurif
Fdisk Soldier
 
Join Date: Jun 2008
Location: Slovenia
Posts: 50
Thanked 0 Times in 0 Posts
Default

OK now works!

I mounted /dev/ad2s5 with :

Code:
 mount -t ntfs /dev/ad2s5 /mnt/windows

Tnx all the same

Sniper
Reply With Quote
  #8   (View Single Post)  
Old 2nd July 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

Quote:
Originally Posted by sniper007 View Post
I remember when i was installing windows XP on this disk have a lot of problem with formating to NTFS, then i used FAT...
Hmm. That doesn't sound that good: Make sure you have backups!! Things like that are often caused by a failing disk.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting external XFS HDD rativid OpenBSD General 5 3rd September 2010 02:31 PM
smb mounting question zerhacke FreeBSD General 5 3rd January 2009 01:47 AM
USB icon after mounting andycapp FreeBSD General 0 23rd October 2008 10:40 PM
mounting UFS hirohitosan Other BSD and UNIX/UNIX-like 2 27th June 2008 02:40 PM
Mounting a second serial hd keyboard112 Other BSD and UNIX/UNIX-like 4 12th May 2008 08:06 AM


All times are GMT. The time now is 06:13 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick