Re: cross-debootstraped rootfs is failing to boot
- To: "Thomas Schwinge" <email@example.com>
- Cc: "Debian-HURD development" <firstname.lastname@example.org>
- Subject: Re: cross-debootstraped rootfs is failing to boot
- From: "Praveen A" <email@example.com>
- Date: Tue, 2 Oct 2007 00:29:57 +0530
- Message-id: <[🔎] firstname.lastname@example.org>
- In-reply-to: <20070930181922.GM26598@fencepost.gnu.org>
- References: <email@example.com> <20070930134722.GK26598@fencepost.gnu.org> <firstname.lastname@example.org> <20070930170936.GL26598@fencepost.gnu.org> <email@example.com> <20070930181922.GM26598@fencepost.gnu.org>
2007/9/30, Thomas Schwinge <firstname.lastname@example.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:
> $ cd [...]
> $ rm dev/console
> $ mkdir tmp
> $ chmod 01777 tmp
> If a `/tmp' directory already did exist, then please show the complete
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.
Join The DRM Elimination Crew Now!