You are not logged in.
Pages: 1
When I login it doesnt enter, and that's because /home disk is not mount. so I have go to f2 (console), login and mount /dev/sda7 (which is my /home disk) and if I reboot my pc I have to do it again. so, how can I to mount /dev/sda7 in /home for ever? like "save the change"
Offline
Offline
Mount it manually then run
grep '/home ' /proc/self/mounts >> /etc/fstabIt's lazy and half-assed but it should work. Read the man page if you want to do it properly, as Slitherly suggests. The above command will make an entry using the device node as an identifier but this may change from one boot to the next — the UUID, PARTUUID or LABEL would be a better approach.
But check /etc/fstab beforehand and if you already have a line there for /home then post the entire content of the file here along with the journal entries for one of the problematic boots.
Jin, Jîyan, Azadî
Offline
Offline
thanks. with super user i went to /etc/fstab and with nano i edited it. it was cuz /home is /dev/sda7 and in fstab was /dev/sda6
Offline
Did you bother to read the link I posted? Using sdx is the reason you opened this thread in the first place...
Offline
i did it, there just explain how to create fstab and to configure the time. but i did it when i installed arch, anyway I just edited it and now I dont have to mount it each time
Offline
It suggests using UUIDs rather than kernel device names in fstab. That suggestion exists precisely because using kernel device names (like sda6/sda7) may work for a little while, but then will "randomly" and break.
So all you've done is a poor patch job that has it working for the moment. It may or may not work each time you reboot. Rather than playing Russian roulette with your home partition, just use UUIDs in your fstab to fix it properly.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1