Mailinglist Archive: opensuse-autoinstall (99 mails)
| < Previous | Next > |
[opensuse-autoinstall] SLES 9, Autoyast, and LVM
- From: "Jonathan Buys" <buysjon@xxxxxxxxx>
- Date: Sun, 20 May 2007 11:50:26 -0500
- Message-id: <b3cb10ed0705200950s4ba81548k25744fcd082c080b@xxxxxxxxxxxxxx>
Hello All,
This is my first post, so if I'm doing something wrong, please let me know.
I've got a problem with my setup somewhere and I'm not sure where the
problem is. I have autoyast set up to install SLES 9 on LVM. The
partition table (should) look like this:
/boot - Real partition
swap - Real partition
system - name of the volume group
/ - lv
/opt - lv
/usr - lv
/var - lv
/home - lv
all of the logical volumes are in the system volume group. Autoyast
installs everything correctly, and seems happy enough, but on reboot
the mapper is unable to find the system volume group, leading to a
kernel panic.
I'm sure this is a quick fix somewhere, can anyone tell me what I'm doing wrong?
Any help is greatly appreciated.
Thanks in advance,
Jon
PS. here's my autoinst.xml:
<?xml version="1.0"?>
<!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd">
<profile xmlns="http://www.suse.com/1.0/yast2ns"
xmlns:config="http://www.suse.com/1.0/configns">
<configure>
<networking>
<dns>
<dhcp_hostname config:type="boolean">false</dhcp_hostname>
<dhcp_resolv config:type="boolean">false</dhcp_resolv>
</dns>
<interfaces config:type="list">
<interface>
<bootproto>dhcp</bootproto>
<device>eth0</device>
<startmode>onboot</startmode>
</interface>
</interfaces>
<modules config:type="list">
<module_entry>
<device>static-0</device>
<module></module>
<options></options>
</module_entry>
</modules>
<routing>
<ip_forward config:type="boolean">false</ip_forward>
</routing>
</networking>
</configure>
<install>
<bootloader>
<loader_type>grub</loader_type>
</bootloader>
<general>
<clock>
<hwclock>localtime</hwclock>
<timezone>US/Central</timezone>
</clock>
<keyboard>
<keymap>english-us</keymap>
</keyboard>
<language>en_US</language>
<mode>
<confirm config:type="boolean">false</confirm>
<forceboot config:type="boolean">false</forceboot>
</mode>
<mouse>
<id>none</id>
</mouse>
</general>
<partitioning config:type="list">
<drive>
<device>/dev/sda</device>
<partitions config:type="list">
<partition>
<partition_type>primary</partition_type>
<size>200mb</size>
<filesystem config:type="symbol">reiser</filesystem>
<partition_nr config:type="integer">1</partition_nr>
<mount>/boot</mount>
</partition>
<partition>
<crypt>twofish256</crypt>
<format config:type="boolean">false</format>
<loop_fs config:type="boolean">false</loop_fs>
<partition_id config:type="integer">130</partition_id>
<size>2GB</size>
</partition>
<partition>
<lvm_group>system</lvm_group>
<partition_type>primary</partition_type>
<size>max</size>
</partition>
</partitions>
<use>all</use>
</drive>
<drive>
<device>/dev/system</device>
<initialize config:type="boolean">true</initialize>
<is_lvm_vg config:type="boolean">true</is_lvm_vg>
<partitions config:type="list">
<partition>
<filesystem config:type="symbol">reiser</filesystem>
<lv_name>root_lv</lv_name>
<mount>/</mount>
<size>1G</size>
</partition>
<partition>
<filesystem config:type="symbol">reiser</filesystem>
<lv_name>user_lv</lv_name>
<mount>/usr</mount>
<size>1G</size>
</partition>
<partition>
<filesystem config:type="symbol">reiser</filesystem>
<lv_name>opt_lv</lv_name>
<mount>/opt</mount>
<size>1GB</size>
</partition>
<partition>
<filesystem config:type="symbol">reiser</filesystem>
<lv_name>var_lv</lv_name>
<mount>/var</mount>
<size>1GB</size>
</partition>
<partition>
<filesystem config:type="symbol">reiser</filesystem>
<lv_name>home_lv</lv_name>
<mount>/home</mount>
<size>1GB</size>
</partition>
</partitions>
<pesize>4M</pesize>
<use>all</use>
</drive>
</partitioning>
<software>
<addons config:type="list">
<addon>Base-System</addon>
<addon>YaST2</addon>
</addons>
<base>Minimal</base>
</software>
</install>
</profile>
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
This is my first post, so if I'm doing something wrong, please let me know.
I've got a problem with my setup somewhere and I'm not sure where the
problem is. I have autoyast set up to install SLES 9 on LVM. The
partition table (should) look like this:
/boot - Real partition
swap - Real partition
system - name of the volume group
/ - lv
/opt - lv
/usr - lv
/var - lv
/home - lv
all of the logical volumes are in the system volume group. Autoyast
installs everything correctly, and seems happy enough, but on reboot
the mapper is unable to find the system volume group, leading to a
kernel panic.
I'm sure this is a quick fix somewhere, can anyone tell me what I'm doing wrong?
Any help is greatly appreciated.
Thanks in advance,
Jon
PS. here's my autoinst.xml:
<?xml version="1.0"?>
<!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd">
<profile xmlns="http://www.suse.com/1.0/yast2ns"
xmlns:config="http://www.suse.com/1.0/configns">
<configure>
<networking>
<dns>
<dhcp_hostname config:type="boolean">false</dhcp_hostname>
<dhcp_resolv config:type="boolean">false</dhcp_resolv>
</dns>
<interfaces config:type="list">
<interface>
<bootproto>dhcp</bootproto>
<device>eth0</device>
<startmode>onboot</startmode>
</interface>
</interfaces>
<modules config:type="list">
<module_entry>
<device>static-0</device>
<module></module>
<options></options>
</module_entry>
</modules>
<routing>
<ip_forward config:type="boolean">false</ip_forward>
</routing>
</networking>
</configure>
<install>
<bootloader>
<loader_type>grub</loader_type>
</bootloader>
<general>
<clock>
<hwclock>localtime</hwclock>
<timezone>US/Central</timezone>
</clock>
<keyboard>
<keymap>english-us</keymap>
</keyboard>
<language>en_US</language>
<mode>
<confirm config:type="boolean">false</confirm>
<forceboot config:type="boolean">false</forceboot>
</mode>
<mouse>
<id>none</id>
</mouse>
</general>
<partitioning config:type="list">
<drive>
<device>/dev/sda</device>
<partitions config:type="list">
<partition>
<partition_type>primary</partition_type>
<size>200mb</size>
<filesystem config:type="symbol">reiser</filesystem>
<partition_nr config:type="integer">1</partition_nr>
<mount>/boot</mount>
</partition>
<partition>
<crypt>twofish256</crypt>
<format config:type="boolean">false</format>
<loop_fs config:type="boolean">false</loop_fs>
<partition_id config:type="integer">130</partition_id>
<size>2GB</size>
</partition>
<partition>
<lvm_group>system</lvm_group>
<partition_type>primary</partition_type>
<size>max</size>
</partition>
</partitions>
<use>all</use>
</drive>
<drive>
<device>/dev/system</device>
<initialize config:type="boolean">true</initialize>
<is_lvm_vg config:type="boolean">true</is_lvm_vg>
<partitions config:type="list">
<partition>
<filesystem config:type="symbol">reiser</filesystem>
<lv_name>root_lv</lv_name>
<mount>/</mount>
<size>1G</size>
</partition>
<partition>
<filesystem config:type="symbol">reiser</filesystem>
<lv_name>user_lv</lv_name>
<mount>/usr</mount>
<size>1G</size>
</partition>
<partition>
<filesystem config:type="symbol">reiser</filesystem>
<lv_name>opt_lv</lv_name>
<mount>/opt</mount>
<size>1GB</size>
</partition>
<partition>
<filesystem config:type="symbol">reiser</filesystem>
<lv_name>var_lv</lv_name>
<mount>/var</mount>
<size>1GB</size>
</partition>
<partition>
<filesystem config:type="symbol">reiser</filesystem>
<lv_name>home_lv</lv_name>
<mount>/home</mount>
<size>1GB</size>
</partition>
</partitions>
<pesize>4M</pesize>
<use>all</use>
</drive>
</partitioning>
<software>
<addons config:type="list">
<addon>Base-System</addon>
<addon>YaST2</addon>
</addons>
<base>Minimal</base>
</software>
</install>
</profile>
--
To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |