partitioning problem
Hello, I try to auto-install 9.2 and leave my first (windows) partition untouched. How can I do that? When autoyast is partitioning my disk, it deletes the extended partition no. 2 (ok). Then it tries to create first linux partition at start cylinder 0 but there is my windows partition. It should start after end of first partition: device size F type mountpoint start end /dev/hda 37.2GB 0 4864 /dev/hda1 9.9GB NTFS 0 1303 /dev/hda2 39.2MB F ext3 /boot 0 4 /dev/hda3 1GB F swap swap 5 135 ... What I'm doing wrong? Here's the partition part of my autoinst.xml: <partitioning config:type="list"> <drive> <device>/dev/hda</device> <initialize config:type="boolean">false</initialize> <partitions config:type="list"> <partition> <create config:type="boolean">false</create> <format config:type="boolean">false</format> <partition_nr config:type="integer">1</partition_nr> <size>10g</size> </partition> <partition> <crypt>twofish256</crypt> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>/boot</mount> <partition_id config:type="integer">131</partition_id> <partition_type>primary</partition_type> <size>32m</size> </partition> <partition> <crypt>twofish256</crypt> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>swap</mount> <partition_id config:type="integer">130</partition_id> <partition_type>primary</partition_type> <size>1g</size> </partition> <partition> <crypt>twofish256</crypt> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>/</mount> <partition_id config:type="integer">131</partition_id> <size>12g</size> </partition> <partition> <crypt>twofish256</crypt> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <loop_fs config:type="boolean">false</loop_fs> <mount>/save</mount> <partition_id config:type="integer">131</partition_id> <size>max</size> </partition> </partitions> <use>2</use> </drive> </partitioning> -- best regards Sven Geipel
On Wednesday 07 September 2005 15:00, Sven Geipel wrote:
I try to auto-install 9.2 and leave my first (windows) partition untouched. How can I do that?
I'm not sure about autoyast on 9.2
When autoyast is partitioning my disk, it deletes the extended partition no. 2 (ok).
partition nr. 2 is not an extended partition on what you show us next:
device size F type mountpoint start end /dev/hda 37.2GB 0 4864 /dev/hda1 9.9GB NTFS 0 1303 /dev/hda2 39.2MB F ext3 /boot 0 4 /dev/hda3 1GB F swap swap 5 135 ...
What I'm doing wrong?
just a guess (I would have to setup a 9.2 test system for a real test)
<use>2</use>
If 2 is your extended partition you want to erase, try to add the logic ones too. So try <use>2,5,6,7...</use> -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
Hi, Uwe Gansert schrieb, Am 08.09.2005 18:10:
On Wednesday 07 September 2005 15:00, Sven Geipel wrote:
I try to auto-install 9.2 and leave my first (windows) partition untouched. How can I do that?
I have to clarify this a little bit more. What I do is: - partition the disk with 10GB primary and remain space as extended partition withoul logical ones - then install Windows unattended on primary partition What I want to do is now - autoinstall linux with reusing extended partition and create primary, extended and logical partitions instead I tried to use settings "use free space" and "reuse only specified partition" when I created autoinst.xml with autoyast. With first option, autoyast tries to create all linux partitions _after_ extended partition instead of using it. And with second option, autoyast deletes partition 2 and tries to create linux partitions at _beginning of disk_, where my windows partition lives. (partition sheme below)
When autoyast is partitioning my disk, it deletes the extended partition no. 2 (ok).
partition nr. 2 is not an extended partition on what you show us next:
device size F type mountpoint start end /dev/hda 37.2GB 0 4864 /dev/hda1 9.9GB NTFS 0 1303 /dev/hda2 39.2MB F ext3 /boot 0 4 /dev/hda3 1GB F swap swap 5 135 ...
What I'm doing wrong?
just a guess (I would have to setup a 9.2 test system for a real test)
<use>2</use>
If 2 is your extended partition you want to erase, try to add the logic ones too. So try <use>2,5,6,7...</use>
Yesterday I found a way by creating all partitions with windows unattended script and then use <create config:type="boolean">false</create> and <format config:type="boolean">true</format> in autoinst.xml. This works, but if I want to change partition sheme I have to do it on two positions. BTW: how can I define, that linux should not mount existing windows partition? It tried to mount as /Windows/C and after I removed mount point in autoinst.xml it tried to mount to /data1. -- best regards Sven Geipel
On Friday 09 September 2005 08:15, Sven Geipel wrote:
What I do is:
- partition the disk with 10GB primary and remain space as extended partition withoul logical ones - then install Windows unattended on primary partition
why do you create an extended partition? I would suggest you to just create the primary, install windows and do a <use>free</use> in the autoyast profile. The unused space on the disk will be used then.
BTW: how can I define, that linux should not mount existing windows partition? It tried to mount as /Windows/C and after I removed mount point in autoinst.xml it tried to mount to /data1.
don't configure the <partition>...</partition> part of the windows partition in the profile. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany e-mail: uwe.gansert@suse.de, Tel: +49-(0)911-74053-0, Fax: +49-(0)911-74053-476, Web: http://www.suse.de
Hi, Uwe Gansert schrieb, Am 09.09.2005 16:18:
On Friday 09 September 2005 08:15, Sven Geipel wrote:
What I do is:
- partition the disk with 10GB primary and remain space as extended partition withoul logical ones - then install Windows unattended on primary partition
why do you create an extended partition? I would suggest you to just create the primary, install windows and do a <use>free</use> in the autoyast profile. The unused space on the disk will be used then.
Thanks for your answer. I need a partition after first windows partition as size boundary else unattended win installation expands first partition until end of disk. After testing a while I found two solutions: yours, if I delete extended partition after windows is installed. Or if I use a primary linux partition instead of extended then autoinst works fine too.
BTW: how can I define, that linux should not mount existing windows partition? It tried to mount as /Windows/C and after I removed mount point in autoinst.xml it tried to mount to /data1.
don't configure the <partition>...</partition> part of the windows partition in the profile.
No, unfortunately this doesn't work. Autoyast then mounts this partition as /Windows/C, but I don't want any mountpoint for this... -- best regards Sven Geipel
participants (2)
-
Sven Geipel
-
Uwe Gansert