unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#44717: ISO grub config points to nonexistent drive UUID.
@ 2020-11-18  4:56 Jesse Gibbons
  2020-11-18 10:31 ` Ludovic Courtès
  2020-11-18 18:09 ` Bengt Richter
  0 siblings, 2 replies; 10+ messages in thread
From: Jesse Gibbons @ 2020-11-18  4:56 UTC (permalink / raw)
  To: 44717

On multiple computers, when I try to copy a custom operating system iso 
to an sd card and boot, the boot operation fails. Here's the output on 
one of the computers:

GC Warning: pthread_getattr_up or pthread_getattr_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 kernel modules...
waiting for partition '31393730-3031-3031-3139-333534353239' to appear...
waiting for partition '31393730-3031-3031-3139-333534353239' to appear...
waiting for partition '31393730-3031-3031-3139-333534353239' to appear...
[    5.044226] sd 0:0:0:0: [sda] No Caching mode page found
[    5.044336] sd 0:0:0:0: [sda] Assuming drive cache: write through
No file system check procedure for /dev/sda; skipping
ice-9/boot-9.scm:1669:16: In procedure raise-exception:
In procedure mount: Permission denied

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)>

When I type ,q or C-d I trigger a kernel panic.

This happens on at least three different computers:
- a lenovo ideapad s100 (intel atom, only successfully boots 32-bit 
image, output above)
- a laptop (unidentified brand) with an amd athlon-x2, only tried 64-bit iso
- an acer aspire one (cnet says intel atom), only tried 64-bit iso

I can confirm the lenovo successfully boots the i686 install iso 
(version 1.1.0) on the guix website and lets me see the info page on 
installing the system by hand, though the UI installer fails (most 
likely because the network hardware is disgustingly blobby).

I built the install image for i686-linux and flashed it to the sd card. 
It looks for the exact same partition and falls back on a boot guile repl.

$ guix describe
Generation 334    Nov 17 2020 17:52:52    (current)
   guix 129b9b1
     repository URL: https://git.savannah.gnu.org/git/guix.git
     branch: master
     commit: 129b9b16d9b588316cc997cf8f4fefe30961a417

I generated the iso with the command
`guix system disk-image -t iso9660 --root=installer.BaNl/install-x86.iso 
--system=i686-linux gnu/system/install.scm`
and flash the sd card with the command
`sudo bash -c "echo success" && time sudo dd if=install-x86.iso of=/dev/sdc`

When I inspect the GRUB menu, I see the option
--root=31393730-3031-3031-3139-333534353239
but in the gnome disk utility on my main laptop I do not see the above 
UUID in any of the partitions on the SD card I'm using, still with the 
freshly built install iso flashed onto it. Instead I see the UUIDs 
1970-01-01-19-49-46-83 for partition 1 and 3495-32E0 for partition 2.

Thanks,
-Jesse




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

end of thread, other threads:[~2021-05-15  3:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-18  4:56 bug#44717: ISO grub config points to nonexistent drive UUID Jesse Gibbons
2020-11-18 10:31 ` Ludovic Courtès
2020-11-18 15:22   ` Jesse Gibbons
2020-11-18 17:17     ` Ludovic Courtès
2020-11-18 18:03       ` Jesse Gibbons
2020-11-18 21:31       ` Jesse Gibbons
2021-05-15  3:33         ` Maxim Cournoyer
2020-11-18 18:09 ` Bengt Richter
2020-11-18 19:17   ` Jesse Gibbons
2020-11-18 20:55     ` Bengt Richter

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).