FS#51255 - [archboot] Hangs after selecting a device to manually partition

Attached to Project: Arch Linux
Opened by Victor Engmark (l0b0) - Thursday, 06 October 2016, 10:35 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 25 June 2018, 14:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Steps to reproduce:

1. Boot Archboot 2016.08
2. In the main menu, go to "3 Prepare Storage Drive", then "1 Auto-Prepare" and use all the default options
3. In the main menu, go to "3 Prepare Storage Drive", then "2 Partition Storage Drives" (I've got two harddisks, and want /home on the second one, so auto-prepare only got me part of the way)
4. Select /dev/sda
5. Press Ctrl-Alt-F2
6. Run `top`

At this point there's a process under `bash /arch/setup` which simply does `grep /dev/ /dev/sda`, which presumably is not intended.

Additional info:
* Archboot 2016.08
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 25 June 2018, 14:56 GMT
Reason for closing:  Fixed
Comment by Victor Engmark (l0b0) - Thursday, 06 October 2016, 11:11 GMT
This seems to be caused by HEAD of usr/share/archboot/installer/setup line 1716:

if [[ "${DISC}" == "" ]] || [[ ! "$(grep '/dev/' "${DISC}")" ]]; then
Comment by Doug Newgard (Scimmia) - Thursday, 06 October 2016, 14:43 GMT
Archboot is for creating live system images. What are you trying to do here?
Comment by Victor Engmark (l0b0) - Thursday, 06 October 2016, 20:14 GMT
I'm installing a system from an Archboot 2016.08 bootable USB stick. Isn't that what it's for?
Comment by Doug Newgard (Scimmia) - Friday, 07 October 2016, 01:29 GMT
Ah, we're talking about the scripts included on the live system.
Comment by Tobias Powalowski (tpowa) - Tuesday, 11 October 2016, 08:02 GMT
Autoprepare was designed for single drive installation, don't use it on more than one drive.

If you change mountpoints afterwards it should reset the whole autoprepare procedure seems the logic is somewhere broken.
Comment by Tobias Powalowski (tpowa) - Monday, 25 June 2018, 14:56 GMT
Should be fixed in latest setup code.

Loading...