LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] e2fsck

[ILUG] e2fsck

Rick Moen rick at linuxmafia.com
Thu Mar 21 17:22:52 GMT 2002


Quoting Brendan Halpin (brendan.halpin at ul.ie):

> I've got a bunch of bad blocks showing up lately, and I want to fix
> them (temporarily, I reckon, as the disc is probably dying).
> 
> Can I do "e2fsck -c /dev/hda" on a running machine? 

Um... hda is the physical disk as a whole.  You probably mean one of
hda1, hda2, etc.

Running e2fsck -c on a mounted filesystem carries with it a significant
probability of the system freaking out and hanging.  Much better would
be to have the filesystem _unmounted_, and run the badblocks utility on
it.

> Particularly, what's /initrd? It doesn't seem to be on my other
> system.

Obviously something related to an initial RAMdisk, used by the booting
kernel to load driver modules required to recognise the rest of the
hardware.  E.g., your drivers for your hard disk's host adapter might be
loaded from such a RAMdisk.

As to what specifically is in your directory of that name, you be the
judge:  Look in there, and determine that for yourself.  It could be
an initrd image file referenced in your bootloader (e.g., in
/etc/lilo.conf) -- or it could be a set of drivers that a separate
script can use to _constrct_ an initrd image file.

-- 
This message falsely claims to have been scanned for viruses with F-Secure
Anti-Virus for Microsoft Exchange and to have been found clean.




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell