[AuckLUG] `libgl1-mesa-dri': Permission denied
Cheng Eu Chew
renedox at gmail.com
Wed May 23 13:58:19 NZST 2007
Right, so I finally got round to doing this:
ubuntu at ubuntu:~$ sudo fsck -f /dev/hda1
fsck 1.38 (30-Jun-2005)
reiserfsck 3.6.19 (2003 www.namesys.com)
*************************************************************
** If you are using the latest reiserfsprogs and it fails **
** please email bug reports to reiserfs-list at namesys.com, **
** providing as much information as possible -- your **
** hardware, kernel, patches, settings, all reiserfsck **
** messages (including version), the reiserfsck logfile, **
** check the syslog file for any related information. **
** If you would like advice on using this program, support **
** is available for $25 at www.namesys.com/support.html. **
*************************************************************
Will read-only check consistency of the filesystem on /dev/hda1
Will put log info to 'stdout'
Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes
###########
reiserfsck --check started at Wed May 23 01:53:24 2007
###########
Replaying journal..
Reiserfs journal '/dev/hda1' in blocks [18..8211]: 0 transactions replayed
Checking internal tree../ 3 (of 41)/ 27 (of 142)bad_path: block
295079, pointer 26: The used space (4012) of the child block (1605653)
is not equal to the (blocksize (4096) - free space (156) - header size
(24))
/ 55 (of 142)bad_path: block 295079, pointer 54: The used space (1940)
of the child block (1245262) is not equal to the (blocksize (4096) -
free space (2064) - header size (24))
/ 10 (of 41)/ 1 (of 157)bad_stat_data: The objectid (1626) is shared
by at least two files. Can be fixed with --rebuild-tree only.
/ 16 (of 41)/ 18 (of 132)
The problem has occurred looks like a hardware problem. If you have
bad blocks, we advise you to get a new hard drive, because once you
get one bad block that the disk drive internals cannot hide from
your sight,the chances of getting more are generally said to become
much higher (precise statistics are unknown to us), and this disk
drive is probably not expensive enough for you to you to risk your
time and data on it. If you don't want to follow that follow that
advice then if you have just a few bad blocks, try writing to the
bad blocks and see if the drive remaps the bad blocks (that means
it takes a block it has in reserve and allocates it for use for
of that block number). If it cannot remap the block, use badblock
option (-B) with reiserfs utils to handle this block correctly.
bread: Cannot read the block (2162730): (Input/output error).
Warning... fsck.reiserfs for device /dev/hda1 exited with signal 6.
Going by what it says above, it means that I have bad sectors and have
to get a new hard drive? Are there any other ways of fixing this
problem without losing data and buying a new hard drive?
On 20/04/07, Guy K. Kloss <G.Kloss at massey.ac.nz> wrote:
> On Saturday 21 April 2007 11:22:34 am Cheng Eu Chew wrote:
> > So... even root can't write to that partition? How can that be? I get
> > the same thing when I try sudo.
> >
> > Yes, I'm using Ubuntu.
>
> Ah, OK. So you're doing that from a running system. It's a bit dangerous to
> manage these things in modifying the writeable mounted file system on a
> running system. It's not that root cannot perform this task, it's more the
> case that fsck refuses to perform that task to prevent youself from shooting
> your own foot.
>
> Have you still got the/a Ubuntu install CD around? Preferrably one of those
> that come with the live system installer (think they started that with 6.06
> LTS)?
>
> If so, put that into your CD/DVD drive and boot off of that one. Then when the
> system has booted run a terminal/console and issue the same command there
> using sudo:
>
> sudo fsck /dev/hda1
>
> This way you're operating on a non-mounted file system, which is a lot safer.
> Just immagine what happens if some process accesses the FS (in writing) while
> it's being modified ...
>
> HTH,
>
> Guy
>
>
>
> --
> Guy K. Kloss
> Institute of Information and Mathematical Sciences
> Room 2.63, Quad Block A Building
> Massey University, Auckland, Albany
> Private Bag 102 904, North Shore Mail Centre
> voice: +64 9 414-0800 ext. 9585 fax: +64 9 441-8181
> eMail: G.Kloss at massey.ac.nz http://iims.massey.ac.nz
>
> _______________________________________________
> AuckLUG mailing list
> AuckLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/aucklug
>
--
Cheng Eu Chew
_________________________________________________
Email : renedox at gmail.com
Mobile : +64 21 2989580
More information about the AuckLUG
mailing list