From: Rene <ikhuuma@gmail.com>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: guix-devel@gnu.org
Subject: Re: create a symlink
Date: Wed, 27 Mar 2019 19:54:37 -0600 [thread overview]
Message-ID: <cucef6rix0i.fsf@gmail.com> (raw)
In-Reply-To: Danny Milosavljevic's message of "Tue\, 26 Mar 2019 00\:06\:16 +0100 \(2 days\, 2 hours\, 6 minutes ago\)"
Hello Danny,
Danny Milosavljevic <dannym@scratchpost.org> writes:
>
> In that case, /hurd could be handled like we handle /run/booted-system .
>
As I understand Guix, /run/booted-system is created during the
boot(activation) process; however, I think that to perform the
activation there should already be /hurd (binaries like ext2fs.static,exec..).
> Rene could use service extension like
>
> (service-extension boot-service-type hurd-boot-gexp)
>
> in order to create the "/hurd" symlink (in hurd-boot-gexp).
>
> That is, if the Hurd can boot that far (until the root filesystem is mounted).
>
> In fact, as a hack, we could create a dummy service that does the service
> extension and use it for the Hurd.
>
For now, I did the following:
--8<---------------cut here---------------start------------->8---
lrwxr-xr-x 1 root root 37 Mar 28 00:19 bin -> /var/guix/profiles/system/profile/bin
drwxr-xr-x 3 root root 4096 Mar 28 00:19 boot
drwxr-xr-x 4 root root 4096 Mar 27 17:31 dev
drwxr-xr-x 3 root root 4096 Mar 27 18:05 etc
drwxr-xr-x 3 root root 4096 Mar 28 00:15 gnu
drwxr-xr-x 3 root root 4096 Mar 27 17:31 home
lrwxr-xr-x 1 root root 38 Mar 28 00:19 hurd -> /var/guix/profiles/system/profile/hurd
drwxr-xr-x 2 root root 4096 Mar 28 00:19 lib
lrwxr-xr-x 1 root root 41 Mar 28 00:19 libexec -> /var/guix/profiles/system/profile/libexec
drwx------ 2 root root 16384 Mar 28 00:10 lost+found
drwxr-xr-x 2 root root 4096 Mar 28 00:19 mnt
dr-xr-xr-x 0 root root 0 Dec 31 1969 proc
drwxr-xr-x 3 root root 4096 Mar 27 17:35 root
drwxr-xr-x 3 root root 4096 Mar 27 17:31 run
lrwxr-xr-x 1 root root 38 Mar 28 00:19 sbin -> /var/guix/profiles/system/profile/sbin
drwxr-xr-x 3 root root 4096 Mar 28 00:19 servers
drwxrwxrwt 2 root root 4096 Mar 27 18:01 tmp
drwxr-xr-x 10 root root 4096 Mar 27 17:31 var
--8<---------------cut here---------------end--------------->8---
In this way the gnumach kernel can find /hurd and the binaries needed to
start the whole system.
On the other hand, in linux there is `--system` argument, how does this
argument work?, Is there a script that uses it?. To test `--system`, I
removed it from my linux system and when loging in with my user it does not
detect any command.
--8<---------------cut here---------------start------------->8---
BOOT_IMAGE=/gnu/store/fiqgyafknihbvmz4j62ddb67p79kfcbk-linux-libre-4.19.13/bzImage --root=my-root --system=/var/guix/profiles/system-87-link --load=/var/guix/profiles/system-87-link/boot
--8<---------------cut here---------------end--------------->8---
Thank you
--
Rene
next reply other threads:[~2019-03-28 8:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-28 1:54 Rene [this message]
2019-04-03 7:12 ` create a symlink Chris Marusich
-- strict thread matches above, loose matches on Subject: below --
2019-03-12 20:57 Rene
2019-03-13 11:25 ` Danny Milosavljevic
2019-03-13 14:52 ` Ludovic Courtès
2019-03-25 23:06 ` Danny Milosavljevic
2019-03-08 21:13 Rene
2019-03-09 8:22 ` Danny Milosavljevic
2018-04-19 2:54 Rene
2018-04-19 6:26 ` Danny Milosavljevic
2018-04-19 21:23 ` Joshua Branson
2018-04-21 14:31 ` Rene
2018-04-27 5:20 ` Rene
2018-04-27 15:08 ` Danny Milosavljevic
2019-03-07 22:11 ` Rene
2019-03-08 8:15 ` Danny Milosavljevic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cucef6rix0i.fsf@gmail.com \
--to=ikhuuma@gmail.com \
--cc=dannym@scratchpost.org \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.