[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: edits to chroot/etc/inittab lost after lh_binary...



Greetings,

On Tue, Jul 12, 2011 at 10:11 AM, David <dedumas@sandia.gov> wrote:
> Tzafrir Cohen <tzafrir.cohen <at> xorcom.com> writes:
>
>>
>> On Thu, May 14, 2009 at 07:02:24AM -0700, Andrew Foss wrote:
>> > Hello live folks,
>> >
>> > I'm sed'ing the chroot/etc/inittab to enable the serial console, but
>> > those edits are lost after lh_binary is run. Where is the right place to
>> > do this?
>>
>> lh_binary? It doesn't touch the chroot. It does, however change the boot
>> parameters and such. Maybe your problem is there?
>>
>> I edit /etc/inittab on a chroot local hook and it just works.
>>
>
>
>
> I'm trying to edit the inittab also, and likewise, the changes don't
> persist/propagate.
>
> When you says you "edit /etc/inittab on a chroot local hook" what does that
> mean?
>

See manual section 9.2 Hooks
http://live.debian.net/manual/en/html/customizing-contents.html#485


> I've tried modifying that file, even deleting it completely, but when I boot
> into the distro, the "old" or unmodified inittab is present.
>
> Thanks.
>
>
> --
> To UNSUBSCRIBE, email to debian-live-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] loom.20110712T170902-692@post.gmane.org">http://lists.debian.org/[🔎] loom.20110712T170902-692@post.gmane.org
>
>


Reply to: