all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Booting GUIX in single user
@ 2019-07-24 14:22 Alexander Asteroth
  2019-07-24 15:25 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Asteroth @ 2019-07-24 14:22 UTC (permalink / raw)
  To: help-guix

Hi there,

While experimenting with Guix and installing one more package the disk of the test system filled to 100%. After shutting down the system to provide more disk to the VM, after reboot, the gdm session is indefinitely started and killed.

I tried to boot into non-x11 (level3) or single user mode but unfortunately the option I pass to Grub seems not to be recognized by the linux-libre kernel. Any hint where I find the correct boot options for a Guix System, so I can repair my system?

Thanks,
Alex

PS: one more thing. Is there any documentation about the packages? How to use them after just Guix install? After installing a package, e.g. a window manager like exam or a desktop environment like lxde additional steps are necessary for a user to use them. Can I find these steps somewhere? In particular to do the configuration such that it is compatible with the package and will not brake after updating the package to a new version.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Booting GUIX in single user
  2019-07-24 14:22 Booting GUIX in single user Alexander Asteroth
@ 2019-07-24 15:25 ` Tobias Geerinckx-Rice
  2019-07-24 15:43   ` Alexander Asteroth
  0 siblings, 1 reply; 5+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-07-24 15:25 UTC (permalink / raw)
  To: help-guix, Alexander Asteroth

[-- Attachment #1: Type: text/plain, Size: 1174 bytes --]

Hullo Alexander,

[It's just ‘Guix’, by the way.]

Alexander Asteroth 写道:
> I tried to boot into non-x11 (level3) or single user mode but 
> unfortunately the option I pass to Grub

Which option did you try?  I've happily purged all memory of which 
obsolete System V run-level did which obsolete thing (and Guix 
probably should, too).

> seems not to be recognized by the linux-libre kernel.

The kernel doesn't play a role here.  It's the (early) user space 
that looks at the kernel's command line, and performs certain 
actions when it sees (a) particular magic keyword(s).

> Any hint where I find the correct boot options for a Guix 
> System, so I can repair my system?

I think the only ones are currenly ‘--load’, ‘--root’, and 
‘--repl’.  The latter allows for some very rudimentary debugging 
and fixing but it's not exactly pleasant.

In keeping with Guix's idiosyncratic syntax, one could add 
‘--rescue’ and corresponding menu entry to only mount the root 
filesystem and spawn the current system's bash shell.  What do 
people think?

Soon, we'll have to add ‘--help’…

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Booting GUIX in single user
  2019-07-24 15:25 ` Tobias Geerinckx-Rice
@ 2019-07-24 15:43   ` Alexander Asteroth
  2019-07-24 16:20     ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Asteroth @ 2019-07-24 15:43 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 1369 bytes --]

Hi,

I tried “single” and 3. Now I tried —root and it still booted into gdm.

Alex

> On 24. Jul 2019, at 17:25, Tobias Geerinckx-Rice <me@tobias.gr> wrote:
> 
> Hullo Alexander,
> 
> [It's just ‘Guix’, by the way.]
> 
> Alexander Asteroth 写道:
>> I tried to boot into non-x11 (level3) or single user mode but unfortunately the option I pass to Grub
> 
> Which option did you try?  I've happily purged all memory of which obsolete System V run-level did which obsolete thing (and Guix probably should, too).
> 
>> seems not to be recognized by the linux-libre kernel.
> 
> The kernel doesn't play a role here.  It's the (early) user space that looks at the kernel's command line, and performs certain actions when it sees (a) particular magic keyword(s).
> 
>> Any hint where I find the correct boot options for a Guix System, so I can repair my system?
> 
> I think the only ones are currenly ‘--load’, ‘--root’, and ‘--repl’.  The latter allows for some very rudimentary debugging and fixing but it's not exactly pleasant.
> 
> In keeping with Guix's idiosyncratic syntax, one could add ‘--rescue’ and corresponding menu entry to only mount the root filesystem and spawn the current system's bash shell.  What do people think?
> 
> Soon, we'll have to add ‘--help’…
> 
> Kind regards,
> 
> T G-R


[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Booting GUIX in single user
  2019-07-24 15:43   ` Alexander Asteroth
@ 2019-07-24 16:20     ` Tobias Geerinckx-Rice
       [not found]       ` <526DB815-B154-48CF-BF30-D94A350054C9@h-brs.de>
  0 siblings, 1 reply; 5+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-07-24 16:20 UTC (permalink / raw)
  To: Alexander Asteroth; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 402 bytes --]

Alexander Asteroth 写道:
> I tried “single” and 3.

Thanks!  ‘single’ *might* be worth supporting as an alias, 
although the preferred way to expose this would be a GRUB menu 
entry and the argument wouldn't matter.

> Now I tried —root and it still booted into gdm.

I don't see why it wouldn't.  ‘--root <file name>’ specifies the 
root device.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Booting GUIX in single user
       [not found]       ` <526DB815-B154-48CF-BF30-D94A350054C9@h-brs.de>
@ 2019-07-24 16:42         ` Tobias Geerinckx-Rice
  0 siblings, 0 replies; 5+ messages in thread
From: Tobias Geerinckx-Rice @ 2019-07-24 16:42 UTC (permalink / raw)
  To: Alexander Asteroth; +Cc: help-guix@gnu.org

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

[Re-CC'ing help-guix@.]

Alexander Asteroth 写道:
> I misinterpreted —root as the equivalent to single.

Aha, nope, sorry.

> So currently the only rescue option would be the repl?

Yep.  It's a Scheme REPL that also has a *very* rough ‘,bournish’
mode, but it's (ironically) not very useful with Guix because it 
lacks
tab-completion (fun with store hashes!) and any useful 
line-editing or
history (so if you make a typo you can type the whole thing anew).
That's true for the Scheme mode, too.

Believe me, I am not defending the status quo of Guix rescue 
modes.

Your current best option is booting a live medium like the Guix
installer to free up some space and reboot.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-07-24 16:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-24 14:22 Booting GUIX in single user Alexander Asteroth
2019-07-24 15:25 ` Tobias Geerinckx-Rice
2019-07-24 15:43   ` Alexander Asteroth
2019-07-24 16:20     ` Tobias Geerinckx-Rice
     [not found]       ` <526DB815-B154-48CF-BF30-D94A350054C9@h-brs.de>
2019-07-24 16:42         ` Tobias Geerinckx-Rice

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.