From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: problem installing on RAID partition and hot to rescue Date: Wed, 08 May 2019 16:55:04 +0200 Message-ID: <87pnot6lo7.fsf@roquette.mug.biscuolo.net> References: <877eb28819.fsf@roquette.mug.biscuolo.net> <87sgtpw139.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:60728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hONyl-0001ij-K5 for guix-devel@gnu.org; Wed, 08 May 2019 10:55:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hONyk-0007dO-Es for guix-devel@gnu.org; Wed, 08 May 2019 10:55:31 -0400 In-Reply-To: <87sgtpw139.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello! Ludovic Court=C3=A8s writes: > Giovanni Biscuolo skribis: > >> I "manually" created a RAID 1 device /dev/md0 and used that device with >> the "guided partitioning" method: > > What did you do exactly? right before the partitioning phase in the installer, I switched to a terminal console, partitioned the two physical disks [1] with cfdisk with 1 partition each (/dev/sda1 and /dev/sdb1) then assembled the RAID 1 device via mdadm, something like mdadm --create --verbose /dev/md0 --level=3Dmirror --raid-devices=3D2 /d= ev/sda1 /dev/sdb1 then switched back to the installer and used /dev/md0 as the device for "Guided partitioning": it worked well up until grub-install > Did you modify /mnt/etc/config.scm once the graphical installer had > displayed it? ehrm... no :-S I should have done this, as documented in the manual [2] > And did you also re-partition and re-mount your disks accordingly? no but I don't understand what's the rationale to re-partition (delete and recreate partitions?) and re-mount the partitions ad this phase of installation > That sounds inconvenient and error-prone. :-/ do you mean: it's inconvenient to manually edit /mnt/etc/config.scm once the graphical installer displayed it and before the "guix system init /mnt/etc/config.scm /mnt" by the installer? thinking twice I realize that mix-and-match guided (installer) and manual installation is not a great idea... it was a dirty hack :-) by the way, I'll try to rescue the system from the unbootable state: I'll re-assemble /dev/md0, chroot to it and try to grub-install and re-init Guix system with a fixed config.scm if the above fails, I'll re-install from scratch using the manual installation method >> last but not least: should we add a guided RAID partitioning >> method to the Graphical Installer? > > I guess we should! I'd like to help with patches but I'm still not able to code in Guile [3]... I can test it 10 times if that feature will be added :-) Thanks! Gio' [1] actually they are RAID 0 logical volumes created via the "smart array" HP controller software: I was not able (it seems impossible) to configure the controller for direct access of *physical* disks from the OS (HP Smart Array P410 - I **hate** this)... but that's a completely different story... or not? https://serverfault.com/questions/29349/disabling-raid-feature-on-hp-smart-= array-p400#41975 [2] https://www.gnu.org/software/guix/manual/en/html_node/Mapped-Devices.html#M= apped-Devices [3] configuring and packaging is easy but it's not the kind of coding we ne= ed --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAlzS7cgACgkQ030Op87M ORIN0w//VhWtckeaOjrqimMZaOoGWkP39mmiVLHq7Ah6Vygy07l6evUli4SALIjA BJQaSItpBP5uEw7s6pi3YhH3wvHNiW5E0zllqnI/6Q+p7tXpH1zhkYeKRMqsbXIi SiKX9LX9TTxfFB6mPi6IxznYTUQ3H+NULsENXBuhksMuABhoKTMQxMMCb8uJIJJf 4zVzGaewKOCKygxrYew/uaNDsQ6HQIoz3Ugwinvp7qnKNwTgMblZCnBwd7YiZtYs 6FAW0mMJlLSH3F53X0E9NUI57Ho4kZUwOo8hsts49EIlPqrwyjCpCyiJSJXYorW+ yPqwPo/j2MliNBjwYZY+D2kiW37++QMB1DxslCtzJtnjxo2+hxlF7ajD46/HM37l oGK8EpXGZmN3352TgQah1149nEehFWCobkKy/zSfHeXYiKRJ4mzo98A3nr8MFcaT Kj1G7g5ux4sA3jXcFJTsmFMfTrRn1wezSydwfMAk5+pk5vBcz3XwgepeNDovACr1 xqhJHR7kuHLiUrbJT8vasT1munQnjLGEmvP43a8IoYl8Bfj+CTlJLZQWlkoDoSGW dNnhKw+jqN3Dn1XRgVlAXoeRdM/plsUUhqw28yWeZbzLLrpOqM5QYlzfvRzz03B9 jcNDSw4VuN2NOVJUL/SiK0Xj7iY15P6l+0rROFlYrCdqC13OBuw= =PYao -----END PGP SIGNATURE----- --==-=-=-- --=-=-=--