I am 100% new to Linux as of yesterday and I seem to have done something wrong. I had the system up and running last night with no obvious issues but today when I try to boot up I get an error and the whole thing fails.
Some background: My computer has a 500 GB SSD which is what Ubuntu (version 20.04.1) was installed onto and a 2TB HDD which I formatted for use last night. I suspect that my issue is related to that fact, because I was able to restart the system multiple times without issue before I formatted it. Unfortunately I do not know enough about Ubuntu to even know where to start, and I could not seem to find any help for my specific situation online.
On startup I'm presented with 3 options
- Ubuntu
- Advanced options for ubuntu
- UEFI Firmware Settings
Here's the specific output I'm getting after selecting Ubuntu:
[Failed] Failed to activate swap /swapfile
[Depend] Dependency failed for Swap
Let me know if there's any other information that's relevant to the issue or if there's anything I should try. All advice is appreciated.
Here is the output from running the recommended commands in the root access:
grep -i swap /etc/fstab
/swapfile none swap sw 0 0
ls -al /swapfile
-rw------- 1 root root 2147483648 Sep 24 03:41 /swapfile
/etc/fstab
file which is a simple text file but contains crucial information about the partitions on your system. Some information about your disk setup would be useful. If you can boot a live USB and look at the partition layout usinggparted
, that would be great info to edit into your question, along with the contents offstab
.grep -i swap /etc/fstab
andls -al /swapfile
. Edit your question with that output. Report back. Start comments to me with @heynnema or I'll miss them.