From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?6Imvz5Y=?= Subject: Re: Unable to boot GuixSD USB stick Date: Mon, 10 Apr 2017 07:37:12 +0000 Message-ID: References: Reply-To: pierre@2bst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxTsw-00078R-Gt for help-guix@gnu.org; Mon, 10 Apr 2017 03:37:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxTsv-000360-Ew for help-guix@gnu.org; Mon, 10 Apr 2017 03:37:14 -0400 Received: from mail-qt0-x234.google.com ([2607:f8b0:400d:c0d::234]:33325) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cxTsv-00035o-At for help-guix@gnu.org; Mon, 10 Apr 2017 03:37:13 -0400 Received: by mail-qt0-x234.google.com with SMTP id i34so97999396qtc.0 for ; Mon, 10 Apr 2017 00:37:13 -0700 (PDT) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org For the record, perhaps it would be useful to others in the same situation to be hinted to read what's in grub.cfg: it contains the reference to boot file and boot prompt (see the menu entry). Using these references I was able to complete a boot. Don't forget to include all options in the "linux =E2=80=A6" command (boot file) piotr On 10/04/2017, =E8=89=AF=CF=96 wrote: > I've got some new stuff: > > Using Grub2 command line I am able to invoke `ls` to see all available > device / partitions and guixsd bootable partition is present as > (hd0,msdos1). > > So I want to boot Linux manually from Grub2 command line. > set root=3D(hd0,msdos1) > > Next steps are to set boot files and boot prompt. I found nothing like > "vmlinuz" at the root (it would be too easy) but after some meandering > I find the two files /boot/grub/i386-pc/core.img and > /boot/grub/i386-pc/boot.img > > linux /boot/grub/i386-pc/core.img > returns error: "invalid magic number" > > linux /boot/grub/i386-pc/boot.img > returns error: "unexpected end of file /boot/grub/i386-pc/boot.img" > > I have some questions: > - Where in the bootable partition is the boot file I should launch? > - If this boot file is core.img, how should I fix this magic number? > - If this boot file is boot.img, how do I make sure the file has been > correctly copied? > - Is the image really usable "out of the box" or does it require some > tuning? > > Thanks in advance. > > piotr > > On 09/04/2017, =E8=89=AF=CF=96 wrote: >> Hi, >> >> I've followed instructions on this page: >> https://www.gnu.org/software/guix/manual/html_node/USB-Stick-Installatio= n.html#USB-Stick-Installation >> >> everything goes smoothly and at the end I get a partition named >> "gnu-disk-image" with flag "boot". Sounds good. When I mount it it's a >> classical GNU / Linux root with folders bin, root, dev, etc, gnu, >> home, mnt, root, run, tmp and var. >> >> However when I reboot the key isn't recognised by my laptop so I'm >> unable to install it :'( >> >> Any ideas how I could solve that? >> >> Thanks in advance, >> >> piotr >> >