LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-19-2009, 12:10 PM   #31
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32

Quote:
Originally Posted by schneidz View Post
i'm not sure why universally unique identifiers are necessary ?

would putting this line in /etc/fstab work:

/dev/sda4 /mnt/sda4 ext3 relatime,errors=remount-ro 0 1

?
how to do that again..?
 
Old 02-19-2009, 12:16 PM   #32
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,165

Rep: Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889
Quote:
Originally Posted by QueenZ View Post
how to do that again..?
sudo gedit /etc/fstab

and add/ modify the line with sda4.


Quote:
Originally Posted by QueenZ View Post
...to use my other partition i have to mount it first, then it shows up in /media and only then i can start using it..
what is the command you are using to mount it manually. (we would be basically putting that line in /etc/fstab.

____________

edit im not sure what these options are:
relatime,errors=remount-ro

Last edited by schneidz; 02-19-2009 at 12:19 PM.
 
Old 02-19-2009, 12:19 PM   #33
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by schneidz View Post
sudo gedit /etc/fstab

and add/ modify the line with sda4.




what is the command you are using to mount it manually. (we would be basically putting that line in /etc/fstab.
actually i'm mounting it with Dolphin or Nautilus with 1 mouse click...
 
Old 02-19-2009, 12:20 PM   #34
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
like this...?

Quote:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda2
UUID=b414c172-c717-4908-8bcd-3060cec08864 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda5
UUID=57bc2b98-6257-4270-8a8e-000c4c0ac505 none swap sw 0 0

# /dev/sda4
UUID=f8cbec94-b273-45e1-9b00-34aad25ccf0b /mnt/sda4 ext3 relatime,errors=remount-ro 0 1
/dev/sda4 /mnt/sda4 ext3 relatime,errors=remount-ro 0 1
 
Old 02-19-2009, 12:21 PM   #35
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,165

Rep: Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889
i just saw this page:
http://wiki.linuxquestions.org/wiki/Fstab
 
Old 02-19-2009, 12:22 PM   #36
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,165

Rep: Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889
can you please mount it with dolphin or nautilus and then post the results of:
df -h
mount
 
Old 02-19-2009, 12:24 PM   #37
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,165

Rep: Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889
Quote:
Originally Posted by QueenZ View Post
like this...?
good job, your learning. one small correction:

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda2
UUID=b414c172-c717-4908-8bcd-3060cec08864 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda5
UUID=57bc2b98-6257-4270-8a8e-000c4c0ac505 none swap sw 0 0

# /dev/sda4
#UUID=f8cbec94-b273-45e1-9b00-34aad25ccf0b /mnt/sda4 ext3 relatime,errors=remount-ro 0 1
/dev/sda4 /mnt/sda4 ext3 relatime,errors=remount-ro 0 1
i commented the line rite above it so not to confuse the system.
 
Old 02-19-2009, 12:52 PM   #38
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
ok i changed fstab and saved and rebooted and now it's doing this..

"Routine check of drives: /dev/sda2..." 83% (stage 2/5, 2133/2200)
"Press ESC to skip"

wow.. what was that all about? ok it's starting up now... hope it works..
 
Old 02-19-2009, 12:55 PM   #39
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
ok.. still nothing's mounted..
 
Old 02-19-2009, 12:58 PM   #40
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
I must have done something terribly wrong.. i can't mount it anymore..

Dolphin now says..

Quote:
An error occured while accessing 'other', the system responed: mount: wrong fs type, bad option, bad superblock on /dev/sda4, missing codepage or helper program, or other error. In some cases useful info is found in syslog - try dmesg | tail or so
 
Old 02-19-2009, 01:51 PM   #41
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
can you please mount it with dolphin or nautilus and then post the results of:
df -h
mount


Quote:
queenz@queenz-ubuntu:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 9.7G 5.9G 3.4G 64% /
tmpfs 949M 0 949M 0% /lib/init/rw
varrun 949M 116K 948M 1% /var/run
varlock 949M 0 949M 0% /var/lock
udev 949M 2.7M 946M 1% /dev
tmpfs 949M 12K 948M 1% /dev/shm
lrm 949M 2.0M 947M 1% /lib/modules/2.6.27-11-generic/volatile
/dev/sda4 3.3M 27K 3.1M 1% /media/other
queenz@queenz-ubuntu:~$ mount
/dev/sda2 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.27-11-generic/volatile type tmpfs (rw,mode=755)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/queenz/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=queenz)
/dev/sda4 on /media/other type ext2 (rw,nosuid,nodev,uhelper=hal)
queenz@queenz-ubuntu:~$
 
Old 02-19-2009, 02:07 PM   #42
SkinnerC
Member
 
Registered: Dec 2007
Location: New England, USA
Distribution: Ubuntu 8.04 LTS, Slackware 12.2
Posts: 138
Blog Entries: 1

Rep: Reputation: 20
OK so I have been following this to help me with my system. I noticed that when I had ENDOFFILE in my /etc/fstab that I was getting a lot of errors and my computer stopped auto-mounting. When I removed that line, everything worked fine.

Another thing to try is comment out the partition mounting option in your /etc/fstab and restart to see if the other partitions mount properly. I had made a typo when I was editing and only found it after I did this.

Hope some of this helps
 
Old 02-19-2009, 02:43 PM   #43
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,227

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
if you paste the line you used along with the output of fdisk -l then perhaps i can suggest a way to fix it
 
Old 02-19-2009, 03:07 PM   #44
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,165

Rep: Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889Reputation: 889
is ll /media/other not the files/ directories your expecting ?

the system seems to think it is mounted .
 
Old 02-19-2009, 04:58 PM   #45
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 63
@QueenZ: I see. It is Ext2, not Ext3. Simply change the type in the /etc/fstab file.

@schneidz: This would work... to some degree. With some motherboard, you never know what letter is given to external drives, USB sticks, card-readers... that are plugged at boot time. So one boot /dev/sda is the internal harddrive, next boot it is the USB stick... you get the picture. That's why it is advisable to use either labels or UUIDs.

No I have to go to sleep. Good night. Good day. Good luck.

Yves.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can't Mount New Partition JonBL Linux - Software 2 07-12-2007 03:53 AM
installed FC 3 on another partition but can not mount that partition. MurX Fedora 15 02-01-2006 06:28 AM
Cant mount partition bvav22 Linux - Hardware 1 06-05-2005 10:04 PM
How to resize a partition and create/mount a new partition? Maarten_Holland Linux - Newbie 1 04-20-2005 09:56 AM
Why does my XP partition never mount? Kramer Linux - Laptop and Netbook 9 09-26-2003 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration