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

Re: Creating a Debian rootfs for a keyboardless PDA



+++ Neil Williams [2009-08-21 20:45 +0100]:
> On Fri, 21 Aug 2009 19:58:37 +0200
> Laurens Van Houtven <lvh@laurensvh.be> wrote:
> > This appeared to work, but when booting, I get the following messages
> > (apparently the debootstrapped version does not come with an inittab):
> > 
> > INIT: version 2.86 booting
> > INIT: No inittab file found
> > INIT: Entering runlevel: 4
> > INIT: no more processes left in this runlevel
> 
> You haven't got a customised /etc/inittab and there are probably a
> whole host of other changes you'd need to make a specialised device
> like this to actually boot - the standard Debian setup won't work.
> 
> There are some examples in the balloon3-config package - don't install
> it but take a quick look at the source, it's in the Grip repository.
> 
> > I'm guessing I need to create my own inittab, but I'd rather check
> > with you people first to make sure I'm not missing any vital
> > documentation that I should be reading, since the page doesn't mention
> > anything about inittab :-)

Yes, essentially you need to provide your own version of various basic
files:
/etc/modules
/etc/fstab
/etc/inittab
/etc/securetty
/etc/network/interfaces

That sort of thing: so that gettys open on the right devices, consoles
work, networking works, filesystems mount. There are probbaly a few
others I've forgotten, but if you get the above right it should at
least boot.

Debian does put in defaults for some of these when postinst scripts
are run (which might work, you never know) put apparently we've nobbled that in Grip. 

Wookey
-- 
Principal hats:  iEndian - Balloonboard - Toby Churchill - Emdebian
http://wookware.org/


Reply to: