Re: cross-debootstraped rootfs is failing to boot
- To: "Thomas Schwinge" <tschwinge@gnu.org>
- Cc: "Debian-HURD development" <debian-hurd@lists.debian.org>
- Subject: Re: cross-debootstraped rootfs is failing to boot
- From: "Praveen A" <pravi.a@gmail.com>
- Date: Tue, 2 Oct 2007 00:29:57 +0530
- Message-id: <[🔎] 3f2beab60710011159g45adc7b1h56002e3c85e56403@mail.gmail.com>
- In-reply-to: <20070930181922.GM26598@fencepost.gnu.org>
- References: <3f2beab60709300026y7f56ff20sb545f5f105011147@mail.gmail.com> <20070930134722.GK26598@fencepost.gnu.org> <3f2beab60709300815x2a348f9kaa2dcd02e1bf9afe@mail.gmail.com> <20070930170936.GL26598@fencepost.gnu.org> <3f2beab60709301104h6459f00en8e69444cda0cde6e@mail.gmail.com> <20070930181922.GM26598@fencepost.gnu.org>
2007/9/30, Thomas Schwinge <tschwinge@gnu.org>:
> The file system you are booting from indeed has to be a ``Hurd'' one, but
> the one you run `debootstrap' one needn't, as no passive translators are
> being set-up during that process.
>
OK. So my first setup was OK.
>
> > Now as per your suggestion I copied /servers/exec from another
> > installation (K14) and it proceeded
>
> `touch'ing it would have been enough.
>
OK. Hope this will be taken care of in debootstrap.
>
> > failed saying /dev/console not found.
> >
> > I copied /dev/console also from my other installation it failed with
> > error Read only filesystem.
>
> Copying won't work as it's a passive translator setting (which is
> currently not accessible from Linux-based systems). Does your Hurd file
> system have an (empty) `/tmp' directory? A fallback console should
> automatically be created in there during the boot process, as long as the
> passive translators inside `/dev/' haven't been set-up. Please try this:
>
> #v+
> $ cd [...]
> $ rm dev/console
> $ mkdir tmp
> $ chmod 01777 tmp
> #v-
>
> If a `/tmp' directory already did exist, then please show the complete
> messages.
>
It had a /tmp directory with console file. But I deleted the directory
and followed your instructions wrt permissions.
It still had the same error.
The complete error message is given below:
start /hurd/ext2fs.static: ext2fs: device:hd0s3: warning: FILESYSTEM
NOT UNMOUNTED CLEANLY; PLEASE fsck
(well I did fsck and this message was gone)
Hurd server bootstrap: ext2fs.static [device:hd0s3] exec init proc
auth/libexec/console-run: /dev/console: No such file or directory
/libexec/console-run: /tmp/console: Read-only filesystem
/libexec/console-run: /hurd/term: Read-only filesystem
/libexec/console-run: using temporary console /tmp
/libexec/console-run: cannot execute /libexec/runsystem
No such file or directory
(this indeed was the probelm /libexec contained runsystem.gnu after
renaming it to runsystem it booted correctly)
/hurd/init: /libexec/runsystem exited with status 5
/libexec/console-run: /dev/console: No such file or directory
/libexec/console-run: /tmp/console: Not a directory
/libexec/console-run: /tmp: Device or resource busy
/hurd/init: /bin/sh exited with status 2
(this sequence repeats once more)
So the renaming of runsystem.gnu to runsystem in /libexec solved the
issue. I hope this will also be taken care in next version.
uname -a, ls and other commands are working
but each of these gives out one warning
sh: start-pipeline: pgrppipe: Protocol family not supported
Thanks Thomas for the help.
Happy Hacking
Praveen
--
പ്രവീണ് അരിമ്പ്രത്തൊടിയില്
Join The DRM Elimination Crew Now!
http://fci.wikia.com/wiki/Anti-DRM-Campaign
Reply to: