LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-18-2010, 08:45 AM   #1
zkab
Member
 
Registered: Dec 2007
Posts: 142

Rep: Reputation: 16
Read-Only Filesysten on boot


I have Squeeze (amd64).
During sudo aptitude update && sudo aptitude -y full-upgrade && sudo aptitude autoclean the command stalled and did not react on ^C so I forced-quit the terminal window. When rebooting ... the system tells me it is read-only.
To solve the problem I booted from Debian Live CD and did sudo mount -n -o -t ext3 remount,rw /dev/sda1 /.
I also did sudo fsck /dev/sda1 and it was clean.
/etc/mtab gives /dev/sda1 / ext3 rw,errors=remount-ro 0 0
But still ... when I boot from disk ... it is read-only.
Where do I change to get it back to normal ?
 
Old 10-18-2010, 09:43 AM   #2
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Change the errors=remount-ro maybe? Is it saying the FS is read only after you are into it? Dealing with an unstable distro can cause all sorts of havoc, I wish you luck.
 
Old 10-18-2010, 10:16 AM   #3
zkab
Member
 
Registered: Dec 2007
Posts: 142

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by scheidel21 View Post
Change the errors=remount-ro maybe?
This is the option when something is wrong with the FS ... then the FS is mounted read-only. But I have fsck the FS and it gave me a clean FS as result.
There must be somewhere else where ro can be changed to rw.
Squeeze is testing version - not unstable - and due to become stable very soon ... this is the first time something strange happened ... been running it for a long time.
 
Old 10-18-2010, 10:32 AM   #4
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Can you force a mount in RW and try the failed update again, maybe that might fix it up.
 
Old 10-18-2010, 02:53 PM   #5
zkab
Member
 
Registered: Dec 2007
Posts: 142

Original Poster
Rep: Reputation: 16
I changed in /etc/fstab from /dev/sda1 / ext3 errors=remount-ro 0 1
to /dev/sda1 / ext3 defaults 0 1
but same sad result
 
Old 10-20-2010, 01:22 PM   #6
zkab
Member
 
Registered: Dec 2007
Posts: 142

Original Poster
Rep: Reputation: 16
Syslog looks strange (pastebin.com/jMuWe1rG) ... task dpkg:3968 blocked for more than 120 seconds.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I have: Root has Read-Write, user has read only for the boot filesystem? xmrkite Linux - Software 6 10-16-2008 04:31 AM
gentoo : grub: The file /boot/boot/grub/stage1 not read correctly Boudewijn Linux - Software 3 05-21-2008 03:13 AM
Can boot from Live CD, but can't read it fortytwo42 Linux - Hardware 6 09-20-2006 09:47 AM
/ mounted read-only at boot brodskie Ubuntu 1 01-09-2006 12:42 AM
boot-up errors can't be read shanenin Linux - Software 2 09-07-2004 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration