LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-03-2003, 02:29 AM   #1
nits
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Rep: Reputation: 0
accessing partitions.


Hi!
I have installed mandrake 9.1 on my system with a WinXP partition and another data partition. I was wondering if there is a way I can mount the data partition in linux. Both the partitions are far32. Any suggestions....
 
Old 10-03-2003, 05:05 AM   #2
saint
Member
 
Registered: Sep 2001
Location: India
Distribution: Red Hat 9
Posts: 55

Rep: Reputation: 15
Lightbulb

First you have to get the device number for the hard drive you want to mount. To do this, as root run the command
Code:
 fdisk -l
. Then choose the partition where you want to mount it. Suppose you want to mount it on /mnt . (make sure you have a directory named /mnt). After that just run the command
Code:
mount -t vfat <device number> <mount where>
For example if you want to mount /dev/hda9 on /mnt the command to do this is
Code:
mount -t vfat /dev/hda9 /mnt
 
Old 10-03-2003, 09:48 AM   #3
nits
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Original Poster
Rep: Reputation: 0
2 questions....
(1) After doing that, I can access the partition on the console but the /mnt directory is empty when I try to acceess it through Konqueror ? why?
(2) Why am I not able to mount anything else....windows, floppy, cdrom.....?

[root@localhost /]# mount
/dev/hda5 on / type ext3 (rw)
none on /proc type proc (rw)
none on /proc/bus/usb type usbdevfs (rw)
none on /dev type devfs (rw)
none on /dev/pts type devpts (rw,mode=0620)
none on /mnt/cdrom type supermount (ro,dev=/dev/scd0,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0)
none on /mnt/cdrom2 type supermount (ro,dev=/dev/hdd,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0)
none on /mnt/floppy type supermount (rw,sync,dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,codepage=850,umask=0)
/dev/hda1 on /mnt/windows type vfat (rw,iocharset=iso8859-1,codepage=850,umask=0)
/dev/hda7 on /usr type ext3 (rw)
/dev/hda8 on /mnt type vfat (rw)
[root@localhost /]# mount /mnt/floppy
mount: mount point /mnt/floppy does not exist
[root@localhost /]# mount /mnt/cdrom
mount: mount point /mnt/cdrom does not exist
[root@localhost /]# mount /dev/hda8
mount: /dev/hda8 already mounted or /mnt busy
mount: according to mtab, /dev/hda8 is already mounted on /mnt
[root@localhost /]#

how do i unmount /dev/hda8?

[
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing mounted partitions chris01 Linux - Newbie 4 09-19-2005 01:33 AM
accessing DOS Partitions Osborne1934 Linux - Newbie 18 03-27-2005 09:13 AM
Need help accessing other partitions Armon Linux - General 1 02-25-2005 03:18 AM
Accessing FAT partitions? fusion1911 Slackware 8 11-16-2003 01:46 PM
Accessing NTFS Partitions eboggess Linux - General 7 01-25-2002 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration