LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 05:01 PM   #46
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 61

Oh I see I'm a whole second page late! Well I don't have time now. It seems you're in good hands

Bye
 
Old 02-20-2009, 03:52 AM   #47
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 61
Hi again,

@SkinnerC: The “ENDOFFILE” word is a random word I chose to “close” the cat command. The only three relevant lines (one of which is empty) are:
Code:
# /dev/sda4
UUID=f8cbec94-b273-45e1-9b00-34aad25ccf0b /mnt/sda4 ext2 relatime,errors=remount-ro 0 1
@schneidz: I was refering to your question about the usage of UUID, of course…

@myself: I was a whole third page late, not a whole second page late! I was tired…

@QueenZ: Based on what I see in the output of your mount execution, the problem indeed seems to be that the filesystem is Ext2 and not Ext3. Did you try to put “ext2” instead of “ext3” in the previously added line? To do that, open the file with “sudo kedit /etc/fstab” and change the filesystem type in the last line (see example above, I made the change).
In case of failure, you may want to also replace “relatime,errors=remount-ro” with “relatime”. The error= option is one I had no knowledge of, and it might be specific to ext3…

Yves.

Last edited by theYinYeti; 02-20-2009 at 03:55 AM.
 
Old 02-20-2009, 10:55 AM   #48
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,051

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
^ i dont even know what relatime is ? i usually use defaults
 
Old 02-21-2009, 04:11 PM   #49
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 61
The "mount" man page explains this very well:
Quote:
relatime
Update inode access times relative to modify or change
time. Access time is only updated if the previous access
time was earlier than the current modify or change time.
(Similar to noatime, but doesn't break mutt or other
applications that need to know if a file has been read
since the last time it was modified.)
I've used my system for a couple of years with "noatime" and had no problem (I don't use mutt). Now that "relatime" exists, I've switched to it. The whole idea behind these options (compared to defaults) is to write less often to disk and wear it less when you don't care when a file was last accessed.

Yves.
 
Old 02-21-2009, 04:19 PM   #50
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
ok, i'll try this when i get to my Linux machine.. I'm on my Mac now.. At least it's automatic on Mac
 
Old 02-22-2009, 11:08 PM   #51
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,051

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
^ interesting. macs are bsdi based. i wonder what a cat /etc/fstab would produce on a mac ?
 
Old 02-22-2009, 11:56 PM   #52
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
^ interesting. macs are bsdi based. i wonder what a cat /etc/fstab would produce on a mac ?
This is what i got..
cat: /etc/fstab: No such file or direcotry
 
Old 02-23-2009, 12:02 AM   #53
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
OK, i edited my fstab and now it looks like this but still doesn't work..

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 ext2 relatime,errors=remount-ro 0 1
/dev/sda4 /mnt/sda4 ext2 relatime,errors=remount-ro 0 1
 
Old 02-23-2009, 12:16 AM   #54
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by QueenZ View Post
OK, i edited my fstab and now it looks like this but still doesn't work..
you should be more specific when you say "it doesn't work"
 
Old 02-23-2009, 10:27 AM   #55
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,051

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
Quote:
Originally Posted by QueenZ View Post
This is what i got..
cat: /etc/fstab: No such file or direcotry
a quick google replied this file /etc/fstab.hd but the link mentioned apple will phase it out in future releases.
 
Old 02-23-2009, 10:33 AM   #56
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 55
Isnt auto missing?

/dev/sda4 /mnt/sda4 ext2 auto,relatime,errors=remount-ro 0 1
 
Old 02-23-2009, 10:39 AM   #57
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,051

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
^ also post the results of once again
df -h
mount
ll /mnt/sda4

so we are sure of whats sctually mounted.

also, i think we mentioned this before but make sure the mountpoint already exists:
mkdir /mnt/sda4

Last edited by schneidz; 02-23-2009 at 10:49 AM.
 
Old 02-23-2009, 11:08 AM   #58
QueenZ
Member
 
Registered: Sep 2008
Distribution: openSUSE, Ubuntu
Posts: 372
Blog Entries: 2

Original Poster
Rep: Reputation: 32
/mnt/sda4 (maybe permissions are wrong?)

Quote:
queenz@queenz-ubuntu:/mnt$ ls -fhg
drwxr-xr-x 2 root 4.0K 2009-02-19 12:59 sda4
df -h
Quote:
queenz@queenz-ubuntu:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 9.7G 6.8G 2.4G 75% /
tmpfs 949M 0 949M 0% /lib/init/rw
varrun 949M 224K 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
mount
Quote:
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)
ll /mnt/sda4
Quote:
queenz@queenz-ubuntu:~$ ll /mnt/sda4
bash: ll: command not found
fdik -l
Quote:
queenz@queenz-ubuntu:~$ sudo fdisk -l
[sudo] password for queenz:
Sorry, try again.
[sudo] password for queenz:

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x40c132b1

Device Boot Start End Blocks Id System
/dev/sda1 * 1 5894 47340056 7 HPFS/NTFS
/dev/sda2 5895 7175 10289632+ 83 Linux
/dev/sda3 7176 7296 971932+ 5 Extended
/dev/sda4 5894 5894 3467+ 83 Linux
/dev/sda5 7176 7296 971901 82 Linux swap / Solaris

Partition table entries are not in disk order

Last edited by QueenZ; 02-23-2009 at 12:52 PM.
 
Old 02-23-2009, 01:44 PM   #59
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,051

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
^ what i find weird is that the system thinks that /dev/sda4 is a 3.3 megabyte drive mounted on /media/other.

try:
ls -a -l /mnt/sda4
ls -a -l /media/other



i think this can go in ~/.bash_profile:
alias ll="ls -a -l"

~schneidz

Last edited by schneidz; 02-23-2009 at 01:49 PM.
 
Old 02-23-2009, 01:56 PM   #60
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
^ what i find weird is that the system thinks that /dev/sda4 is a 3.3 megabyte drive mounted on /media/other.
~schneidz
That's actually correct. I have a ext2 partition 3.3 MB and it's mounted on /media/other
 
  


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


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