Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-25 Thread Samuel Thibault
Marcin Laszewski, le dim. 25 juin 2023 21:44:06 +0200, a ecrit: > 2023-06-25 17:10 GMT+02:00, Samuel Thibault : > > Marcin Laszewski, le sam. 24 juin 2023 22:03:45 +0200, a ecrit: > >> (...) > >> The 'pipe' error occures between '# Check boot flags' and '#Start the > >> default pager'. > >> As I un

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-25 Thread Marcin Laszewski
2023-06-25 17:10 GMT+02:00, Samuel Thibault : > Marcin Laszewski, le sam. 24 juin 2023 22:03:45 +0200, a ecrit: >> (...) >> The 'pipe' error occures between '# Check boot flags' and '#Start the >> default pager'. >> As I understand I have to launch 'shell' before it, and run >> '/usr/lib/hurd/setup

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-25 Thread Samuel Thibault
Marcin Laszewski, le sam. 24 juin 2023 22:03:45 +0200, a ecrit: > I've added 'set -v -x' to /etc/hurd/runsystem.sysv and I see executed > commands. > The 'pipe' error occures between '# Check boot flags' and '#Start the > default pager'. > As I understand I have to launch 'shell' before it, and ru

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-24 Thread Marcin Laszewski
Thank you. I've added 'set -v -x' to /etc/hurd/runsystem.sysv and I see executed commands. The 'pipe' error occures between '# Check boot flags' and '#Start the default pager'. As I understand I have to launch 'shell' before it, and run '/usr/lib/hurd/setup-translators'. Am I right? 2023-06-12 2

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-12 Thread Samuel Thibault
Marcin Laszewski, le lun. 12 juin 2023 21:48:13 +0200, a ecrit: > 2023-06-12 12:35 GMT+02:00, Samuel Thibault : > > You are still getting the > > > > settrans: /servers/socket/1: Operation not supported. > > > > error? > > No. This one: > > /usr/libexec/runsystem: Pipe call failed. That on depen

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-12 Thread Marcin Laszewski
2023-06-12 12:35 GMT+02:00, Samuel Thibault : > You are still getting the > > settrans: /servers/socket/1: Operation not supported. > > error? No. This one: /usr/libexec/runsystem: Pipe call failed.

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-12 Thread Samuel Thibault
Marcin Laszewski, le lun. 12 juin 2023 12:19:34 +0200, a ecrit: > 2023-06-10 17:12 GMT+02:00, Samuel Thibault : > > (...) > > I hadn't checked because I assumed "-L hurd" was about it: you *need* > > -o hurd > > I've created EXT2 filesystem: > > # mkfs.ext2 -o hurd -I 128 -L hurd /dev/hd2s3 > >

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-12 Thread Marcin Laszewski
2023-06-10 17:12 GMT+02:00, Samuel Thibault : > (...) > I hadn't checked because I assumed "-L hurd" was about it: you *need* > -o hurd I've created EXT2 filesystem: # mkfs.ext2 -o hurd -I 128 -L hurd /dev/hd2s3 Nothing has changed. Here is output of 'tune2fs /dev/hd2s3'. I see 'Filesystem OS t

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-10 Thread Samuel Thibault
Marcin Laszewski, le mar. 06 juin 2023 11:59:23 +0200, a ecrit: > 1. I have created ext2 filesystem: mkfs.ext2 -I 128 -L hurd /dev/hd2s3 I hadn't checked because I assumed "-L hurd" was about it: you *need* -o hurd otherwise translators won't be recordable in it. Samuel

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-09 Thread Marcin Laszewski
Your are right: 'init=...' is supported by /etc/hurd/runsystem' (a link to 'runsystem.sysv'), but it doesn't work because '/hurd/mach-defpager' is launched earlier, and then my system stops, I;ve added '/bin/sh' before 'ach-defpager' and I am able to run console. $ fsysopts / --update --writeable

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-06 Thread Samuel Thibault
Marcin Laszewski, le mar. 06 juin 2023 13:44:05 +0200, a ecrit: > 2023-06-06 13:39 GMT+02:00, Samuel Thibault : > > Yes, pipes can't work until you have the pflocal translator set on > > /servers/socket/1 > > How can I launch it under chroot ? As I said, use /usr/lib/hurd/setup-translators That

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-06 Thread Samuel Thibault
Marcin Laszewski, le mar. 06 juin 2023 13:42:58 +0200, a ecrit: > 2023-06-06 13:06 GMT+02:00, Samuel Thibault : > > Marcin Laszewski, le mar. 06 juin 2023 12:56:43 +0200, a ecrit: > >> 2023-06-06 12:29 GMT+02:00, Samuel Thibault : > > (...) , but don't you also get a shell prompt? > > I've found

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-06 Thread Marcin Laszewski
2023-06-06 13:39 GMT+02:00, Samuel Thibault : > Yes, pipes can't work until you have the pflocal translator set on > /servers/socket/1 How can I launch it under chroot ?

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-06 Thread Marcin Laszewski
2023-06-06 13:06 GMT+02:00, Samuel Thibault : > Marcin Laszewski, le mar. 06 juin 2023 12:56:43 +0200, a ecrit: >> 2023-06-06 12:29 GMT+02:00, Samuel Thibault : > (...) , but don't you also get a shell prompt? I've found 'root=' in 'kern/bootstrap.c', but there is no 'init='. It seems that 'root=

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-06 Thread Samuel Thibault
Marcin Laszewski, le mar. 06 juin 2023 13:35:38 +0200, a ecrit: > Unfortunately it doesn't work. Then you can try to run by hand /usr/lib/hurd/setup-translators > It seems, that dpkg doesn't work in 'chroot' at all: > ...

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-06 Thread Marcin Laszewski
2023-06-06 13:06 GMT+02:00, Samuel Thibault : > Marcin Laszewski, le mar. 06 juin 2023 12:56:43 +0200, a ecrit: >> (...) >> .. >> multiboot /boot/gnumach.gz init=/bin/sh root= >> ...

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-06 Thread Samuel Thibault
Marcin Laszewski, le mar. 06 juin 2023 12:56:43 +0200, a ecrit: > 2023-06-06 12:29 GMT+02:00, Samuel Thibault : > > That's not enough, tar doesn't know about translators, so all /dev and > > /servers entries are not properly set. You can probably fix this by > > passing init=/bin/sh to gnumach, and

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-06 Thread Marcin Laszewski
2023-06-06 12:29 GMT+02:00, Samuel Thibault : > That's not enough, tar doesn't know about translators, so all /dev and > /servers entries are not properly set. You can probably fix this by > passing init=/bin/sh to gnumach, and there use ... GRUB ...

Re: usr/libexec/console-run: /dev/console: Read-only file system

2023-06-06 Thread Samuel Thibault
Hello, Marcin Laszewski, le mar. 06 juin 2023 11:59:23 +0200, a ecrit: > 2. I have mounted my "new" rootfs as /mnt/hurd > 3. I have copied my files to it: tar cvf - -C / . | tar xvf - -C /mnt/hurd That's not enough, tar doesn't know about translators, so all /dev and /servers entries are not prop

usr/libexec/console-run: /dev/console: Read-only file system

2023-06-06 Thread Marcin Laszewski
servr bootstrap: ext2fs[device:hd2s3] exec startup proc auth. /usr/libexec/console-run: /dev/console: Read-only file system /usr/libexec/runsystem: 118: Pipe call failed . Wh