LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-30-2008, 06:44 PM   #1
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Rep: Reputation: 30
Single user mode for dumpe2fs


Just recently installed Slack 12 where I selected an ext3 filesystem.
My main partition was already formatted ext3 by Qparted; I did not
format it during install.

I want to determine which block size Qparted established and have learned
that dumpe2fs is the way to do it. All I have read suggests that I init
to single user mode (init 1) so that my partition will be mounted ro
instead of rw and I can then run dumpe2fs to gather information.

However, after entering single user mode, the partition, as well as a
few other items are still mounted rw.

I would rather run dump from within a running system rather than using
a rescue disk. I think I will somehow have to unmount the partition
from root and remount it ro, but I am not quite sure how to do it.

How should this be done?
 
Old 04-30-2008, 07:41 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If you mean to use 'dumpe2fs -h /dev/device' it's the same as using 'tune2fs -l /dev/device' (or if you like some LQ code: Osor posted http://www.linuxquestions.org/questi...7/#post2878170). I'm pretty sure none of those need runlevel one because you're not *writing* anything to it and you're not requesting anything volatile a multi-user runlevel could skew.
 
  


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
single user mode aashishdhabarde Linux - Kernel 1 01-31-2008 05:11 AM
Single User mode isolvesystems Linux - Newbie 5 10-03-2007 08:05 PM
single user mode... navaladi Mandriva 2 12-26-2004 02:41 AM
single user mode ? wr3ck3d Slackware 5 03-29-2003 09:52 AM
What is single-user mode?? rbanonuevo Linux - Newbie 4 01-28-2002 12:17 PM

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

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