Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-amd64
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: "Duncan" <1i5t5.duncan@...>
Subject: Re: Boot Problems... /dev/sda
Date: Wed, 6 Sep 2006 21:42:14 +0000 (UTC)
Mario A Wojcik <mariowojcik@...> posted
44FE241D.5010004@..., excerpted below, on  Tue, 05 Sep 2006
22:27:57 -0300:

> For a time I have been having the following problem with my Gentoo:
> Each N reinitiated, requests to me to run fsck and it says to me that
> the partition root has problems of inconsistencies.    Once repaired the
> errors, he boot but I must give a Yes to each option.    I saw that way
> that, in they debian for example, is possible to be specified that
> opcion in etc repairs without asking with etc/defaults.

For the option, the fsck manpage says -y is auto-yes for some filesystem
types, and refers you to the appropriate filesystem specific manpage.  I
use reiserfs here, which takes it for some cases but not when used with
--rebuild-tree.

Gentoo's baselayout, at least the 1.12 series now both stable and ~arch
are running, doesn't appear to use the normal /etc/conf.d/<service> config
files for checkroot and checkfs that it uses for other services.  I've
maintained local modifications for some time, however, that use a conf.d
file with my own switches in it, and don't use those in the default
service files at all.

So... to add the -y or any other switches you wish, modify the checkroot
and checkfs scripts directly, either adding your switches directly as
appropriate, or to use a conf.d file with your switches in it, as I did. 

You will of course need to understand a bit of bash scripting to be able
to correctly parse and update the scripts, and will need to ensure that
your make.conf CONFIG_PROTECT and CONFIG_PROTECT_MASK settings are set to
protect your changes so an update doesn't just blindly overwrite them.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
gentoo-amd64@g.o mailing list


References:
Boot Problems... /dev/sda
-- Mario A Wojcik
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Boot Problems... /dev/sda
Next by thread:
Re: Boot Problems... /dev/sda
Previous by date:
Re: JRE - how to install one?
Next by date:
Re: Boot Problems... /dev/sda


Updated Jun 17, 2009

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.