SunQuest
           Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old May 15th, 2002, 03:41 PM
BlackSnow BlackSnow is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Scotland
Posts: 4 BlackSnow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to BlackSnow
how to Mount the easy way

Hi,
I was wondering if some people could tell me ow to mount the easy way on the follwoing Distros without having to edit the config.

They are:

SuSE
RedHat
Debian
Slackware

(Example:

Mandrake:
Open up the Control Center (You need to enter the 'root' password to access the Control Center)
Go to Partitions
Click on your hard drive and unmount it if necessary
Click on the Advanced Button and you should now see a button which says options
Click on the Options Button and select user and umount=0
You can unselect everything but user and umount=0.
Enter
Mount partition
Enter
Close Control Center)

Thanks in Advance

BlackSnow

Reply With Quote
  #2  
Old May 15th, 2002, 07:50 PM
justice41 justice41 is offline
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: The Emerald City
Posts: 289 justice41 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
debian (universal ?):

%> su
#> mount -t ext2 /dev/hda3 /mnt

is there an easier way?

jaa

Reply With Quote
  #3  
Old May 16th, 2002, 12:35 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
yes. modify /etc/fstab this way: (example line)
Code:
/dev/hda1 /mnt/win  auto  noauto,user 0 0

then you can mount without being root:
Code:
mount /mnt/win

in KDE you can then make a filesystem-shortcut that auto-mounts on double-click and unmounts from the context menu
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #4  
Old May 16th, 2002, 12:58 PM
justice41 justice41 is offline
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: The Emerald City
Posts: 289 justice41 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
oh, well yes, editing fstab is easier. you should definitely do that as a permanent solution.
But given the restriction ...
Quote:
... without having to edit the config.

i guess i consider fstab a config file

jaa

Reply With Quote
  #5  
Old May 16th, 2002, 01:00 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
you won

Reply With Quote
  #6  
Old May 17th, 2002, 07:29 PM
telex4's Avatar
telex4 telex4 is offline
Wacky hack
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 512 telex4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 29 sec
Reputation Power: 8
I belive what BlackSnow is looking for are distribution-specific tools which make mounting partitions/devices easier for the newbie...

For SuSE:
* Run YaST2
* Go to the Hardware section
* Run the "Partitioner" module
* You can then add partitions and devices to the list, and edit where in the filesystem they will be mounted to.

By default when installed SuSE will mount all of your devices in /media, though some such as the removable devices (cdrom, floppy etc.) require the user to actually mount them to access them.

Reply With Quote
  #7  
Old May 18th, 2002, 04:08 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
i seldomly use yast2 since most time my linux machine is in console mode.

can you tell yast2 to make partitions user-mountable? (i think this is what BlackSnow originally asked for... in addition to the kde filesystem links)

Reply With Quote
  #8  
Old May 20th, 2002, 09:33 AM
BlackSnow BlackSnow is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Scotland
Posts: 4 BlackSnow User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to BlackSnow
Post

Yes, i was meaning how to mount the easy way like how Telex4 explained for SuSE. I only need to know hwo to mount the easy way for: RedHat, Debian & Slackware...Anyone?

Reply With Quote
  #9  
Old May 20th, 2002, 03:08 PM
telex4's Avatar
telex4 telex4 is offline
Wacky hack
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 512 telex4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 29 sec
Reputation Power: 8
I don't think Slackware offers any method easier than editing /etc/fstab...

Reply With Quote
  #10  
Old May 20th, 2002, 04:18 PM
justice41 justice41 is offline
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: The Emerald City
Posts: 289 justice41 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Quote:
Originally posted by telex4
I don't think Slackware offers any method easier than editing /etc/fstab...


The same goes for Debian. Just editing fstab like M.Hirsch decribed above is the "easiest" way.

If you are looking for a graphical way, there might be something you can use depending on if you are using Gnome or KDE but those wouldn't be distro specific. All those fancy-shmancy graphical methods are just front-ends to the mount command anyway. Better to know whats going on behind the scene incase it doesn't always work from your GUI or you can't get X to start (yeah, right, like that ever happens )

jaa

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > how to Mount the easy way


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway