Hello,
I had a problem, modifying a line / etc / fstab I made a mistake and now my linux does not start. I try to modify it using the recovery mode but I only have access as read, not write.
I would like to know if there is any way to modify that line of code with write permissions from the grub recovery mode.
Also, I want to know if is possible save in another device the data of my sdd disk.
please help
Problem console recovery mode
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Problem console recovery mode
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Problem console recovery mode
I would think starting the editor with sudo would do it. If not, you can do it from your install DVD or USB stick.
Can't imagine why not.
“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan
Re: Problem console recovery mode
In the recovery mode, drop to the root prompt and run
Code: Select all
mount -o remount,rw /
/etc/fstab
, it goes
Code: Select all
nano /etc/fstab
Ctrl o
Ctrl x
... and in the end
sync
files
Code: Select all
sync
reboot
Re: Problem console recovery mode
Those commant not found. I solved that install ubuntu on liveUSB and solved problems.administrollaattori wrote: ⤴Sun May 13, 2018 4:32 amIn the recovery mode, drop to the root prompt and run... and if you want editCode: Select all
mount -o remount,rw /
/etc/fstab
, it goes... saving and quittingCode: Select all
nano /etc/fstab
Ctrl o
Ctrl x
... and in the endsync
filesCode: Select all
sync reboot
Thanks
Re: Problem console recovery mode
"... any way to modify that line of code with write permissions from the grub recovery mode..." No, you have to load a Linux and a GNU because GRUB recovery mode does not have the commands you need.