[SOLVED] Was editing my ssd to have two partitions, restarted my computer and now won't boot, please help :)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The commands suggested above in post 31 are distinct so if you did not have a /dev/nvme0n1p2 or a mount point /mnt, you would have received an error. The commands need to be entered separately. Information you posted earlier shows the nvme drive has a small EFI partition and an ext4 filesystem on the second partition which uses the rest of the drive. If you run the mount command suggested, you should then be able to see the / of the entire filesystem using the ls /mnt command suggested. Running lsblk as suggested with the options suggested would probably help.
The commands suggested above in post 31 are distinct so if you did not have a /dev/nvme0n1p2 or a mount point /mnt, you would have received an error. The commands need to be entered separately. Information you posted earlier shows the nvme drive has a small EFI partition and an ext4 filesystem on the second partition which uses the rest of the drive. That should be your Ubuntu install. If you run the mount command suggested, you should then be able to see the / of the entire filesystem using the ls /mnt command suggested. Running lsblk as suggested with the options suggested would probably help.
I had a similar problem. solutions that brought results:
$ sudo apt install os-prober
$ sudo os-prober #will even search hidden partitions I'll show you what systems you have
$ sudo update-grub
$ sudo reboot -f
it worked when I somehow started the system, e.g. life cd
another way is to boot from a bootable USB disk: boot-repair-cd (automatically repairs boot sectors and updates grub)
If you haven't solved it yet, I hope this will help you.
if you run it, mark solved and close the post :-)
I just wanted to say thanks to everyone who chimed in. I had a friend look at it and I guess somehow I actually deleted the fstab. So he recreated the fstab in the live usb boot. So now it's working. Neither he nor I know how I managed to do that, but here we are! Thanks again for all the help!!
Good reason to have a notebook and pen when doing things like this to keep notes of actions. Saving it a text file works but not if you can't boot the computer although you could again use a 'live' usb. Glad you got it working.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.