use of fschk

Joep L. Blom jlblom at neuroweave.nl
Thu Oct 14 12:20:01 UTC 2010


Basil Chupin wrote:
> On 14/10/2010 21:48, Joep L. Blom wrote:
>> I, have- I hope - a rather simple question.
>> My HD (1 year old: ATA SAMSUNG HD502HI).
>> Since several weeks I get kernel errors related to this disk like:
>> ______________________________________________
>> ata1.00: error: { UNC } ...:  51 Time(s)
>>       end_request: I/O error, dev sda, sector ...:  6 Time(s)
>>       sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto
>> reallocat ...:  6 Time(s)
>> sd 0:0:0:0: [sda] Sense Key : Medium Error [current] [descr ...:  6 time(s)
>> _______________________________________________
>>
>> As this disk is the main disk with / and /home etc I cannot unmount it
>> to perform an fsck when running th system. I assume a live-CD  (or
>> USB-stick) would do the trick But does anybody if there is an easier
>> method as it is such a hassle, and moreover is the best way to do it?
>> Thanks in advance,
>>    
> Go to init 1 (CTRL-ALT-F3 then do init1) then
> 
> mount -o remount,ro /dev/sd<X>
> 
> where the <x> is where the system is installed and perform the fsck (eg, 
> e2fsck /dev/sdX).
> 
> After the check is finished,
> 
> mount -o remount, rw /dev/sd<X>
> 
> then reboot.
> 
> [NOTE: "-o" is not "-zero" but the letter "o".]
> 
> BC
> 
Basil,
Even better. I didn't think Ubuntu could revert to runlevel 1 as I 
thought they had deemed it wise to get rid of runlevels (more M$-like!) 
but I will try that. I think colins idea is essentially equal but I have 
to look into it.
By the way why go to terminal 3?? Why not terminal 1.
Joep





More information about the ubuntu-users mailing list