LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-13-2010, 05:08 AM   #1
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Buster Stable, Windoze 7
Posts: 684

Rep: Reputation: 56
grub: kernel parameter RO but filesystem still gets mounted rw


Hi

I am trying to do a fsck on my ext3 partition, but so far failed to let the system come up in single user mode and having the partition mounted read only. It says in the kernel parameter that it is read only (RO) but still mounts it RW.

A remount with mount -o remount,ro
does not work, since / is always busy.

what to do to get a fsck done? I don't want to boot into a rescue system, this should be possible on a running system (like Windows does it, when rebooting)

This is on Debian Lenny.

Markus
 
Old 01-13-2010, 06:03 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Bookworm (Fluxbox WM)
Posts: 1,391
Blog Entries: 54

Rep: Reputation: 360Reputation: 360Reputation: 360Reputation: 360
You can force an fsck on the next boot by using tune2fs:
Code:
tune2fs -c 1 /dev/hda1
Alternatively, when you remount your partition as read/only, you need to do this from a recovery (maintenance) boot session, not from a normal boot (otherwise, it is always busy as you point out). Then you will be able to do an fsck from the maintenance session.

Last edited by neonsignal; 01-13-2010 at 06:30 AM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
question on mounted filesystem xiaozheyu AIX 3 11-27-2006 02:33 PM
Filesystem mounted as read-only? Why? How? Misfit138 Linux - Newbie 6 11-27-2006 06:27 AM
mounted filesystem error.... Basslord1124 Linux - General 4 03-17-2005 01:29 PM
Filesystem Mounted Improperly? Bigun Linux - Software 11 09-21-2003 01:11 PM
e2fsck on a mounted filesystem glock19 Linux - General 2 07-09-2003 07:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:07 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