You are not logged in.
I put a new hard drive in as a slave for data.. used gparted to format it and label it.. but everytime i reboot.. the links to the various folders are empty.. as if its not there.. i have to back to gparted, unmount it, then close gparted and its there and i have to re find the links for wallpapers, and my music to play music or to have switching wallpapers..
any ideas??? I thought once you named it, formated it, via gparted, it was just "there" every reboot?
am i missing something..
I just checked fstab, and it's not there.. just alot of UUID numbers.. how do i add a hard drive??? iread the posts.. and i have no clue what is meant or how to do it???
****
UUID=64cb2ee2-8132-4632-b1fd-661af630d315 / ext4 defaults 0 1
UUID=8bef63b2-e0d2-42a5-b747-7ff8710883a8 /home ext4 defaults 0 1
UUID=8ff88b2a-bc7b-42a8-8682-38d7f0c825f9 swap swap defaults 0 0
UUID=fd64e00d-457d-4c99-8ba7-c790402d66fd /boot ext2 defaults 0 1
I did the above by opening Kate and looking at fstab as a normal user..
the harddrive is working.. i'm playing music from it now.. so i did this command and got the following
-l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Jul 16 06:59 579a08ea-3bb0-450c-a88e-cf248488c29e -> ../../sdb1
lrwxrwxrwx 1 root root 10 Jul 16 06:59 64cb2ee2-8132-4632-b1fd-661af630d315 -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 16 06:59 8bef63b2-e0d2-42a5-b747-7ff8710883a8 -> ../../sda4
lrwxrwxrwx 1 root root 10 Jul 16 06:59 8ff88b2a-bc7b-42a8-8682-38d7f0c825f9 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 16 06:59 fd64e00d-457d-4c99-8ba7-c790402d66fd -> ../../sda1
now I have no idea what to do with this information above and how to add it to fstab ?
do i just add (the sdb1 entry like this) UUID=579a08ea-3bb0-450c-a88e-cf248488c29e / ext4 defaults 0 1
to fstab? if "yes" , then do i put it at the top where it is with that command output, or on the bottom?
its mounted in dolphin as /media/%mystuff so will it look like this instead?
UUID=579a08ea-3bb0-450c-a88e-cf248488c29e /media/%mystuff ext4 defaults 0 1
or
UUID=579a08ea-3bb0-450c-a88e-cf248488c29e /%mystuff ext4 defaults 0 1
i'm totally lost, and i dont want to have to thru mount -a or opening up gparted everything I want to use this data drive with pics, music, documents, etc on it
I just installed autofs (said it automounts even those drives that dont show up in fstab) this didnt work..
i had to open up dolphin and add entry and i hit cancel and everything then showed up?
do i have to go thru this every reboot?
I FIXED IT, by reading the wiki and googling.. added this entry to fstab
UUID=579a08ea-3bb0-450c-a88e-cf248488c29e /media/%mystuff ext4 defaults 0 1
rebooted, voila.. i was about to have a meltdown.. i guess reading is funda-mental !!!
thanks
Last edited by binskipy2u (2010-07-16 14:25:12)
"Sometimes you comfort the afflicted, other times you AFFLICT the COMFORTABLE"
Offline
http://wiki.archlinux.org/index.php/Fstab
UUID=579a08ea-3bb0-450c-a88e-cf248488c29e /media/mystuff ext4 defaults 0 2
Just make sure that the mount point exist, as root:
mkdir -p /media/mystaff
don't drink unwashed fruit juice.
i never make predictions, especially about the future.
Offline
i put the % there /media/%mystuff ext4 defaults 0 1
should I have made that 1 a 2?? and why? just wondering?
but it seems to all work now.. at reboot..
I have NO idea how that % got in there.. but now I cant rename it to just /media/mystuff
even in root..
Last edited by binskipy2u (2010-07-16 15:00:02)
"Sometimes you comfort the afflicted, other times you AFFLICT the COMFORTABLE"
Offline
should I have made that 1 a 2?? and why? just wondering?
but it seems to all work now.. at reboot..
2, you didn't read the wiki page I posted did you?
i put the % there /media/%mystuff ext4 defaults 0 1
...
I have NO idea how that % got in there.. but now I cant rename it to just /media/mystuff
even in root..
why? what's your default shell? in bash:
mv /media/{%,}mystaff
EDIT: of course you have to unmount /media/%mystaff first.
Last edited by sisco311 (2010-07-16 23:17:16)
don't drink unwashed fruit juice.
i never make predictions, especially about the future.
Offline