From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ot1-x33a.google.com (mail-ot1-x33a.google.com [IPv6:2607:f8b0:4864:20::33a]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 8b03d8f2 for ; Tue, 25 Jun 2019 10:33:25 +0000 (UTC) Received: by mail-ot1-x33a.google.com with SMTP id a21sf8875150otk.17 for ; Tue, 25 Jun 2019 03:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=/t3ulmqPjstg/oduJgZSjC12N1HQH6/39/RvNKl4Skc=; b=K2KHOI3NsnwT/oLOnH4VflQXgzXL6RQHhjwtJzaB4fpTXNfTtlXw/ywGYj7rJ6AdBy M+zs9/RviP56/EcTOzCs7WkTgtNYehmNaU/TFbJ3ezAv4yGPOXogrJSFVzHDUI6ieVbD zAptdWuqR73D3to/Gjx/g/vPmmH/CYtsFTx2xKzLWc33i9yxXqVao9tzUhcFjbt6AFmb JJhua8VVwLgA4jYFe4rjzRsQ3A8ie/ALgYKBtJrE0v3fxi6TC99TPXifwcQbFzQQdOBw Tfmm3dt0EHcVdLaChoPavYhq8OS+JrbFIE5VSMwR7ZGSDfco8DsyYnSI++gwqiZR+/n4 7ZFw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:precedence:mailing-list:list-id:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=/t3ulmqPjstg/oduJgZSjC12N1HQH6/39/RvNKl4Skc=; b=Z6yiL+dD+XLWQbGgpSixyUkCu3CUqFDD1B3KX2C/VWCEEkDicslPF+N15eyANkU3K+ S5pj4ni2UZ+187H2E3ky6U6XPzW+bkMIhBIx0MK2DacTwrkAqaboCSSZnWiMPf8nW3kX WAMfQqzzoWVihK/weaAGQQa5o543y2Bu5gwoqrkh/iZUK5LGsIhiSHaJBdoIy30UH70d dYBxm0I/igiEjGtm+QiA/UwahOrPKT0B4xaMGNA0QZISAVrmXcwH64bjR4StZGTtREZJ KnFzZbK2RSAeRNpZTFfGFzWRs1b6mJofXDxn3XYRMYxTbz4tJ+WAaxFrfyxb8PCUyL3u ruYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:precedence :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=/t3ulmqPjstg/oduJgZSjC12N1HQH6/39/RvNKl4Skc=; b=hMxCf4bBvUK9K07FeR/vrDCRpGvzgO6P4U9x73eL7//vC5N8waEdNGrvi/QvaZ/a5h akXSUeGkemCIFOAhAYzhd+Yz5z93lFtB748Dt3fA5o05Mm+DiQH5FuKp1wCEHaHsu4qe vFt3ebUbqIaEZwmqihBZpHk5Mxx9x8bSTMNNSO4doGhajaIEfJvMFZ9BryIMB6+5iJiJ y+kq4ojd/dx2aPlWI0/iWqxx2cFJHsUBfjHutphwlRV0716iwKcEy+fMz/QPW71K9g/K fOIGjmcKZM7LYY7Rx3qzvz+ZiE6p0sB+jKAQ3DaoEzK3dJ1wMke38wCtNjEBQgGUFw0P DnPw== Sender: voidlinux@googlegroups.com X-Gm-Message-State: APjAAAV2cOw5DkyMubB6xATv1kspCLazJqJO9aH4q1S8nZE7/Jxu9m5H tCNbgRyridRPEgKIWTD1uL4= X-Google-Smtp-Source: APXvYqwW9b+RRvIAMtfx6VPKEN43ZdlTnKFCvXgcqvbDvCB53qtFgu+9AzJpPxmwMC7dm38hAJEVdA== X-Received: by 2002:aca:a884:: with SMTP id r126mr14376974oie.11.1561458804106; Tue, 25 Jun 2019 03:33:24 -0700 (PDT) X-BeenThere: voidlinux@googlegroups.com Received: by 2002:aca:5b84:: with SMTP id p126ls2758982oib.3.gmail; Tue, 25 Jun 2019 03:33:23 -0700 (PDT) X-Received: by 2002:aca:ac4d:: with SMTP id v74mr13049070oie.66.1561458803741; Tue, 25 Jun 2019 03:33:23 -0700 (PDT) Date: Tue, 25 Jun 2019 03:33:22 -0700 (PDT) From: jacksprat To: voidlinux Message-Id: <062ee18d-0306-4c68-bba6-da0a638f996a@googlegroups.com> In-Reply-To: References: <5d119bc6-2440-4bed-8f81-841ba285c876@googlegroups.com> Subject: Re: Trying to Install on USB drive using GRUB MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2082_1125171165.1561458803111" X-Original-Sender: picamanic@gmail.com Precedence: list Mailing-list: list voidlinux@googlegroups.com; contact voidlinux+owners@googlegroups.com List-ID: X-Google-Group-Id: 289663804196 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , ------=_Part_2082_1125171165.1561458803111 Content-Type: multipart/alternative; boundary="----=_Part_2083_1485219301.1561458803112" ------=_Part_2083_1485219301.1561458803112 Content-Type: text/plain; charset="UTF-8" My laptop is setup so that it tries USB first, then reverts to hard drive if no suitable USB device is present. On Tuesday, June 25, 2019 at 10:32:16 AM UTC+1, space pudim wrote: > > > My laptop hard drive died, so as an interim solution, I wanted to > install Void Linux on a removable hard drive [/dev/sdb1]. > > > > I started with the current 64-bit MUSL live image. The void-installer > script, run as root, fails to complete, complaining about expecting to find > an efi setup. Rather than get involved with efi , I tried > > > > mkdir /usb > > mount /dev/sdb1 /usb > > > > grub-install --target=i384-pc --boot-directory=/usb/boot /dev/sdb > > umount /usb > > > > which completed without errors. However, on reboot, I get the grub menu > from the failed hard drive. > > > > I also ran fdisk on /dev/sdb to mark the partition bootable. What have > I missed? Thanks. > > Back in the days you had to set the drive you wanted to boot on the > BIOS setup. I'm not sure about EFI (my PC is still BIOS) but I'd > expect the same. > > <3 > > > -- > Pudding > -- You received this message because you are subscribed to the Google Groups "voidlinux" group. To unsubscribe from this group and stop receiving emails from it, send an email to voidlinux+unsubscribe@googlegroups.com. To post to this group, send email to voidlinux@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/voidlinux/062ee18d-0306-4c68-bba6-da0a638f996a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_2083_1485219301.1561458803112 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
My laptop is setup so that it tries USB first, then r= everts to hard drive if no suitable USB device is present.


On Tuesday, June 25, 2019 at 10:32:16 AM UTC+1, space pudim wrote:<= blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;bord= er-left: 1px #ccc solid;padding-left: 1ex;">> My laptop hard drive died,= so as an interim solution, I wanted to install Void Linux on a removable h= ard drive [/dev/sdb1].
>
> I started with the current 64-bit MUSL live image. =C2=A0The void-= installer script, run as root, fails to complete, complaining about expecti= ng to find an efi setup. =C2=A0Rather than get involved with efi , I tried
>
> =C2=A0 mkdir /usb
> =C2=A0 mount /dev/sdb1 /usb
> =C2=A0 <create /usb/boot/grub/grub.cfg with suitable menu item&= gt;
> =C2=A0 grub-install --target=3Di384-pc --boot-directory=3D/usb/boo= t =C2=A0/dev/sdb
> =C2=A0 umount /usb
>
> which completed without errors. =C2=A0However, on reboot, I get th= e grub menu from the failed hard drive.
>
> I also ran fdisk on /dev/sdb to mark the partition bootable. =C2= =A0What have I missed? =C2=A0Thanks.

Back in the days you had to set the drive you wanted to boot on the
BIOS setup. I'm not sure about EFI (my PC is still BIOS) but I'= d
expect the same.

<3


--=20
Pudding

--
You received this message because you are subscribed to the Google Groups &= quot;voidlinux" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to voidlinux= +unsubscribe@googlegroups.com.
To post to this group, send email to voidlinux@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid= /voidlinux/062ee18d-0306-4c68-bba6-da0a638f996a%40googlegroups.com.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_2083_1485219301.1561458803112-- ------=_Part_2082_1125171165.1561458803111--