MEPIS This forum is for the discussion of MEPIS Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-31-2005, 10:48 PM
|
#1
|
Member
Registered: Jul 2005
Location: USA - IL
Distribution: Mepis
Posts: 131
Rep:
|
Mounting Drives
Hi guys,
I am trying to figure out how to mount my hdb4 at boot up. I have read several posts on doing this but couldnt find them when i wanted to do the above.
Any advice would be good 
|
|
|
07-31-2005, 10:52 PM
|
#2
|
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775
Rep:
|
If you go to /etc/fstab, do you see how there are two sections--static and dynamic? Put the mount in the static section--that way it'll be mounted every time you boot up.
|
|
|
07-31-2005, 10:58 PM
|
#3
|
Member
Registered: Jul 2005
Location: USA - IL
Distribution: Mepis
Posts: 131
Original Poster
Rep:
|
This is my fstab file:
# Static entries below, do not use 'users' option in this area
/dev/hdb1 / ext3 defaults,noatime 1 1
/dev/hdb3 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/hdb2 /home ext3 defaults,noatime 1 2
# Dynamic entries below, identified by 'users' option
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=0222 0 0
/dev/hdb4 /mnt/hdb4 vfat noauto,users,exec,umask=000 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,users,dev,ro 0 0
/dev/floppy /mnt/floppy vfat,ext2,hfsplus noauto,users,dev,sync,dirsync 0 0
Where do i add my line and will i need to add anymore information? Id like to have this mounted when i log in as user and root
Than you!
Last edited by JediDB; 07-31-2005 at 10:59 PM.
|
|
|
07-31-2005, 11:24 PM
|
#4
|
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775
Rep:
|
Quote:
Originally posted by JediDB
/dev/hdb4 /mnt/hdb4 vfat iocharset=utf8,umask=000 0 0
|
Add this line to the top section.
|
|
|
07-31-2005, 11:25 PM
|
#5
|
Member
Registered: Jul 2005
Location: USA - IL
Distribution: Mepis
Posts: 131
Original Poster
Rep:
|
Quote:
iocharset=utf8,umask=000 0 0
|
What does that part of the line mean?
Thanks 
|
|
|
08-01-2005, 01:31 AM
|
#6
|
Member
Registered: May 2005
Location: Orlando, Fl
Distribution: ArchLinux (Can use any distro though)
Posts: 231
Rep:
|
actualy, thats not entirely what you want
add:
/dev/hdb4 /mnt/hdb4 vfat auto,users,exec,umask=000 0 0
to the top section
and remove:
/dev/hdb4 /mnt/hdb4 vfat noauto,users,exec,umask=000 0 0
from the bottom
the auto makes it automount
the users makes it user readable
exec makes it so executables can be run from it
unmask changes permissions
|
|
|
08-01-2005, 06:06 PM
|
#7
|
Member
Registered: Jul 2005
Location: USA - IL
Distribution: Mepis
Posts: 131
Original Poster
Rep:
|
Quote:
the auto makes it automount
the users makes it user readable
exec makes it so executables can be run from it
unmask changes permissions
|
Thanks, i love these types of answers for us newbies
Thanks again, goning to give it a try in a few....
|
|
|
08-03-2005, 03:24 PM
|
#8
|
Member
Registered: Jul 2005
Location: USA - IL
Distribution: Mepis
Posts: 131
Original Poster
Rep:
|
Hi,
Ok, i tried to enter that line in 'user' mode but it wouldnt let me 'write' to the disk. Do i need to be in /root to do this? I was using Kwrite.
Thanks.
|
|
|
08-03-2005, 03:30 PM
|
#9
|
LQ Newbie
Registered: Nov 2004
Distribution: slackware
Posts: 23
Rep:
|
Quote:
Originally posted by JediDB
Hi,
Ok, i tried to enter that line in 'user' mode but it wouldnt let me 'write' to the disk. Do i need to be in /root to do this? I was using Kwrite.
Thanks.
|
its ok to do it logged in as user but you have to open the text editor with root privages so, click on the K button > run command and in that box type kdesu kwrite, enter your root password. kwrite will open with root privalages, navigate to your fstab file and make your changes save and exit
|
|
|
08-03-2005, 03:34 PM
|
#10
|
Member
Registered: Jul 2005
Location: USA - IL
Distribution: Mepis
Posts: 131
Original Poster
Rep:
|
Hi,
Thanks for the quick response. A small question, what does the 'su' stand for after kde?
Just been a curious newbie 
|
|
|
08-03-2005, 03:37 PM
|
#11
|
Member
Registered: Jul 2005
Location: USA - IL
Distribution: Mepis
Posts: 131
Original Poster
Rep:
|
Hmm, im ediitng my Fstab file and at the top, where it says Static, it says not to use any "users" here and i was told to have the word "user" in the mount line for all users to access...
Any ideaS?
|
|
|
08-03-2005, 03:45 PM
|
#12
|
Member
Registered: Jul 2005
Location: USA - IL
Distribution: Mepis
Posts: 131
Original Poster
Rep:
|
I edited my Fstab file and the hdb4 is still not mounting at startup.
Heres my Fstab File now:
# Static entries below, do not use 'users' option in this area
/dev/hdb1 / ext3 defaults,noatime 1 1
/dev/hdb3 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/hdb2 /home ext3 defaults,noatime 1 2
# Dynamic entries below, identified by 'users' option
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=0222 0 0
/dev/hdb4 /mnt/hdb4 vfat auto,users,exec,umask=000 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,users,dev,ro 0 0
/dev/floppy /mnt/floppy vfat,ext2,hfsplus noauto,users,dev,sync,dirsync 0 0
What did i do wrong?
Last edited by JediDB; 08-03-2005 at 03:49 PM.
|
|
|
08-03-2005, 03:51 PM
|
#13
|
LQ Newbie
Registered: Nov 2004
Distribution: slackware
Posts: 23
Rep:
|
Quote:
Originally posted by JediDB
Hi,
Thanks for the quick response. A small question, what does the 'su' stand for after kde?
Just been a curious newbie
|
The Unix su (subsitute user) command is used to assume the login shell of another user without logging out. It is commonly used to change to root user permissions for administrative work without logging off and back on. Desktop environments such as KDE and GNOME have programs that pop up a password query box before allowing a user to run commands that would typically require such access.
en.wikipedia.org/wiki/Su_(computing)
your welcome
|
|
|
08-03-2005, 04:06 PM
|
#14
|
LQ Newbie
Registered: Nov 2004
Distribution: slackware
Posts: 23
Rep:
|
Quote:
Originally posted by JediDB
I edited my Fstab file and the hdb4 is still not mounting at startup.
Heres my Fstab File now:
# Static entries below, do not use 'users' option in this area
/dev/hdb1 / ext3 defaults,noatime 1 1
/dev/hdb3 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs defaults 0 0
/dev/hdb2 /home ext3 defaults,noatime 1 2
# Dynamic entries below, identified by 'users' option
/dev/hda1 /mnt/hda1 ntfs noauto,users,exec,ro,umask=0222 0 0
/dev/hdb4 /mnt/hdb4 vfat auto,users,exec,umask=000 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,users,dev,ro 0 0
/dev/floppy /mnt/floppy vfat,ext2,hfsplus noauto,users,dev,sync,dirsync 0 0
What did i do wrong?
|
if you look at the post above by mos he says to put your /dev/hdb4 line in static entries not dynamic at least thats how i read it
add:
/dev/hdb4 /mnt/hdb4 vfat auto,users,exec,umask=000 0 0
to the top section
and remove:
/dev/hdb4 /mnt/hdb4 vfat noauto,users,exec,umask=000 0 0
from the bottom
|
|
|
08-03-2005, 04:09 PM
|
#15
|
Member
Registered: Jul 2005
Location: USA - IL
Distribution: Mepis
Posts: 131
Original Poster
Rep:
|
Yes, i saw that but, on the static line it reads:
Quote:
# Static entries below, do not use 'users' option in this area
|
So, thats why i didnt add the line there.... but im guessing i need to do this anyhow, lol
|
|
|
All times are GMT -5. The time now is 08:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|