autoinstall when using two drives
I am trying to use AutoYast2 to install a system with two hard drives. I am using SLES8. I want to destroy all existing partitions on both drives and then create the following: sda: /boot, /swap, / (using default values) sdb: /data (which takes up the entire second drive) When I add the information to the partition section of the autoinstall.xml file, I get the following error: "Partition '/data' needs 2.00 MB more disk space. Please deselect some packages." Then if I click "OK", it continues with the installation and then returns another error: "Could not format /dev/sdb5" Here is the partition section of my latest autoinstall.xml: <partitioning config:type="list"> <drive> <device>/dev/sda</device> <reuse>all</reuse> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <crypt_fs config:type="boolean">false</crypt_fs> <crypt_key></crypt_key> <filesystem config:type="symbol">ext2</filesystem> <format config:type="boolean">true</format> <mount>/boot</mount> <partition_id config:type="integer">131</partition_id> <size>auto</size> </partition> <partition> <crypt_fs config:type="boolean">false</crypt_fs> <crypt_key></crypt_key> <filesystem config:type="symbol">ext2</filesystem> <format config:type="boolean">true</format> <mount>swap</mount> <partition_id config:type="integer">131</partition_id> <size>auto</size> </partition> <partition> <crypt_fs config:type="boolean">false</crypt_fs> <crypt_key></crypt_key> <filesystem config:type="symbol">ext2</filesystem> <format config:type="boolean">true</format> <mount>/</mount> <partition_id config:type="integer">131</partition_id> <size>auto</size> </partition> </partitions> </drive> <drive> <device>/dev/sdb</device> <reuse>all</reuse> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <crypt_fs config:type="boolean">false</crypt_fs> <crypt_key></crypt_key> <format config:type="boolean">true</format> <mount>/data</mount> <filesystem config:type="symbol">jfs</filesystem> <partition_id config:type="integer">131</partition_id> <size>max</size> </partition> </partitions> </drive> </partitioning> Has anyone else seen this problem or know what I am doing incorrectly? Thanks, Debora
Hi, Debbie Velarde wrote:
I am trying to use AutoYast2 to install a system with two hard drives. I am using SLES8. I want to destroy all existing partitions on both drives and then create the following: sda: /boot, /swap, / (using default values) sdb: /data (which takes up the entire second drive)
When I add the information to the partition section of the autoinstall.xml file, I get the following error: "Partition '/data' needs 2.00 MB more disk space. Please deselect some packages." Then if I click "OK", it continues with the installation and then returns another error: "Could not format /dev/sdb5"
Here is the partition section of my latest autoinstall.xml: <partitioning config:type="list"> <drive> <device>/dev/sda</device> <reuse>all</reuse>
Try <use>all</use> instead. Anas
Hi Anas, Thanks for replying so quickly. I tried replacing both of the <reuse>all</reuse> lines with <use>all</use>. But I am still getting the same error. Any more ideas? On Wed, 9 Jul 2003, Anas Nashif wrote:
Hi,
Debbie Velarde wrote:
I am trying to use AutoYast2 to install a system with two hard drives. I am using SLES8. I want to destroy all existing partitions on both drives and then create the following: sda: /boot, /swap, / (using default values) sdb: /data (which takes up the entire second drive)
When I add the information to the partition section of the autoinstall.xml file, I get the following error: "Partition '/data' needs 2.00 MB more disk space. Please deselect some packages." Then if I click "OK", it continues with the installation and then returns another error: "Could not format /dev/sdb5"
Here is the partition section of my latest autoinstall.xml: <partitioning config:type="list"> <drive> <device>/dev/sda</device> <reuse>all</reuse>
Try <use>all</use> instead.
Anas
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
Hi, Can you please send me the log files from /var/log/YaST2/*. Something else I have just noticed, the size of partitions other than boot on swap cant be given as "auto". So the size of the root partition must be set to "max". But this might not have an effect in your case cause the error is about /data. I have just tried the same configuration you sent, and it works for me, so logs will be appreciated.. Anas Debbie Velarde wrote:
Hi Anas,
Thanks for replying so quickly. I tried replacing both of the <reuse>all</reuse> lines with <use>all</use>. But I am still getting the same error. Any more ideas?
On Wed, 9 Jul 2003, Anas Nashif wrote:
Hi,
Debbie Velarde wrote:
I am trying to use AutoYast2 to install a system with two hard drives. I am using SLES8. I want to destroy all existing partitions on both drives and then create the following: sda: /boot, /swap, / (using default values) sdb: /data (which takes up the entire second drive)
When I add the information to the partition section of the autoinstall.xml file, I get the following error: "Partition '/data' needs 2.00 MB more disk space. Please deselect some packages." Then if I click "OK", it continues with the installation and then returns another error: "Could not format /dev/sdb5"
Here is the partition section of my latest autoinstall.xml: <partitioning config:type="list"> <drive> <device>/dev/sda</device> <reuse>all</reuse>
Try <use>all</use> instead.
Anas
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
Anas, I sent you the log files in a separate email. I just finished changing size of the root partition to "max", instead of "auto". Your guess was correct, it didn't have an effect, I recieved the same error. (The log files I sent you still have "auto" for size of /" Thanks, Debora On Wed, 9 Jul 2003, Anas Nashif wrote:
Hi, Can you please send me the log files from /var/log/YaST2/*.
Something else I have just noticed, the size of partitions other than boot on swap cant be given as "auto". So the size of the root partition must be set to "max". But this might not have an effect in your case cause the error is about /data.
I have just tried the same configuration you sent, and it works for me, so logs will be appreciated..
Anas
Debbie Velarde wrote:
Hi Anas,
Thanks for replying so quickly. I tried replacing both of the <reuse>all</reuse> lines with <use>all</use>. But I am still getting the same error. Any more ideas?
On Wed, 9 Jul 2003, Anas Nashif wrote:
Hi,
Debbie Velarde wrote:
I am trying to use AutoYast2 to install a system with two hard drives. I am using SLES8. I want to destroy all existing partitions on both drives and then create the following: sda: /boot, /swap, / (using default values) sdb: /data (which takes up the entire second drive)
When I add the information to the partition section of the autoinstall.xml file, I get the following error: "Partition '/data' needs 2.00 MB more disk space. Please deselect some packages." Then if I click "OK", it continues with the installation and then returns another error: "Could not format /dev/sdb5"
Here is the partition section of my latest autoinstall.xml: <partitioning config:type="list"> <drive> <device>/dev/sda</device> <reuse>all</reuse>
Try <use>all</use> instead.
Anas
-- To unsubscribe, e-mail: suse-autoinstall-unsubscribe@suse.com For additional commands, e-mail: suse-autoinstall-help@suse.com
participants (2)
-
Anas Nashif
-
Debbie Velarde