openSUSE Autoinstall
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
September 2013
- 2 participants
- 1 discussions
17 Sep '13
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello!
I'm fighting for a week with autoyast and a SoftwareRAID partitoning
on non-EFI servers with two 3-4 TB disks. I've figured out, that
autoyast successfully applies my profile to the servers, as long as I
don't set up a SoftwareRAID. Means, that autoyast creates
automatically a bios_grub partition and installs GRUB2 correctly, the
server is able to boot from a 2.7 TB root partiton. I don't need to do
anything.
As soon as I'm using a SoftwareRAID partitioning, autoyast doesn't
create the above mentioned bios_grub partition and bootlader
instalation fails, the operating system isn't bootable. It's possible
to workaround this issue by manually creating the bios_grub partiton
in the partitioning context and to manually enabling bios_grub to this
partiton with parted in postpartitioning-scripts, nevertheless GRUB2
will show the same error messages as before, which can't be timed out
using error context. But, operating system will boot up correctly from
a 2.7 TB md device.
I've attached my example partitioning with static 1MB bios_grub
partition, 32GB swap, 1GB /boot, and max root partition:
<partitioning config:type="list">
<drive>
<device>/dev/sda</device>
<initialize config:type="boolean">true</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">false</format>
<partition_nr config:type="integer">1</partition_nr>
<size>1M</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">false</format>
<partition_id config:type="integer">253</partition_id>
<partition_nr config:type="integer">2</partition_nr>
<raid_name>/dev/md0</raid_name>
<raid_type>raid</raid_type>
<size>32768M</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">false</format>
<partition_id config:type="integer">253</partition_id>
<partition_nr config:type="integer">3</partition_nr>
<raid_name>/dev/md1</raid_name>
<raid_type>raid</raid_type>
<size>1024M</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">false</format>
<partition_id config:type="integer">253</partition_id>
<partition_nr config:type="integer">4</partition_nr>
<raid_name>/dev/md2</raid_name>
<raid_type>raid</raid_type>
<size>max</size>
</partition>
</partitions>
<type config:type="symbol">CT_DISK</type>
<use>all</use>
</drive>
<drive>
<device>/dev/sdb</device>
<initialize config:type="boolean">true</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">false</format>
<partition_nr config:type="integer">1</partition_nr>
<size>1M</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">false</format>
<partition_id config:type="integer">253</partition_id>
<partition_nr config:type="integer">2</partition_nr>
<raid_name>/dev/md0</raid_name>
<raid_type>raid</raid_type>
<size>32768M</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">false</format>
<partition_id config:type="integer">253</partition_id>
<partition_nr config:type="integer">3</partition_nr>
<raid_name>/dev/md1</raid_name>
<raid_type>raid</raid_type>
<size>1024M</size>
</partition>
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">false</format>
<partition_id config:type="integer">253</partition_id>
<partition_nr config:type="integer">4</partition_nr>
<raid_name>/dev/md2</raid_name>
<raid_type>raid</raid_type>
<size>max</size>
</partition>
</partitions>
<type config:type="symbol">CT_DISK</type>
<use>all</use>
</drive>
<drive>
<device>/dev/md</device>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<crypt_fs config:type="boolean">false</crypt_fs>
<filesystem config:type="symbol">swap</filesystem>
<format config:type="boolean">true</format>
<fstopt>defaults</fstopt>
<loop_fs config:type="boolean">false</loop_fs>
<mount>swap</mount>
<mountby config:type="symbol">device</mountby>
<partition_id config:type="integer">130</partition_id>
<partition_nr config:type="integer">0</partition_nr>
<resize config:type="boolean">false</resize>
<raid_options>
<chunk_size>4</chunk_size>
<parity_algorithm>left-asymmetric</parity_algorithm>
<raid_type>raid1</raid_type>
</raid_options>
</partition>
<partition>
<create config:type="boolean">true</create>
<crypt_fs config:type="boolean">false</crypt_fs>
<filesystem config:type="symbol">ext4</filesystem>
<format config:type="boolean">true</format>
<fstopt>defaults</fstopt>
<loop_fs config:type="boolean">false</loop_fs>
<mount>/boot</mount>
<mountby config:type="symbol">device</mountby>
<partition_id config:type="integer">131</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<resize config:type="boolean">false</resize>
<raid_options>
<chunk_size>4</chunk_size>
<parity_algorithm>left-asymmetric</parity_algorithm>
<raid_type>raid1</raid_type>
</raid_options>
</partition>
<partition>
<create config:type="boolean">true</create>
<crypt_fs config:type="boolean">false</crypt_fs>
<filesystem config:type="symbol">ext4</filesystem>
<format config:type="boolean">true</format>
<fstopt>defaults</fstopt>
<loop_fs config:type="boolean">false</loop_fs>
<mount>/</mount>
<mountby config:type="symbol">device</mountby>
<partition_id config:type="integer">131</partition_id>
<partition_nr config:type="integer">2</partition_nr>
<resize config:type="boolean">false</resize>
<raid_options>
<chunk_size>4</chunk_size>
<parity_algorithm>left-asymmetric</parity_algorithm>
<raid_type>raid1</raid_type>
</raid_options>
</partition>
</partitions>
<type config:type="symbol">CT_MD</type>
<use>all</use>
</drive>
</partitioning>
<postpartitioning-scripts config:type="list">
<script>
<source>
<![CDATA[
#!/bin/bash
parted -s /dev/sda set 1 bios_grub on
parted -s /dev/sdb set 1 bios_grub on
]]>
</source>
<notification>Please wait while postpartitioning-script is
running...</notification>
</script>
</postpartitioning-scripts>
As I need a fully unattended installation for a SoftwareRAID sceanrio,
I'm hoping for a clean solution or a tip how to avoid bootloader
context error messages, so no user interaction is needed. In fact
other distributions like CentOS 6, Debian 7.0 and Ubuntu 12.04 don't
show this issue, so I think, that this is a bug or limitation, not a
general issue.
Thanks in advance and best regards,
Lukas Puzik
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJSNvQiAAoJEAQWnOsU6N730JsIAKpu16kfoJWbTgmXbWVvKXJ/
Tv6tHVZAyOzV7Kk6C8TjlskZNC0IG5K1PMPcgMThBuMVZoi4k/QszSjFjlfWfgcp
TEFndSKzCmourgB+42eWjnyjnOqL+35RnJwBQ6KFNI4qtW7BY8wwVO0SImTCCop9
qkTit1Sp/MWucP7as2rJ/l+XwIlLhXA6HDrNimdMWdUciuUm5/xnPaild6pg6VNB
FsRo/137cyW/SW8Aqce4HAFk3d7skrT1jaF8T4aePAKt/yw6dV/x7LhcsJJDyyBz
8TGUwxLONkpbsMF4sk2qzhjJdTt/KB8e8nRkIhdMPgZHR73cVdiLZxqXY9oNEYI=
=CnH9
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-autoinstall+owner(a)opensuse.org
2
4