LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-03-2008, 03:00 PM   #1
mokku
Member
 
Registered: Feb 2007
Posts: 197

Rep: Reputation: 30
fsck on /


Can we run fsck on / ? If we umount, can we access to fsck command?
 
Old 11-03-2008, 03:09 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,790

Rep: Reputation: 292Reputation: 292Reputation: 292
You can boot into single user mode and run fsck against / or you can boot a live CD and run fsck against /.

------------------
Steve Stites
 
Old 11-03-2008, 03:33 PM   #3
mokku
Member
 
Registered: Feb 2007
Posts: 197

Original Poster
Rep: Reputation: 30
Do I need to umount / , and then run when I go as sungle user mode?
 
Old 11-03-2008, 04:08 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
I suggest using a livecd or a live distro on a pen drive. That way you will have more tools at your disponsal, and even an internet connection, to aid you if something goes wrong.
 
Old 11-03-2008, 04:28 PM   #5
mokku
Member
 
Registered: Feb 2007
Posts: 197

Original Poster
Rep: Reputation: 30
Thank you, my questions is if I'm going with single user mod, if I want to run fsck on / file system. Do I need to unmount , and then run fsck?
 
Old 11-03-2008, 04:36 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,790

Rep: Reputation: 292Reputation: 292Reputation: 292
Quote:
Originally Posted by mokku View Post
Thank you, my questions is if I'm going with single user mod, if I want to run fsck on / file system. Do I need to unmount , and then run fsck?
No, in single user mode you do not need to umount / before running fsck.

-------------------
Steve Stites
 
Old 11-03-2008, 04:41 PM   #7
Woodypecker
Member
 
Registered: Mar 2006
Location: Austria
Distribution: Mandriva/Debian
Posts: 104

Rep: Reputation: 17
In single user mode, your / is mounted readonly by most distributions. So you can run a fsck without doing more havoc than what already may have happened to the filesystem. If fsck had something to repair, a immediate reboot will be forced afterwards.
Like already said, using a livecd or your install cd/dvd in "rescue boot mode" will be more safe and offer more tools.
 
Old 11-04-2008, 09:50 AM   #8
mokku
Member
 
Registered: Feb 2007
Posts: 197

Original Poster
Rep: Reputation: 30
Thanks a lot guys. Its centos box, other box is solaris. I believe I don't need to umount, thanks again.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use fsck dsids Linux - Newbie 5 03-16-2006 08:30 AM
automatic fsck on boot. fsck errors. nixel Slackware 1 05-17-2004 08:51 AM
fsck help afrodocter Linux - Software 6 04-29-2004 11:42 AM
Fsck scottpioso Linux - Newbie 7 06-01-2003 04:06 PM
FSCK help please.... stepper1971 Linux - Newbie 3 06-21-2002 02:18 AM


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