LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 06:08 AM   #1
browny_amiga
Member
 
Registered: Dec 2001
Location: /mnt/UNV/Mlkway/Earth/USA/California/Silicon Valley
Distribution: Kubuntu, Debian Wheezy/Jessie Stable, Windoze 7
Posts: 596

Rep: Reputation: 36
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, 07:03 AM   #2
neonsignal
Senior Member
 
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Stretch (Fluxbox WM)
Posts: 1,389
Blog Entries: 52

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
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 07:30 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:33 PM
Filesystem mounted as read-only? Why? How? Misfit138 Linux - Newbie 6 11-27-2006 07:27 AM
mounted filesystem error.... Basslord1124 Linux - General 4 03-17-2005 02:29 PM
Filesystem Mounted Improperly? Bigun Linux - Software 11 09-21-2003 02:11 PM
e2fsck on a mounted filesystem glock19 Linux - General 2 07-09-2003 08:12 PM

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

All times are GMT -5. The time now is 12:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration