LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-18-2002, 08:12 PM   #1
Druaga
Member
 
Registered: May 2002
Location: Canada
Distribution: Slackware
Posts: 111

Rep: Reputation: 15
mounting at startup


how do i set my windows partition(hdb2) to mount at startup?

Last edited by Druaga; 08-18-2002 at 08:16 PM.
 
Old 08-18-2002, 08:18 PM   #2
Druaga
Member
 
Registered: May 2002
Location: Canada
Distribution: Slackware
Posts: 111

Original Poster
Rep: Reputation: 15
ummmm... i searched on this site and didnt come up with anything before i posted.... then i searched again and found it. Ya can delete this thread.

all i got to do is add:
/dev/hdb2 /mnt/windows vfat defaults 0 0
to /etc/fstab
 
Old 08-18-2002, 08:32 PM   #3
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Just to clarify for any newbs reading this:

/dev/hdb2 is the partition on which his/her Windows partition resides. This can normally be found out by issuing the command (as root) fdisk -l

/mnt/windows is the directory onto which the Windows partition will be mounted. Unlike Windows/DOS, Linux can access filesystems from mountpoints, which may be anywhere on the directory tree - no need for drive letters! Note: the mount-point directory needs to exist prior to the filesystem being mounted. So, in this case, the directory /mnt/windows will need to exist before you can access the files.

vfat is the type of filesystem. Windows 9x uses vfat (although MS call it Fat16 or Fat32), while the NT based OSs use ntfs (which is not as easy to get going under Linux). Linux uses ext2/ext3/reiserfs/xfs/jfs/anything-you-likefs, and CDroms usually use ISO9660, although some CDRWs and DVDs may use UDF.

The others are (a little) more complicated, and you really should either just use the above, or read about it by running man mount.

Just thought I'd share this with you, incase you don't have as much luck finding this in the archives.
 
Old 08-18-2002, 11:59 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Sweet breakdown of info Thymox, I will rate this one so that it can be easily found again when the question arises.

Cool
 
Old 08-21-2002, 03:36 AM   #5
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
mkdir /mnt/win

vi /etc/rc.d/rclocal

mount -t vfat /dev/hdb2 /mnt/win
 
Old 08-22-2002, 11:25 PM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
no need for setting up this in /etc/rc.local, if fat partition gets corrupted - not fail to mount - you will never boot use
auto option in /etc/fstab
/dev/hdb2 /mnt/windows vfat auto,user,umask=000,defaults 0 0

Last edited by neo77777; 08-22-2002 at 11:28 PM.
 
  


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
Mounting of windowsshare on startup mvo Linux - Newbie 2 05-10-2005 10:42 AM
Mounting Hard drives at startup Marvel Fedora 4 11-29-2004 03:30 AM
help mounting at startup mallyooh Linux - Newbie 2 09-25-2004 03:56 PM
Auto-mounting drives at startup MandrakeDave Linux - General 7 09-29-2003 05:19 PM
Mounting on Startup gauge73 Linux - Newbie 1 01-20-2003 02:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:13 AM.

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