The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > BSD
Google UNIX.COM


BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mounting Hdd tatacoffee Shell Programming and Scripting 2 02-15-2008 09:45 AM
mounting USB akhil1460 UNIX for Advanced & Expert Users 1 08-05-2006 09:09 AM
Mounting help. iconn UNIX for Dummies Questions & Answers 1 06-03-2005 12:34 PM
mounting a dir punk000 UNIX for Dummies Questions & Answers 1 07-10-2003 02:07 PM
Mounting...? mo0ness Filesystems, Disks and Memory 1 07-03-2003 03:04 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-01-2008
Registered User
 

Join Date: Mar 2007
Posts: 5
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] #
using freebsd 6.3


tnx for help
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 07-01-2008
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,503
Unmount the first one

Code:
mkdir /mnt/windows/c_drive
mkdir /mnt/windows/d_drive
mount -t msdosfs /dev/ad2s1 /mnt/windows/c_drive
mount -t msdosfs /dev/ad2s2 /mnt/windows/d_drive
Reply With Quote
  #3 (permalink)  
Old 3 Weeks Ago
Registered User
 

Join Date: Aug 2008
Location: Amsterdam, The Netherlands
Posts: 31
Since your D partition resides on an extended DOS partition, I guess you'll need to mount /dev/ad2s5 instead of /dev/ad2s2.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0