LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-17-2006, 03:50 AM   #1
gauri
Member
 
Registered: Dec 2005
Posts: 31

Rep: Reputation: 15
how to mount during reboot


Hi all,

I am doing the following to mount

mount -o remount rw /
mount -o remount rw /abc

and each time i reboot i have to do this. Cant i put this in /etc/fstab.
If so how can i put . I dont understand this files. It says something like as

/dev/hda1 / ext3 defaults,errors=remount-ro 0 1
/dev/hda5 none swap sw 0 0
/dev/scd0 /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/hdc /media/cdrom1 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0

what is /dev/hda1 ext3 default etc...

Can any one help me in understanding it.

Thanks & Regards
Gauri
 
Old 02-17-2006, 05:14 AM   #2
lurker79
Member
 
Registered: Jan 2005
Location: UK
Posts: 55

Rep: Reputation: 16
In /etc/fstab there is one line for each partition/device that you are mounting e.g

/dev/hda2 / ext3 defaults 0 1
/dev/hda1 /boot ext3 defaults 0 2

The first column is the device/partition that you wish to mount.
The second column is the mount point, the location in your filesystem where you wish to mount this partition.
The third column is the type of filesystem of type of information that is stored on that partition.
The fourth column is the options you wish to use when mounting this partition, most of the time defaults is acceptable.
The fifth column is whether this filesystem is going to use certain back utilities to backup data on this partition.
The sixth column specifies whether you are going to run the fsck (filesystem check) program over the filesystem on that partition and in which order to check the filesystems, your / partition will be set to 1 and others probably set to 2.

Hope this helps.
 
Old 02-17-2006, 05:17 AM   #3
spoody_goon
Member
 
Registered: Sep 2003
Location: Michigan USA
Distribution: Mandrake, DamnSmallLinux, VectorLinux
Posts: 416

Rep: Reputation: 30
See if this page helps out, Remember to use google it is your freind. There is a better guide out there but I can't remember where it is at, but this should get you started.

http://members.toast.net/art.ross/Li...rt1/fstab.html
 
Old 03-02-2006, 01:58 AM   #4
gauri
Member
 
Registered: Dec 2005
Posts: 31

Original Poster
Rep: Reputation: 15
thanks for such a valuabel information , but i am bit busy to have a look at it deeply so i will get back to you once i will try it again till then i am doing it mannuly as soon as system comes up

Regards
Gauri
 
  


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
keep mount point after reboot deus1 Linux - General 3 06-21-2005 06:10 PM
After reboot LVM2 partitions will not mount sendas4 Linux - General 0 10-12-2004 04:35 PM
windows mount not staying after reboot - fstab looks OK ScottUT Linux - Newbie 5 01-21-2004 07:01 PM
Mount points are gone after reboot w102jsd Linux - General 1 06-19-2003 12:58 PM
mount that stays after reboot Jason Brawner Linux - Newbie 7 03-28-2002 12:39 AM

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

All times are GMT -5. The time now is 03:51 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