alpine-conf issueshttps://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues2019-07-14T07:46:21Zhttps://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/3040setup-disk problem for sys install to multiple disks2019-07-14T07:46:21ZChris Spillanesetup-disk problem for sys install to multiple disksTested on versions 3.0.0 rc1 and 3.0.0 stable. Issue does not occur with
single disk install, only with multiple disk install (and therefore
RAID); same error whether two or more disks used. Same error whether or
not repo is configured (...Tested on versions 3.0.0 rc1 and 3.0.0 stable. Issue does not occur with
single disk install, only with multiple disk install (and therefore
RAID); same error whether two or more disks used. Same error whether or
not repo is configured (i.e kernel update doesn’t seem to help, 3.14.4
result same as 3.14.5 and greater).
Also tested on both Vmware server and VirtualBox with the same
behaviour.
At install with setup-disk, everything looks normal until the end:
==> initramfs: creating /boot/initramfs-grsec
6894 blocks
/lib/modules/3.14.4-0-grsec/kernel/drivers/block/cpqarray*: No such file or directory. Skipped
32180 block
/boot is device /dev/md0
After reboot, we get the usual syslinux countdown screen and then:
Mounting root failed.
initramfs emergency recovery shell launched. Type 'exit' to continue boot
sh:can't access tty; job control turned off
Typing ‘exit’ leads to kernel panic as per screenshot.
*(from redmine: issue id 3040, created on 2014-06-16, closed on 2015-12-09)*
* Relations:
* duplicates #3074
* Changesets:
* Revision 6b84b6a9f174e08542ca19c6e88fb29287b29016 by Natanael Copa on 2014-06-23T16:08:15Z:
```
main/alpine-conf: upgrade to 3.0.3
ref #3040
ref #3057
ref #3060
```
* Revision d7b7080246c5a526d371a83eabf074a5eec1dce2 by Natanael Copa on 2014-06-23T16:39:37Z:
```
main/alpine-conf: upgrade to 3.0.3
fixes #3040
fixes #3057
fixes #3060
```
* Uploads:
* ![kernel_panic_setup_disk](/uploads/dd4107a3f69aa092fc142be433cd28c2/kernel_panic_setup_disk.png) screenshot of kernel panic after reboot and 'exit'
* ![extlinux](/uploads/0dc0d645576f5e17bf2d66df91975247/extlinux.png)https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/2894Please backport setup-disk patch to Alpine 2.72019-07-14T07:44:57ZJeff Bilykjbilyk@gmail.comPlease backport setup-disk patch to Alpine 2.7Could
http://git.alpinelinux.org/cgit/alpine-conf/commit/?id=81ae21f658b6ddb4b34e03f44b20a196d8eb18cf
be backported to Alpine 2.7 so that it could be integrated into a future
release such as 2.7.8?
*(from redmine: issue id 2894, create...Could
http://git.alpinelinux.org/cgit/alpine-conf/commit/?id=81ae21f658b6ddb4b34e03f44b20a196d8eb18cf
be backported to Alpine 2.7 so that it could be integrated into a future
release such as 2.7.8?
*(from redmine: issue id 2894, created on 2014-05-19, closed on 2015-12-09)*
* Changesets:
* Revision dd52a43265d8d615998f1bdec1f1956bfc2d6c77 by Natanael Copa on 2014-05-21T13:20:59Z:
```
main/alpine-conf: backport ERASE_DISKS support for setup-disk
fixes #2894
```https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/2893setup-disk fails to format and use an HP raid array2019-07-14T07:44:56ZJeff Bilykjbilyk@gmail.comsetup-disk fails to format and use an HP raid arrayFails due to putting a “!” in the device name. A patch similar to this
fixes/works around the issue:
diff --git a/setup-disk.in b/setup-disk.in
index e5cae87..e7a063c 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@...Fails due to putting a “!” in the device name. A patch similar to this
fixes/works around the issue:
diff --git a/setup-disk.in b/setup-disk.in
index e5cae87..e7a063c 100644
--- a/setup-disk.in
+++ b/setup-disk.in
@@ -950,7 +950,7 @@ if [ $# -gt 0 ]; then
echo "$i is not a suitable for partitioning"
exit 1
fi
- diskdevs="$diskdevs /dev/$j"
+ diskdevs="$diskdevs /dev/${j//!//}"
done
else
ask_disk "Which disk(s) would you like to use? (or '?' for help or
'none')" \
*(from redmine: issue id 2893, created on 2014-05-19, closed on 2015-12-09)*
* Changesets:
* Revision dc06856daff9ba68eea716956c2e2383d4097747 by Natanael Copa on 2014-05-19T13:52:01Z:
```
setup-disk: fix partitioning of HP raid array (cciss)
ref #2893
```
* Revision 6015d0cc954143cf4962881b91e38ae6912d94ef by Natanael Copa on 2014-05-19T15:55:35Z:
```
main/alpine-conf: fix cciss devices
ref #2893
```
* Revision 1c6ff8787ff33ad7eb3a091e8f490ac4501ce788 by Natanael Copa on 2014-05-19T15:57:57Z:
```
main/alpine-conf: backport HP array (cciss) paritioning fix
fixes #2893
```