You are not logged in.
Pages: 1
hey guys,
I have a SSD, where my arch lives, and a normal hard disk, where I've stored my data.
But unfortunately I can't access it.
I can see it in /dev but how can I mount it?
thanks
Offline
Ultra newbie, but we all learned some time. Have you partitioned the 2nd HDD yet? If so what filesystems did you use? Post the output of 'fdisk -l'
As an aside, you might wanna read through this wiki article to keep your SSD healthy and happy.
Last edited by graysky (2010-07-02 16:38:36)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I'm using on both hard disks ext4.
Here is the output:
Not needed ^^
Thanks for the SSD-Link. I didn't know that SSDs have limited write/read
I try to make the I/Os lesser
Last edited by o'neill (2010-07-02 12:34:26)
Offline
Read "man mount". You can obmit -t for most filesystems. If you want to have a partition mounted on startup, add an entry to [wiki]fstab[/wiki].
P.S.: depending on your Desktop Envirnoment, your disks should show up automatically, e.g. in Nautilus for gnome.
Last edited by hokasch (2010-07-02 12:34:00)
Offline
Ah, thanks!
P.S.: depending on your Desktop Envirnoment, your disks should show up automatically, e.g. in Nautilus for gnome.
I just have awesome3, with no filemanager, which I don't need
Thanks again!
Offline
If it's an internal disc, just mount it permanently in fstab
See 'man fstab' for details.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I'm using on both hard disks ext4.
Here is the output:
Not needed ^^
???
Posting to the newbie corner means making assumptions can be detrimental to the user asking for help which is why I asked to see your partition setup. It baffles me why you won't post the output to facilitate a more educated guess from me and others. Did you mean to come off as a smart-ass or am I misunderstanding this reply?
Last edited by graysky (2010-07-02 13:49:24)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I'm sorry.
I wrote the output (see my edit), but I thought you ignore it, so I removed it.
Here is the output again:
Platte /dev/sda: 80.0 GByte, 80026361856 Byte
255 Köpfe, 63 Sektoren/Spur, 9729 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00067ea4
Gerät boot. Anfang Ende Blöcke Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 46 265072+ 82 Linux Swap / Solaris
/dev/sda3 47 1003 7687102+ 83 Linux
/dev/sda4 1004 9729 70091595 83 Linux
Platte /dev/sdb: 1000.2 GByte, 1000204886016 Byte
255 Köpfe, 63 Sektoren/Spur, 121601 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000c34da
Gerät boot. Anfang Ende Blöcke Id System
/dev/sdb1 * 1 121601 976760001 83 Linux
If it's an internal disc, just mount it permanently in fstab
Yeah it's an internal disc. I read the manual about fstab, but I couldn't find a solution
Here is my fstab:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
#/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
#/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
#/dev/fd0 /media/fl auto user,noauto 0 0
UUID=33c90b36-ded6-4cc6-be81-b825c3770fa2 / ext4 defaults 0 1
UUID=b46aeca7-107e-411d-857b-9ee50d53e46a /boot ext2 defaults 0 1
UUID=f2851ccf-012c-47b9-816e-e853790d8434 /home ext4 defaults 0 1
UUID=f6a841fe-4d3e-4879-9b06-e3d20cf50d01 swap swap defaults 0 0
where can I get the UUID from /dev/sdb?
Last edited by o'neill (2010-07-02 14:59:53)
Offline
OK!
1) Make a mount point with the mkdir command (as root) - contemporary thought is to place it under /media for anywhere is fine
2) Add an fstab entry
3) mount it as root
To answer your question, one way is to:
ls -l /dev/disk/by-uuid
I would highly encourage all new users to search around in google for common stuff like this; a simple query give multiple hits on the first page.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Yeah it's an internal disc. I read the manual about fstab, but I couldn't find a solution
http://wiki.archlinux.org/index.php/Per … ice_naming
Same syntax as your other partions.
UUID=something /some/where somefs defaults 0 1
You can also use LABEL instead of UUID if you want something more human readable.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Alright, I have an issue and I thought I would tack it onto here rather than make a new thread because it would be unneccessary.
I've edited my fstab and my disk mounts alright on boot, but i cant access anything on it unless I'm root. And I don't want to need root to listen to my music.
I've chmod the directory I'm mounting to, I've tried different locations, I added rw and users to the fstab entry. I don't know what I'm doing wrong.
Offline
No, you really should create a new topic - don't raise dead topics back up. And it isn't even the same problem.
Offline
Pages: 1