473,320 Members | 1,926 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

changed fstab, made mistake, now /etc is readonly file system

dlite922
1,584 Expert 1GB
I made a mistake and provided an invalid option in fstab on a bare bone debian 4.0 etch system.

How can I undo my changes if I can't edit /etc/fstab. can I mount and remount /dev/sda2 (where its at) and provide a -w option so it becomes writable.

Right now it will not boot normally, i get errors. I use single-user mode, provide root password.

This is time critical. I've googled for about an hour. I might just reinstall in an hour or so.

(Can't write to fstab because it says Read-only File System.

I can save stuff to home though.

Thanks guys,




Dan
Feb 6 '09 #1
4 5473
micmast
144 100+
my best bet would be to boot a liveCD and change the file like that
Feb 6 '09 #2
dlite922
1,584 Expert 1GB
@micmast
True, I can't get a live CD where i'm at. Since it just installed it, i'll just reinstall, nothing to lose. This would be a good option though for anyone with data on the drive.


Thanks,



Dan
Feb 6 '09 #3
micmast
144 100+
I hope you didn't reinstall yet, cause I might have found a solution

You installed Debian from the CD I suppose, you can use the installation CD as liveCD (just tested on the network installation CD 128MB)
Just let it boot, then change tty (ctrl+alt F2) then you can try to change things with the busybox on the system.
Feb 6 '09 #4
dlite922
1,584 Expert 1GB
@micmast
Ya, it only took 15 minutes to get back to where I was since it was a bare install (no packages).

This is definitely good info that Google didn't have. (Now it does!) :D



Dan
Feb 7 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Tal Sharfi | last post by:
Hi everyone I recently had the need for StringGrid object same as the one that Delphi has. An object that helps show lists of other objects in a simple grid. I searched the news groups and...
2
by: Raed Sawalha | last post by:
I'm reading XML files using XmlDocument, in some cases i have XML marked with readonly, so when tried to write to them an Access Denied exception is generated, is there a way to change the XML...
0
by: Brian Young | last post by:
Hi all. I'm using the Property Grid control in a control to manage a windows service we have developed here. The windows service runs a set of other jobs that need to be managed. The control...
2
by: Ron | last post by:
Hello, the following sub (below) reads an excel file to a webpage using BinaryReader. If anyone tries to modify the excel file from the browser this places the excel file in ReadOnly mode, and...
0
by: Brian Henry | last post by:
Ok I've never implemented a snap location before so I dont really know what im doing wrong here... anyways, I am making a custom slider control that takes dates as its values instead of integers......
3
by: Ron | last post by:
I am writing a very simple program, three buttons NORMAL, SMILE, FROWN. When the appropriate button is clicked a label either pops up a smile, frown or a normal face. I wrote a class to do this....
1
by: D2 | last post by:
Hi, I have this problem when working with FileSystemWatcher class. I m using one of these objects to watch over a folder. Whenever i big file from another folder to the folder being watched, I...
2
by: Andrus | last post by:
If focused control is ReadOnly, menu shortcut key is ignored. To reproduce, run code below, press Ctrl+E. Note that message box does not appear. This issue blocks Ctrl+E usage in application....
3
by: Mayur H Chauhan | last post by:
All, I am working on one product where we need to check for physical file is in use (if it is open by other application). What I found out is that I am able to trap for those files whose attribute...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.