Case: While setting up a static mount in /etc/fstab got the wrong settings and now Ubuntu won’t boot. Fixing fstab is required.
Solution
- Enter the GRUB menu at boot time:
holdShift
if you are booting with BIOS
– or –
holdEsc
if you are booting with UEFI - When the menu loads, with your cursor focused on the default option (ex: Ubuntu), press
e
for command line - At the bottom of the parameters list, find Linux and add to it’s parameters
init=/bin/bash
Ctrl
+X
orF10
to bootmount -n -o remount,rw /
nano /etc/fstab
* or whatever is the relevant file editor for your distro- Comment the section where UUID’s are wrong with a
#
- Reboot.
- Set up static mounts properly this time.
Sources
- https://www.systutorials.com/bypassing-bad-fstab-failure-while-booting-linux/
- https://askubuntu.com/questions/16042/how-to-get-to-the-grub-menu-at-boot-time
- https://askubuntu.com/questions/19486/how-do-i-add-a-kernel-boot-parameter
Did this solve your issue?
THIS WORKED FOR ME. HELP OTHERS BY VOTING HOW IT WORKED FOR YOU.
RIGHT NOW THIS HAS 0% SUCCESS RATE.
TOTAL VOTES: 0
RIGHT NOW THIS HAS 0% SUCCESS RATE.
TOTAL VOTES: 0