How to handle the bad sectors on the hard disk?

2007-05-30 Thread Ninenineone Efx

Programs freeze sometimes complaining i/o error, access failure on
specific sectors.
My hard disk begins to have bad sectors. It's 10-year old computer.

Is there any tools that make user/kernel programs stop writing data on
bad sectors?

I feel like I gonna need a new system soon.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: How to handle the bad sectors on the hard disk?

2007-05-30 Thread Ninenineone Efx

Thanks for the advice.



2007/5/30, Douglas Allan Tutty [EMAIL PROTECTED]:

On Wed, May 30, 2007 at 07:08:25AM -0600, Ninenineone Efx wrote:
 Programs freeze sometimes complaining i/o error, access failure on
 specific sectors.
 My hard disk begins to have bad sectors. It's 10-year old computer.

 Is there any tools that make user/kernel programs stop writing data on
 bad sectors?

 I feel like I gonna need a new system soon.

I think that it has been more than 10 years since hard drives started
automatically mapping bad blocks to spare blocks; when they start
showing bad blocks they've run out of spares.  Its probably time to find
a new hard drive.

That said, yes you can keep the filesystem from writing on bad blocks by
running a fsck on the filesysem while its unmounted, and select the
appropriate badblocks option.  Use the -f option to force a check even
though the filesystem is marked as clean.

For e2fsck its -c -c (to use a non-distructive read-write test)

Not all filesystems support badblocks (e.g. JFS) but rely on the hard
drive to handle them transparently (see above).

The hard drive and the computer are only related by a cable and some
screws.  If the computer does everything you need and is reliable, it
may only need a new hard drive.

Doug.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: How do I setup printer?

2007-05-05 Thread Ninenineone Efx

I installed above packages by using atp-get.
Did not use 'aptitue' because I got some bad experience few weeks ago.

Setup Xorg, install fluxbox, setup cups.
After giving the access permission to general users, I can print it.
Still I need to figure out how to print ps (PostScript file).

I gonna check about Linux printing Howto and ps related stuff.

Thanks guys!

I can surf Internet on Debian and print text file anyway. It's quite
improvement. :-)



2007/5/4, Christopher Nelson [EMAIL PROTECTED]:

On Fri, May 04, 2007 at 10:12:22PM -0400, Ninenineone Efx wrote:
 It's basic thing but I don't remember how to setup printer.
 In general user, I can't print any paper.
 I tried 'lpr' command for test, it gives about permission denied error.

You seem to be suggesting root can print?  How did you set it up?

 I checked the Debian/GNU Linux System Admin's manual.
 The printer setup section is blank. :-(

Or have you not set it up?  If not try installing cupsys and browsing
to localhost:631

 In addition, how do I install a simple X-Window manager such as fluxbox?
 I want to install xterm too.

aptitude install fluxbox xorg xterm
you might also want to install one of xdm, gdm, kdm, or wdm (or any
other I'm forgetting)

--
Christopher Nelson -- [EMAIL PROTECTED]
---
Nostalgia isn't what it used to be.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




How do I setup printer?

2007-05-04 Thread Ninenineone Efx

It's basic thing but I don't remember how to setup printer.
In general user, I can't print any paper.
I tried 'lpr' command for test, it gives about permission denied error.

I checked the Debian/GNU Linux System Admin's manual.
The printer setup section is blank. :-(


In addition, how do I install a simple X-Window manager such as fluxbox?
I want to install xterm too.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




aptitude deleted most of packages!!

2007-04-18 Thread Ninenineone Efx

I think I made a big mistake.

I executed the following command to install a font package.

  aptitude install ttf-unfonts

After it installed the font package, it began to remove packages.
I did not expect it delete most of package files so fast.
:-(


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: aptitude deleted most of packages!!

2007-04-18 Thread Ninenineone Efx

Thanks.

I have another Linux system in other drive so it did not upset me alot.
But, it was quite something.

2007/4/18, Joe Hart [EMAIL PROTECTED]:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ninenineone Efx wrote:
 I think I made a big mistake.

 I executed the following command to install a font package.

   aptitude install ttf-unfonts

 After it installed the font package, it began to remove packages.
 I did not expect it delete most of package files so fast.
 :-(


Looks like you've been bitten by aptitude being smart.  In the future
don't blindly answer yes to questions.  Read what they are going to say.

Now, as for getting your apps back.  They *should* all be in the apt's
cache.  You just need to reinstall them.  If you can't figure out which
ones to reinstall, then maybe aptitude was right and you didn't need
them anyway (there are log files to check to see what was removed).

Joe

- --
Registerd Linux user #443289 at http://counter.li.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGJcW+iXBCVWpc5J4RAk/hAJ43qEZMfU4bknU8+oUOr/jpog3SIgCfSeko
e5w3Wy0zojhWFMrOjw1qlS4=
=2tgO
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]