From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Subject: bug#20024: grub store is not copied to target system Date: Tue, 10 Mar 2015 12:50:10 +0100 Message-ID: <20150310115010.GE16813@crashnator.suse.cz> References: <20150307000159.GA1292@venom> <87lhj7nor2.fsf@gnu.org> <20150308215719.GB22135@venom> <8761aatx2m.fsf@gnu.org> <20150309103424.GB30937@crashnator.suse.cz> <877fuqkswn.fsf@gnu.org> <20150309200421.GA1222@venom> <87wq2pqo6o.fsf@gnu.org> <20150310084146.GD16813@crashnator.suse.cz> <87mw3lnmv6.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ghzN8eJ9Qlbqn3iT" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVIgo-0001tP-I3 for bug-guix@gnu.org; Tue, 10 Mar 2015 07:51:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVIgg-0004Yb-46 for bug-guix@gnu.org; Tue, 10 Mar 2015 07:51:10 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:42712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVIgg-0004YX-18 for bug-guix@gnu.org; Tue, 10 Mar 2015 07:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YVIgf-0001Zl-LS for bug-guix@gnu.org; Tue, 10 Mar 2015 07:51:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87mw3lnmv6.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 20024@debbugs.gnu.org --ghzN8eJ9Qlbqn3iT Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 10, 2015 at 11:54:53AM +0100, Ludovic Court=C3=A8s wrote: >Tom=C3=A1=C5=A1 =C4=8Cech skribis: > >> On Tue, Mar 10, 2015 at 08:58:07AM +0100, Ludovic Court=C3=A8s wrote: >>>Tom=C3=A1=C5=A1 =C4=8Cech skribis: > >[...] > >>>> Shouldn't `grub' be in `%base-packages'? >>> >>>It could be there; OTOH, we don=E2=80=99t want to encourage users to byp= ass >>>=E2=80=98reconfigure=E2=80=99. WDYT? >> >> Aha! Now it makes sense! >> >> Yes, you're right, but there is also chance that after initialization of >> GuixSD and reboot you will have no way back to original distribution. > >As I wrote before, once you=E2=80=99ve booted into GuixSD, chances are tha= t the >original distro on that partition is in a bad state because GuixSD has >fiddle with /etc and other global directories. Irrelevant. As I wrote before - I have two separate partitions with root filesystem. Problem is that when `guix system init' takes care of grub configuration. >> After my installation I got into state where Guix couldn't access networ= k so >> `guix system reconfigure' was not possible and my graphic card needs some >> special care during boot to make KMS work (which I was hardly googling on >> tablet to fix it). > >Could you explain the KMS issue in a separate thread? Irrelevant. It is not related to Guix and it may be even fixed already in vanilla. >> We could just add note in documentation that one can add grub as system >> package as safety belt and remove it when confirmed it works. OTOH this = may >> encourage users to bypass reconfigure even more. > >It=E2=80=99s enough to modify grub.cfg. GRUB itself is not needed. > >But anyway, the take-home message is that if you run =E2=80=98guix system = init=E2=80=99 >on your current root, then you can assume the former distro to no longer >be bootable. No, I'm initializing GuixSD root filesystem, not the Gentoo one. Lets just stop to avoid further confusion. I take it that my usecase is corner case and I should add grub as system package by myself. My goal was to consider providing grub and you have your reasons. And it looks like I have too weird setup - separate /boot, LVM, bootloader chainloading. I have found my way to workaround it. Please close the bug. --ghzN8eJ9Qlbqn3iT Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlT+2m8ACgkQ37XrCapiVCMArQCfeAzYopBedKy/YmWmNJtmfD1y 8DQAnimEddefdhKCXfy8ObryMCeq7Edc =FUO/ -----END PGP SIGNATURE----- --ghzN8eJ9Qlbqn3iT--