You are not logged in.
So to make sure I don't mix up the drives I only had one of my 2 drives plugged in. After the install was finished I plugged in the 2nd hard drive but now at boot it can't activate swap on /dev/sda1 because my install hard drive got renamed to /dev/sdb. How do I mark /dev/sdb1 and unmark /dev/sda1 as swap?
Offline
It is best practice to refer to the UUID of the partition in fstab and so on.
blkid /dev/sdX1
In the case of switching swap on and off use the
swapon
and
swapoff
commands.
The man page (as always is really helpful).
man swapon
For more information:
https://wiki.archlinux.org/index.php/Sw … _partition
Offline
So is the command I use for UUID?
ls -l /dev/disk/by-uuid/
Offline
Did you read the page Trilby linked to? Have you actually tried running the command or would you like me to come over and do it for you?
Offline
I have read it, but the only command they're providing on the UUID section is an ls command. I didn't think those did anything other then list things. I don't like just running a command until I know for sure because I'd rather not have to retrace my steps and fix what I screwed up.
Offline
In that case, understand what you are doing:
man ls
Offline
Yes that is the only command there - but there are a few problems here. First, that was meant as a general direction that you could follow from. You can read other wiki pages about how to set up your fstab - even the installation guide details using UUIDs for fstab.
The second problem is that while it is good that you don't want to blindly run commands, if you need to check that it is ok before running `ls` then there is a real problem, which is #3. Third, if you aren't sure what an `ls` command does, how the hell are you running archlinux and who installed it for you?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thanks for your guys' help
Offline