* GuixSD 0.11.0 Install
@ 2016-08-23 1:44 Marc Dunivan
2016-08-23 15:52 ` David Craven
2016-08-25 22:24 ` GuixSD 0.11.0 Install Danny Milosavljevic
0 siblings, 2 replies; 12+ messages in thread
From: Marc Dunivan @ 2016-08-23 1:44 UTC (permalink / raw)
To: guix-devel@gnu.org
[-- Attachment #1: Type: text/plain, Size: 768 bytes --]
Guix SD Developers:
Thank you for your work on GuixSD.
I attempted a GuixSD 0.11.0 x86_64 install from USB onto a Think Penguin Penguin Wee (Intel NUC). I was able image and boot to the USB without issue. Even partitioning the internal SATA/SSD drive (MBR not GPT) and setting up the WiFi was straight forward. The GuixSD system install (desktop) seemed to install successfully. However, when booting into the new system (non-UEFI) a kernel panic occurs. Something about "Kernel panic - not syncing : Attempted to kill init!" Sadly, this is beyond my skill level, and I am not certain even what information to relate to help resolve this issue, or even where to find it. So...
I look forward to attempting this again when 0.12.0 x86_64 is released.
Sincerely,
Marc
[-- Attachment #2: Type: text/html, Size: 1108 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: GuixSD 0.11.0 Install
2016-08-23 1:44 GuixSD 0.11.0 Install Marc Dunivan
@ 2016-08-23 15:52 ` David Craven
2016-08-24 2:51 ` Marc Dunivan
2016-08-25 22:24 ` GuixSD 0.11.0 Install Danny Milosavljevic
1 sibling, 1 reply; 12+ messages in thread
From: David Craven @ 2016-08-23 15:52 UTC (permalink / raw)
To: Marc Dunivan; +Cc: guix-devel@gnu.org
Hi Marc,
The error message you describe occurs when PID 1 exits. Can you post
your guixsd configuration so that we can reproduce the error? Have you
tried running `guix system vm my-guixsd-configuration.scm`? That
should give you the same error and should help debugging this.
David
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: GuixSD 0.11.0 Install
2016-08-23 15:52 ` David Craven
@ 2016-08-24 2:51 ` Marc Dunivan
2016-08-24 9:54 ` David Craven
0 siblings, 1 reply; 12+ messages in thread
From: Marc Dunivan @ 2016-08-24 2:51 UTC (permalink / raw)
To: David Craven; +Cc: guix-devel@gnu.org
[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]
David,
I will look into going the vm route.
This is my config.scm:
; This is an operating system configuration template
;; for a "desktop" setup with GNOME and Xfce.
(use-modules (gnu) (gnu system nss))
(use-service-modules desktop)
(use-package-modules certs)
(operating-system
(host-name "penguinwee")
(timezone "Europe/Paris")
(locale "en_US.UTF-8")
;; Assuming /dev/sdX is the target hard disk, and "my-root"
;; is the label of the target root file system.
(bootloader (grub-configuration (device "/dev/sda")))
(file-systems (cons* (file-system
(device "my-root")
(title 'label)
(mount-point "/")
(type "ext4"))
(file-system
(device "my-boot")
(title 'label)
(mount-point "/boot")
(type "ext4"))
%base-file-systems))
(users (cons (user-account
(name "Marc")
(comment " ")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(home-directory "/home/marc"))
%base-user-accounts))
;; This is where we specify system-wide packages.
(packages (cons* nss-certs ;for HTTPS access
%base-packages))
;; Add GNOME and/or Xfce---we can choose at the log-in
;; screen with F1. Use the "desktop" services, which
;; include the X11 log-in service, networking with Wicd,
;; and more.
(services (cons* (gnome-desktop-service)
(xfce-desktop-service)
%desktop-services))
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))
Respectfully,
Marc
[-- Attachment #2: Type: text/html, Size: 5104 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: GuixSD 0.11.0 Install
2016-08-24 2:51 ` Marc Dunivan
@ 2016-08-24 9:54 ` David Craven
2016-08-24 10:31 ` Marius Bakke
2016-08-24 10:32 ` Vincent Legoll
0 siblings, 2 replies; 12+ messages in thread
From: David Craven @ 2016-08-24 9:54 UTC (permalink / raw)
To: Marc Dunivan; +Cc: guix-devel@gnu.org
Hi Marc,
> (device "my-root")
> (device "my-boot")
device should be a path to the device node and should look something
like /dev/sda1 and /dev/sda2.
> (name "Marc")
doesn't like capitalized user-names
> (title 'label)
> (title 'label)
remove these
This should give you a working setup. Once you have a bootable setup
you can always revert to a previous generation if you get a boot
failure. I agree that the error messages aren't very user friendly.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: GuixSD 0.11.0 Install
2016-08-24 9:54 ` David Craven
@ 2016-08-24 10:31 ` Marius Bakke
2016-08-24 10:32 ` Vincent Legoll
1 sibling, 0 replies; 12+ messages in thread
From: Marius Bakke @ 2016-08-24 10:31 UTC (permalink / raw)
To: David Craven, Marc Dunivan; +Cc: guix-devel@gnu.org
David Craven <david@craven.ch> writes:
>> (device "my-root")
>
>> (device "my-boot")
>
> device should be a path to the device node and should look something
> like /dev/sda1 and /dev/sda2.
>
>> (title 'label)
>
>> (title 'label)
>
> remove these
(title 'label) instructs the boot routine to look for a partition or
device with filesystem label "my-root" or "my-boot" instead of a device
path. That works on my GuixSD at least:
(file-systems (cons (file-system
(device "root")
(title 'label)
(mount-point "/")
(type "ext4"))
%base-file-systems))
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: GuixSD 0.11.0 Install
2016-08-24 9:54 ` David Craven
2016-08-24 10:31 ` Marius Bakke
@ 2016-08-24 10:32 ` Vincent Legoll
2016-08-24 10:39 ` David Craven
1 sibling, 1 reply; 12+ messages in thread
From: Vincent Legoll @ 2016-08-24 10:32 UTC (permalink / raw)
To: David Craven; +Cc: Marc Dunivan, guix-devel@gnu.org
>> (device "my-root")
>> (device "my-boot")
>
> device should be a path to the device node and should look something
> like /dev/sda1 and /dev/sda2.
>
>> (title 'label)
>
>> (title 'label)
>
> remove these
Are you sure ? I have similar setup (mount-by-label) and it is working, or
did I misunderstood you ?
(file-systems (cons (file-system
(device "guixroot")
(title 'label)
(mount-point "/")
(type "ext4"))
%base-file-systems))
This is in guixsd documentation 7.1.5:
Be sure that your partition labels match the value of their respective
device fields in your file-system configuration, assuming your file-system
configuration sets the value of title to 'label.
>> (name "Marc")
>
> doesn't like capitalized user-names
Is that not enforced by "guix system" ?
maybe it should ?
--
Vincent Legoll
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: GuixSD 0.11.0 Install
2016-08-24 10:32 ` Vincent Legoll
@ 2016-08-24 10:39 ` David Craven
2016-08-24 11:19 ` David Craven
0 siblings, 1 reply; 12+ messages in thread
From: David Craven @ 2016-08-24 10:39 UTC (permalink / raw)
To: Vincent Legoll; +Cc: Marc Dunivan, guix-devel@gnu.org
Well these are the steps I took to get it to boot through guix system
vm. The filesystem stuff gets overwritten by the routines in vm.scm,
but it causes the services to fail to start.
>>> (name "Marc")
>>
>> doesn't like capitalized user-names
> Is that not enforced by "guix system" ?
> maybe it should ?
This can also be easily verified using system vm, maybe it's a bug.
But it causes a boot failure.
I've never actually installed guixsd on real hardware... =)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: GuixSD 0.11.0 Install
2016-08-24 10:39 ` David Craven
@ 2016-08-24 11:19 ` David Craven
2016-08-30 3:33 ` Marc Dunivan
0 siblings, 1 reply; 12+ messages in thread
From: David Craven @ 2016-08-24 11:19 UTC (permalink / raw)
To: Vincent Legoll; +Cc: Marc Dunivan, guix-devel@gnu.org
Thank you Marius and Vincent for your corrections.
@Marc
So I retested it and the only problem with your configuration is the
username. According to stackoverflow:
> To be on the safe side of things, follow the same rules of a C identifier:
> ([a-z_][a-z0-9_]{0,30})
[0] http://stackoverflow.com/questions/6949667/what-are-the-real-rules-for-linux-usernames-on-centos-6-and-rhel-6
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: GuixSD 0.11.0 Install
2016-08-23 1:44 GuixSD 0.11.0 Install Marc Dunivan
2016-08-23 15:52 ` David Craven
@ 2016-08-25 22:24 ` Danny Milosavljevic
1 sibling, 0 replies; 12+ messages in thread
From: Danny Milosavljevic @ 2016-08-25 22:24 UTC (permalink / raw)
To: Marc Dunivan; +Cc: guix-devel@gnu.org
>The GuixSD system install (desktop) seemed to install successfully. However, when booting into the new system (non-UEFI) a kernel panic occurs. Something about "Kernel panic - not syncing : Attempted to kill init!"
This is not the original problem. What does it say right above it?
Usually it can't find the root filesystem, the filesystem type is unknown, the harddrive drivers are not found etc.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: GuixSD 0.11.0 Install
2016-08-24 11:19 ` David Craven
@ 2016-08-30 3:33 ` Marc Dunivan
2016-08-31 21:14 ` Lowercase user names Ludovic Courtès
0 siblings, 1 reply; 12+ messages in thread
From: Marc Dunivan @ 2016-08-30 3:33 UTC (permalink / raw)
To: David Craven, Vincent Legoll; +Cc: guix-devel@gnu.org
[-- Attachment #1: Type: text/plain, Size: 123 bytes --]
David,
That was the problem...I changed the user name to all lowercase, and successfully booted into the installed system.
[-- Attachment #2: Type: text/html, Size: 192 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Lowercase user names
2016-08-30 3:33 ` Marc Dunivan
@ 2016-08-31 21:14 ` Ludovic Courtès
2016-08-31 21:22 ` David Craven
0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2016-08-31 21:14 UTC (permalink / raw)
To: Marc Dunivan; +Cc: guix-devel@gnu.org
Hi!
Marc Dunivan <m971668@protonmail.com> skribis:
> That was the problem...I changed the user name to all lowercase, and successfully booted into the installed system.
Weird, I didn’t know about this restriction (I thought I was just
self-imposing it ;-)).
Is there anything we can do in PAM config or whatever to waive it?
Ludo’.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Lowercase user names
2016-08-31 21:14 ` Lowercase user names Ludovic Courtès
@ 2016-08-31 21:22 ` David Craven
0 siblings, 0 replies; 12+ messages in thread
From: David Craven @ 2016-08-31 21:22 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: Marc Dunivan, guix-devel@gnu.org
According to [0] there is. But I think sticking to lowercase usernames
isn't such a big restriction. I think adding a check that the username
is lowercase and notifying the user on guix system reconfigure is just
as good a solution IMO.
[0] http://stackoverflow.com/questions/6949667/what-are-the-real-rules-for-linux-usernames-on-centos-6-and-rhel-6
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2016-08-31 21:22 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-23 1:44 GuixSD 0.11.0 Install Marc Dunivan
2016-08-23 15:52 ` David Craven
2016-08-24 2:51 ` Marc Dunivan
2016-08-24 9:54 ` David Craven
2016-08-24 10:31 ` Marius Bakke
2016-08-24 10:32 ` Vincent Legoll
2016-08-24 10:39 ` David Craven
2016-08-24 11:19 ` David Craven
2016-08-30 3:33 ` Marc Dunivan
2016-08-31 21:14 ` Lowercase user names Ludovic Courtès
2016-08-31 21:22 ` David Craven
2016-08-25 22:24 ` GuixSD 0.11.0 Install Danny Milosavljevic
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).