|
|
 |
 |
 |
 |
register |
bbs |
search |
rss |
faq |
about
|
 |
 |
meet up |
add to del.icio.us |
digg it
|
 |
 |
| Everything *NIX This is a general forum about all forms of *nix. Post your ideas and thoughts on this wonderful OS family. Talk about your personal favorite flavor of *nix and why you think it's so much better than the others. Anything pertaining to *nix and *nix administration should be posted here. |
 |
# 1

2007-05-25, 17:38
|
|
|
2nd partition not mounting. help :(
The Disk & Filemanager module isnt working for some reason, when it does work I have to manually enable the 2nd partition and mount it.
I was googling around and I came up with the /etc/fstab file, this is what mine says:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda2
UUID=1faa78ed-c4ea-4a65-be86-8b4315e41cc9 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
# /dev/hda6
UUID=551bb472-1e23-467a-9f7c-1acaba84370b none swap sw 0 0
/dev/hdc /media/cdrom0 auto user,atime,auto,rw,dev,exec,suid 0 0
/dev/hdc /media/cdrom0 auto users,atime,auto,rw,dev,exec,suid 0 0
/dev/hda1 /partition2 auto users,noauto,atime,rw,nodev,noexec,nosuid 0 0
Is everything right? Should I change anything? :/
Help 
|
# 2

2007-05-25, 21:33
|
|
|
Re: 2nd partition not mounting. help :(
Example:
/dev/xxxx /mnt/xxxx auto user,async,auto,rw,dev,exec,suid 0 0
Replace the xxxx by the name of the device.
You will be able to use it as a regular user (not root), if you don't want it to be accessible by regular users, use nouser instead of user.
For a better understanding of /etc/fstab see:
http://tinyurl.com/fzhoj
I recommend you learn more about /etc/fstab.
Note: Don't forget to create the /mnt/xxxx directory, if not already present. You can use another path than /mnt/xxxx though. I use /home/user/myfiles for /dev/hda2.
|
# 3

2007-05-26, 02:23
|
|
|
Re: 2nd partition not mounting. help :(
Quote:
Originally Posted by logged
Example:
/dev/xxxx /mnt/xxxx auto user,async,auto,rw,dev,exec,suid 0 0
Replace the xxxx by the name of the device.
You will be able to use it as a regular user (not root), if you don't want it to be accessible by regular users, use nouser instead of user.
For a better understanding of /etc/fstab see:
http://tinyurl.com/fzhoj
I recommend you learn more about /etc/fstab.
Note: Don't forget to create the /mnt/xxxx directory, if not already present. You can use another path than /mnt/xxxx though. I use /home/user/myfiles for /dev/hda2.
|
Thanks alot dude. Im going to read up on fstab.

|
# 4

2007-05-26, 08:48
|
|
|
Re: 2nd partition not mounting. help :(
See the manual pages for fstab and mount also.
Code:
man fstab
man mount
__________________
[autopsy@localhost ~]$ cat you >>/dev/null && rm -rf you
|
# 5

2007-05-27, 18:27
|
|
|
Re: 2nd partition not mounting. help :(
Too late, I touched god know what and when I restarted it didnt want to boot up. Backed everything up, partitioned my hard drive and made /home a seperate partition. I installed an old copy of ubuntu and it doesn't want to upgrade :/
Meh, Im going to download a new copy of Kubuntu and format the OS partition...
Thanks guy, btw.
|
# 6

2007-06-02, 04:10
|
|
|
Re: 2nd partition not mounting. help :(
Quote:
Originally Posted by missing_cipher
The Disk & Filemanager module isnt working for some reason, when it does work I have to manually enable the 2nd partition and mount it.
I was googling around and I came up with the /etc/fstab file, this is what mine says:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda2
UUID=1faa78ed-c4ea-4a65-be86-8b4315e41cc9 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
# /dev/hda6
UUID=551bb472-1e23-467a-9f7c-1acaba84370b none swap sw 0 0
/dev/hdc /media/cdrom0 auto user,atime,auto,rw,dev,exec,suid 0 0
/dev/hdc /media/cdrom0 auto users,atime,auto,rw,dev,exec,suid 0 0
/dev/hda1 /partition2 auto users,noauto,atime,rw,nodev,noexec,nosuid 0 0
Is everything right? Should I change anything? :/
Help 
|
I know this problem is solved but if anyone ever runs into this again, contrast the UUID against the hdparams file, althougth most of the time the fstab will contain the /dev/[h,s]d[0-9], sometimes it will be id by the UUID, and it will actually work. This kind of mirrors Solaris use of WWN when using Fcal drives in some of the newer system (v240, 490s)
|
# 7

2007-06-02, 20:50
|
|
|
Re: 2nd partition not mounting. help :(
Quote:
Originally Posted by cygnal
I know this problem is solved but if anyone ever runs into this again, contrast the UUID against the hdparams file, althougth most of the time the fstab will contain the /dev/[h,s]d[0-9], sometimes it will be id by the UUID, and it will actually work. This kind of mirrors Solaris use of WWN when using Fcal drives in some of the newer system (v240, 490s)
|
UUID is only used by LVM.
If there is no LVM being used, a UUID will not work, in any case.
Maybe you are confusing an Ext2/3 disk label with UUID.
__________________
[autopsy@localhost ~]$ cat you >>/dev/null && rm -rf you
|
# 8

2007-06-03, 00:38
|
|
|
Re: 2nd partition not mounting. help :(
Quote:
Originally Posted by BiOPSY
UUID is only used by LVM.
If there is no LVM being used, a UUID will not work, in any case.
Maybe you are confusing an Ext2/3 disk label with UUID.
|
you can use a universally unique identifier in order to specify which device to mount in an fstab for some linux distros.
I am not sure where you get this certainity from, it was actually listed in the original fstab that was post, it was commented out, but I bet the system generated it when it was building the system.
|
# 9

2007-06-03, 00:50
|
|
|
Re: 2nd partition not mounting. help :(
Quote:
Originally Posted by cygnal
you can use a universally unique identifier in order to specify which device to mount in an fstab for some linux distros.
I am not sure where you get this certainity from, it was actually listed in the original fstab that was post, it was commented out, but I bet the system generated it when it was building the system.
|
Yes, the system did generate it I am sure also.
The /dev/device specifier is the PV (Physical Volume).
The UUID is the LV (Logical Volume).
__________________
[autopsy@localhost ~]$ cat you >>/dev/null && rm -rf you
|
| Thread Tools |
 Show Printable Version
 Email this Page
|
| Display Modes |
Linear Mode
 Switch to Hybrid Mode
 Switch to Threaded Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |
 |
To the best of our knowledge, the text on this page may be freely reproduced and distributed.

totse.com certificate signatures
|
 |
 |
About | Community | Bad Ideas | Drugs | Ego | Erotica | Fringe | Society | Technology
|
 |
 |
 |
 |
|
|