[Voyage-linux] Root partition corrupt

Jordi Soucheiron (spam-protected)
Tue Jul 14 19:42:30 HKT 2009


Sure I can, the problem is that the system must be standalone. I need
to make it fsck without human help.
To make it work I've changed /etc/fstab (uncommenting the / line) and
changed /etc/init.d/checkroot.sh changing checkroot=no to
checkroot=yes. Now everything works without human help.
Thank you all :)

PD:If somebody knows of a nicer way to accomplish this please let us know

2009/7/14 Mike O'Connor <mike at pineview.net>:
> As I understand it the with tune2fs -c0 -i0 the file system will never
> be checked
>
> You can always for a file system check with fsck.ext2 -f /dev/hda
>
> Mike
>
> Jordi Soucheiron wrote:
>> I've changed the rcS file and it still doesn't run fsck. The logs show
>> that the system fails when it's mounting all filesystems.
>>
>> 2009/7/14 Mike O'Connor <mike at pineview.net>:
>>
>>> Jordi Soucheiron wrote:
>>>
>>>> Hi,
>>>> I'm working on afew alix based devices working under voyage 0.6 with a
>>>> custom kernel. I found that one of this devices had the file system
>>>> corrupt (I'm using ext2 in some devices and ext3 in some other devices
>>>> I don't remember if it was one or the other, but I don't think this is
>>>> relevant to the problem). When I looked at the mount count it almost
>>>> doubled the amount that should trigger the automatic fsck on boot. I
>>>> been trying to find why fsck hasn't run at boot time even with that
>>>> mount count and with a filesystem state of not clean (the only reason
>>>> I can think of is that due some packages installed the filesystem is
>>>> always in rw mode once set that way). I'd like to have fsck up and
>>>> running again on boot time. Any ideas?
>>>> Thank you!
>>>>
>>>>
>>>>
>>>>
>>>>
>>> Hi Jordi
>>>
>>> The default in voyage if I remember correctly is to set the file system
>>> not to fsck. You can use tune2fs to adjust this.
>>>
>>> Mike
>>>
>>>
>>
>>
>>
>>
>
>



-- 
Jordi Soucheiron
Software Engineer

DEXMA
Parc Tecnològic la Salle
Sant Joan de la Salle, 42
08022 Barcelona
t/f: [+34] 93 181 01 95
www.dexmatech.com
jsoucheiron at dexmatech.com




More information about the Voyage-linux mailing list