If you are dropped into initramfs, it means that the boot flow stop at the stage of mounting your root filesystem, which is usually in somewhere of your hard disk.
To understand the above statement, you need to know the knowledge about the booting flow, which in general is:
- BIOS
- Boot loader (e.g. grub for Ubuntu)
- Kernel and initial ram file system (initramfs, yeah where you are)
- root file system (your target system)
The root causes to make you stop at initramfs could vary. I get used to solve this kind of issue by the following steps:
- Prepare a Ubuntu live USB stick
- Use this live USB to boot up your PC
- If 2nd step works (means you could boot into live desktop and begin to use the Ubuntu system), it means your PC is supported by Ubuntu (for basic usage at least)
(optional) dump the system and hardware information. use the information to ask for help (for example, paste them on askubuntu.com)
Generally please paste the output of these command in a terminal at least:
lspci -nnvv
mount
dmesg
dpkg -l
If 2nd step works, install that workable Ubuntu distribution.