[Nottingham] Unexpected inconsistency

Ron Wilton ron_w_add at yahoo.co.uk
Fri Jun 13 19:57:52 BST 2008


Thanks for that Camilo.



I'm trying to save the particular partition that is causing the problem as you suggested. However, when I do:-



ron at ron-desktop:~$ sudo cp /var /media/Win98/BackupFolder



I
am unable to save some of the files due to not having permission. How
can I give that permission? 'sudo' followed by my password is not
enough.



Thanks



Ron

--- On Thu, 12/6/08, Camilo Mesias <camilo at mesias.co.uk> wrote:
From: Camilo Mesias <camilo at mesias.co.uk>
Subject: Re: [Nottingham] Unexpected inconsistency
To: ron_w_add at yahoo.co.uk, nottingham at mailman.lug.org.uk
Date: Thursday, 12 June, 2008, 11:51 PM

Hi,

from what you pasted it looks like there is minor damage to a
partition with the OS in it. I don't know if you have a separate
partition with your personal files in it. I say it's minor because the
system was able to come up after you pressed Ctrl-D.

What next? If you're being cautious you'd back up any personal info,
just in case you lose anything else. Then at the maintenance shell
investigate further or repair the FS.

You could try to just see the errors on the FS with:

 fsck -n /dev/hda7

Or you could try an interactive repair:

 fsck /dev/hda7

Or the 'don't ask me, just fix it now' option:

 fsck -y /dev/hda7

In the worst case the 'fix' could scramble the rest of the partition,
or could remove files that would mean you have to reinstall Ubuntu.
That's why it's wise to backup while you can.

Post another message if you get stuck, I've based the options above on
Fedora's fsck but it might be different for Ubuntu. Good luck!

-Cam


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/nottingham/attachments/20080613/e050b297/attachment.html


More information about the Nottingham mailing list