LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-27-2007, 12:05 AM   #1
mdlinuxwolf
Member
 
Registered: Dec 2006
Distribution: Mepis and Fedora, also Mandrake and SuSE PC-BSD Mint Solaris 11 express
Posts: 385

Rep: Reputation: 42
Question How do you mount another partition to read it?


In Mepis or SuSE, you simply go to the My computer tab and click on the hard drive and mount the partitions. I have installed Metisse 2007 on a SATA 2 hard drive that also contains a partition of Simply Mepis 6.0 that no longer runs Xserver and when fixed runs in VGA mode only at 640. I want to mount this partition and move my data to the Mandriva portion which is the distro that I want to try for a while. Metisse has forced me to use Gnome instead of my usual and beloved KDE desktop.

I wouldn't mind being able to mount and read the Windows partition either. SuSE and Mepis could both do that.

The first distro that I ever tried was Mandrake 10, and I liked it because it was friendly. However, it won't really let you do anything too advanced. Mandriva 2007 DVD did the same thing. Therefore it isn't just a Metisse issue. Metisse can use my wireless while the regular 2007 DVD Mandriva could not. This is why I tried out Metisse in the first place.

(The eye candy is pretty slick too)
 
Old 02-27-2007, 12:35 AM   #2
kstan
Member
 
Registered: Sep 2004
Location: Malaysia, Johor
Distribution: Dual boot MacOS X/Ubuntu 9.10
Posts: 851

Rep: Reputation: 31
assume your partition going to mount is /dev/hda7
as root:
mount /dev/hda7 /media/data


thats all.
 
Old 02-27-2007, 12:38 AM   #3
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
if the partitions are listed in /etc/fstab

then you can type mount -a

to mount all partitions (including net shares).
(edit)
You may need to read-up on permissions before you can access the Metisse or suse root directories

Last edited by GlennsPref; 02-27-2007 at 12:40 AM.
 
Old 02-27-2007, 11:25 PM   #4
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
You can use MCC (System / Configuration / Configure your computer in the menu system) to mount partitions.

Open MCC

Click Mount Points in the category list (left).

Click Create, delete and resize hard disk partitions.

Click Continue in the pop up dialog.

Click the tab for the Hard Disk containing the partition you want to mount to bring it forward if it is not already in front.

Click the partition you want to mount in the hard disk graphic.

If the partition is already mounted, the mount point will be listed in the Details pane.

If the partition is not mounted, and has not been assigned a mount point, click the Mount point button in the Choose Action list (left).

Enter the mount point where you want to mount the partition (e.g.: /mnt/data) in the Mount point: text entry field of the resulting dialog.

Press the OK button (bottom right).

Click the Mount button in the Choose Action list (left).

Click the Done button (bottom right).

You will be asked if you want to save the changes (configuration?) in fstab. If you save the changes, this partition will be mounted automatically at boot time. If you do not save the changes, the partition will not be mounted at the next boot.

Note: If you want to mount more than one partition, you can set them all up as above in a single session. Mount the partitions you want to mount at boot time in one session (saving the changes), and those you want to mount one time only in another (not saving the changes).

HTH,
 
Old 03-01-2007, 02:53 PM   #5
catworld
Member
 
Registered: Nov 2004
Location: Horseheads, New York
Distribution: Mandriva 2010.1 / KDE 4.5.2, Slax, Knoppix, Backtrack & etc...
Posts: 198

Rep: Reputation: 36
From above:

mount /dev/hda7 /media/data

This will not be a persistent mount point. (though the "/mnt/data" folder will still be there after rebooting, but it'll be empty) For persistence you have to set it up as ernie states above. I add that the above command should look like this if you want write access to the drive:

mount -rw /dev/hda7 /mnt/data

If the terminal gives you grief over an unidentified file system, you add the -t option, followed by the type. See "man mount" for types.

If you do want the drive to be a persistent, permanent mount point, do as ernie sez, except before mounting you should click "toggle to expert mode," click "options" and check the box to allow ordinary users access to the drive. (the "user" checkbox)

Alternately, and for complete no nonsense access to the drive, after establishing the mount via MCC as ernie shows, in a terminal as root you change the ownership to your user name and change permissions to allow read/write without getting all manner of errors.

To change the owner, assuming your user name is "foo:"

chown foo /mnt/data

To make it easy access without grief:

chmod 777 /mnt/data

If the disk already has files on it, (as the questioner's has) the below will change the permissions on all of them to where you can delete, modify, write... all of it:

chmod -R 777 /mnt/data

You can use these with the above non-persistent mount method from the command line, too, to make things easier on yourself.

Note permissions set at 777 introduces security issues, but we're talking about a disk separate from the one containing the operating system here. "777" will make the drive behave the "windows way," the way most people expect their files to behave.

I love LQ. Forget sliced bread.

Last edited by catworld; 03-01-2007 at 02:55 PM.
 
Old 03-01-2007, 10:44 PM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
Very nice (consise) catworld and ernie, mind if I print that.

Cheers.
 
Old 03-01-2007, 11:34 PM   #7
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
My pleasure .
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to mount a read write NTFS partition CircuitSix Linux - Hardware 3 12-07-2005 02:21 AM
Creating FAT32 partition and can only mount read only?? johnnybhoy67 Linux - Networking 3 10-20-2005 07:43 AM
I can mount but cannot read a Win95 FAT32 partition wuqso Linux - Hardware 2 12-31-2004 12:39 AM
I can mount but cannot read a WIN95 FAT32 partition wuqso Fedora - Installation 0 12-30-2004 07:57 PM
Can I mount an ntfs partition or read one using linux? r_squared Linux - General 8 11-20-2004 12:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:30 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
Open Source Consulting | Domain Registration