From: coralgoat--- via <help-guix@gnu.org>
To: coralgoat@tuta.io
Cc: Help Guix <help-guix@gnu.org>
Subject: Re: Stuck at scheme prompt when booting
Date: Sat, 12 Feb 2022 20:15:43 +0100 (CET) [thread overview]
Message-ID: <MvjMBUl--3-2@tuta.io> (raw)
In-Reply-To: <MvUCoKH--7-2@tuta.io-MveXQCV----2>
I have some more information to add to my initial message.
I have opened the computer to make sure the hard drive has a good
connection to the motherboard and it does.
I have also tried typing `,bt` at the "scheme@(guile-user)>" prompt
the output is included below. Note there is a solid white square
single character symbol in the output and I am representing it as
"***" in the output below.
The line in the output that catches my attention is:
"1 (copy-file "/etc/static/resolv.conf" "/etc/resolv.conf")"
This catches my attention because I took this computer to second
location where I tried connecting to a WiFi network. I was getting
domain name resolution errors and was not able to connect to the
internet. I resolved the domain name resolution errors by doing 2
things:
1) editing /etc/resolv.conf changing it to a single line that set a
specific nameserver
2) I ran this command `chattr +i /etc/resolv.conf`
After doing these two things the internet connection was okay.
When I was done in the second location I powered off the computer
and moved to a third location and when it tried to turn on the
computer in the third location I was stuck at this scheme prompt.
I think that if I ran the command `chattr -i /etc/resolv.conf` it
might fix the problem and allow the system to boot however I get an
error when I try typing that at the scheme prompt.
Any suggestions on how I should get a Linux console terminal so I can
enter the `chattr -i /etc/resolv.conf` command?
I could try booting an operating system in memory and then use a disk
encryption program to decrypt the hard drive with my passphrase and
then run `chattr -i /etc/resolv.conf`. What disk encryption program
should I use to decrypt the hard disk?
Thank you
,bt output:
```
In gnu/build/linux-boot.scm:
617:14 9 (_)
In unknown file:
8 (primitive-load "gun/store/a-long-hash***")
In ice-9/eval.scm:
619:8 7 (_ #f)
In unknown file:
6 (primitive-load "gun/store/a-long-hash***")
In srfi/srfi-1.scm:
634:9 5 (for-each #<procedure primitive-load (_)> _)
In unknown file:
4 (primitive-load "gun/store/a-long-hash***")
In srfi/srfi-1.scm:
634:9 3 (for-each #<procedure 7fd6fc3d1ec8 at gnu/build/activa***> ***)
In gnu/build/activation.scm:
265:20 2 (_ _)
In unknown file:
1 (copy-file "/etc/static/resolv.conf" "/etc/resolv.conf")
In ice-9/boot-9.scm:
1669:16 0 (raise-exception _ #:continuable? _)
```
Feb 9, 2022, 16:00 by help-guix@gnu.org:
> I have run into a problem with booting a computer that is running the
> Guix operating system.
>
> After entering the passphrase when prompted with:
>
>> Enter passphrase for /dev/sda1:
>>
>
> I end up at this prompt:
>
>> scheme@(guile-user)>
>>
>
> and the system does not continue to boot.
>
> I have not made any changes to my system configuration to cause this
> issue.
>
> Below is the sequence that results in me getting the
> "scheme@(guile-user)>" prompt.
>
> In the output below it says "',q' to continue" but when I do that at
> this prompt I am greeted there is a lot of output with the last line
> of the output saying:
>
>> ---[ end Kernel panic - not syncing: Attempted to kill init! exit
>>
> > code=0x00000000 ]---
>
> Is there something I need to enter at this scheme prompt to continue
> with the booting this computer?
>
> If there is not a way to continue booting this computer from this
> scheme prompt how should I attempt data recovery from the encrypted
> hard drive?
>
> Any help with this would be appreciated.
>
> Thank you
>
> ---
>
> 1) I push the power button to power on the system.
>
> 2) It says:
>
>> Grub loading.. Welcome to GRUB! Attempting to decrypt master
>> key... Enter passphrase for hd0,msdos1
>> (lone-string-hexadecimal-characters):
>>
>
> 3) I enter the passphrase
>
> 4) It says: "Slot 0 opened"
>
> 5) The Grub menu is displayed
>
> 6) I do nothing and it continues after the grub timer finishes
> counting down.
>
> 7) These messages are displayed:
>
>> x86/cpu: VMX (outside TXT) disabled by BIOS ACPI Error:
>> AE_NOT_FOUND, While resolving a named reference package element -
>> 2001 (20201113/dspkginit-440) ACPI Error: AE_NOT_FOUND, While
>> resolving a named reference package element - 2001
>> (20201113/dspkginit-440) GC Warning: pthread_getattr_np or
>> pthread_attr_getstack failed for main thread GC Warning: Couldn't
>> read /proc/stat Welcome, this is GNU's early boot Guile. Use
>> '--repl' for an initrd REPL. loading kernal modules...
>>
>
> 8) Then it prompts me for a passphrase:
>
>> Enter passphrase for /dev/sda1:
>>
>
> 9a) If I deliberately enter the wrong passphrase it says:
>
>> No key available with this passphrase. Enter passphrase for
>> /dev/sda1:
>>
>
> 9b) If I enter the right passphrase it says:
>
>> /dev/mapper/cryptroot: recovering journal
>> /dev/mapper/cryptroot: clean, #/# files, #/# blocks
>> loading '/gnu/store/hash-system/boot'...
>> making '/gnu/store/hash-system' the current system.
>> .
>> setting up setuid programs in '/run/setuid-programs'...
>> populating /etc from /gnu/store/hash-etc...
>> ice-9/boot-9.scm:1669:16: In procedure raise-exception: In procedure
>> copy-file: Operation not permitted
>> Entering a new prompt. Type ',bt' for a backtrace or ',q' to
>> continue.
>> GNU Guile 3.0.2 Copyright (C) 1995-2020 Free Software
>> Foundation, Inc.
>> Guile comes with ABSOLUTELY NO WARRANTY; for details type ',show w'.
>> This program is free software, and you are welcome to redistribute
>> it under certain conditions; type ',show c' for details.
>> Enter ',help' for help.
>> scheme@(guile-user)>
>>
next prev parent reply other threads:[~2022-02-12 19:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-09 16:00 Stuck at scheme prompt when booting coralgoat--- via
[not found] ` <MvUCoKH--7-2@tuta.io-MveXQCV----2>
2022-02-12 19:15 ` coralgoat--- via [this message]
2022-02-12 22:08 ` Ricardo Wurmus
2022-02-15 20:38 ` coralgoat--- via
2022-02-15 20:51 ` Ricardo Wurmus
2022-02-15 21:53 ` coralgoat--- via
2022-02-12 23:11 ` SeerLite
2022-02-15 20:46 ` coralgoat--- via
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=MvjMBUl--3-2@tuta.io \
--to=help-guix@gnu.org \
--cc=coralgoat@tuta.io \
/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.