[opensuse-autoinstall] partitioning problem 10.2 and autoinstall
Hallo, what am I doing wrong here? I have a setup with three linux partitions, that should be reused (formatted but not created) on installation. I need to keep AutoYaST from creating his own partitions since I use reborn network cards that do the partitioning themselves, which is a common setup in a school like ours. I followed the documentation and created this partitioning section: -------------------------------------------------------- <partitioning config:type="list"> <drive> <device>/dev/hda</device> <partitions config:type="list"> <partition> <create config:type="boolean">false</create> <format config:type="boolean">true</format> <filesystem config:type="symbol">ext3</filesystem> <mount>/boot</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">1</partition_nr> </partition> <partition> <create config:type="boolean">false</create> <format config:type="boolean">true</format> <filesystem config:type="symbol">ext3</filesystem> <mount>/</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">2</partition_nr> </partition> <partition> <create config:type="boolean">false</create> <format config:type="boolean">true</format> <filesystem config:type="symbol">swap</filesystem> <mount>swap</mount> <partition_id config:type="integer">130</partition_id> <partition_nr config:type="integer">3</partition_nr> </partition> </partitions> </drive> </partitioning> ------------------------------------------------------- With this setup, AutoYaST reuses hda1 as boot as expected but creates a new partition hda4 as root. The partition table ist: ------------------------------------------------------ /dev/hda1 * 1 13 184391 83 Linux /dev/hda2 2883 5432 83 Linux /dev/hda3 5433 5560 83 Linux /dev/hda4 14 2882 83 Linux (this one is created by AutoYaST). ------------------------------------------------------ "fdisk" tells me that the partitions are not in disk order. Has anyone an idea about this? I used this setup for a while already and experimented a lot with different "partitioning" sections but I can't keep AutoYaST from creating his own partition. Any help appreciated. Bye, Frank Frank Schuette, Gymnasium Himmelsthuer, Germany fschuett@gymnasium-himmelsthuer.de -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Friday 19 January 2007 11:23, fschuett wrote:
what am I doing wrong here?
actually nothing. I used your partitiong section and it's working fine.
I have a setup with three linux partitions, that should be reused (formatted but not created) on installation.
no problem here
/dev/hda1 * 1 13 184391 83 Linux /dev/hda2 2883 5432 83 Linux /dev/hda3 5433 5560 83 Linux /dev/hda4 14 2882 83 Linux (this one is created by AutoYaST).
that looks strange. Show your partition table before autoyast changes it please. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug now playing Diary Of Dreams - Chemicals -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Hallo Uwe, thank you for your answer, Am Freitag, 19. Januar 2007 12:16 schrieb Uwe Gansert:
On Friday 19 January 2007 11:23, fschuett wrote:
what am I doing wrong here?
actually nothing. I used your partitiong section and it's working fine.
I have a setup with three linux partitions, that should be reused (formatted but not created) on installation.
no problem here
/dev/hda1 * 1 13 184391 83 Linux ^typing error /dev/hda2 2883 5432 83 Linux /dev/hda3 5433 5560 83 Linux /dev/hda4 14 2882 83 Linux (this one is created by AutoYaST).
that looks strange. Show your partition table before autoyast changes it please.
Here comes the partitioning before installation: /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 2883 5432 20482843+ 83 Linux /dev/hda3 5433 5560 1028128+ 82 Linux swap/Solaris The difference in size for /dev/hda1 is a typing error by me. Bye, Frank -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Monday 22 January 2007 11:41, fschuett wrote:
Here comes the partitioning before installation: /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 2883 5432 20482843+ 83 Linux /dev/hda3 5433 5560 1028128+ 82 Linux swap/Solaris
The difference in size for /dev/hda1 is a typing error by me.
why the gap between hda1 and hda2? Maybe that's the reason because in my test I had no gap configured. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug now playing The Retrosic - The Lucky Ones -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Monday 22 January 2007 11:41, fschuett wrote:
Here comes the partitioning before installation: /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 2883 5432 20482843+ 83 Linux /dev/hda3 5433 5560 1028128+ 82 Linux swap/Solaris
The difference in size for /dev/hda1 is a typing error by me.
why the gap between hda1 and hda2? Maybe that's the reason because in my test I had no gap configured. I use a "reborn card" as network card. This card protects the hd from unwanted changes (very necessary in a school environment). This card comes with a BIOS and does the partitioning itself. I installed two partitions for windows 98 which are hidden, when I boot into Linux. This two partitions are in the gap. So my
Am Montag, 22. Januar 2007 14:18 schrieb Uwe Gansert: partitioning is Linux (hda1) Windows (c:) Windows (d:) Linux (hda2) Linux swap (hda3). Windows needs to be near the beginning of the disk to be bootable. Bye, Frank -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Am Mittwoch, 24. Januar 2007 11:57 schrieb fschuett:
Am Montag, 22. Januar 2007 14:18 schrieb Uwe Gansert:
On Monday 22 January 2007 11:41, fschuett wrote:
Here comes the partitioning before installation: /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 2883 5432 20482843+ 83 Linux /dev/hda3 5433 5560 1028128+ 82 Linux swap/Solaris
The difference in size for /dev/hda1 is a typing error by me.
why the gap between hda1 and hda2? Maybe that's the reason because in my test I had no gap configured.
I use a "reborn card" as network card. This card protects the hd from unwanted changes (very necessary in a school environment). This card comes with a BIOS and does the partitioning itself. I installed two partitions for windows 98 which are hidden, when I boot into Linux. This two partitions are in the gap. So my partitioning is Linux (hda1) Windows (c:) Windows (d:) Linux (hda2) Linux swap (hda3).
Windows needs to be near the beginning of the disk to be bootable.
I did some more testing. If I have a gap somewhere between the partitions or in front of the first partition, my partitioning scheme is not used by AutoYaST. That is a big problem for me because I need to have the Windows partition at the beginning of the disk, otherwise Win 98 is not bootable. I tried the new tag partitioning_advanced, but I found the partitions don't get formatted and the old system (SuSE 10.1) is merged with the new system (10.2). So this is not an alternative. I am really stuck with this. I think AutoYaST is not supposed to act in this way. If you have a patch for me, I could test it on my system, since I use a central repository on my server and could use the patch as "y2update". Thank you for any help. Bye, Frank Schuette fschuett@gymnasium-himmelsthuer.de -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Hallo Frank,
That is a big problem for me because I need to have the Windows partition at the beginning of the disk, otherwise Win 98 is not bootable.
You can use GRUB as a bootloader for all systems and use the "hide" command to enable Windows to boot: http://www.gnu.org/software/grub/manual/grub.html#DOS_002fWindows Dennis -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Am Montag, 29. Januar 2007 11:57 schrieb fschuett:
Am Mittwoch, 24. Januar 2007 11:57 schrieb fschuett:
Am Montag, 22. Januar 2007 14:18 schrieb Uwe Gansert:
On Monday 22 January 2007 11:41, fschuett wrote:
Here comes the partitioning before installation: /dev/hda1 * 1 13 104391 83 Linux /dev/hda2 2883 5432 20482843+ 83 Linux /dev/hda3 5433 5560 1028128+ 82 Linux swap/Solaris
The difference in size for /dev/hda1 is a typing error by me.
why the gap between hda1 and hda2? Maybe that's the reason because in my test I had no gap configured.
I use a "reborn card" as network card. This card protects the hd from unwanted changes (very necessary in a school environment). This card comes with a BIOS and does the partitioning itself. I installed two partitions for windows 98 which are hidden, when I boot into Linux. This two partitions are in the gap. So my partitioning is Linux (hda1) Windows (c:) Windows (d:) Linux (hda2) Linux swap (hda3).
Windows needs to be near the beginning of the disk to be bootable.
I did some more testing. If I have a gap somewhere between the partitions or in front of the first partition, my partitioning scheme is not used by AutoYaST.
That is a big problem for me because I need to have the Windows partition at the beginning of the disk, otherwise Win 98 is not bootable.
I tried the new tag partitioning_advanced, but I found the partitions don't get formatted and the old system (SuSE 10.1) is merged with the new system (10.2). So this is not an alternative.
I am really stuck with this.
I did change the yast source file autopart.ycp to fit my needs, but I could not find out, why yast creates a primary partition 4 and does not use the already existing root partition 2. It's somewhere hidden in the calculation of the gaps, because my boot gap gets the entry "added": [[0,1]], the swap partition gets "added":[[2,3]] but the root partition does _not_ get "added":[[1,2]] as I would expect. Instead it gets "added":[] and this is the reason why it is not considered for the installation. So for my special case I change the "gap" entry and add: "added":[[1,2]], "created_primary":[2] and removed all other gaps. This works for me. -------------------------- I think there is a problem with the gap calculation, which is triggered by my special setup. Should I file a bug report for this? Bye, Frank fschuett@gymnasium-himmelsthuer.de -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Tuesday 06 February 2007 10:23, fschuett wrote:
I think there is a problem with the gap calculation, which is triggered by my special setup.
I think so too. Autoyast does not support that at the moment.
Should I file a bug report for this?
yes please but the fix might take a while because I see that as a really special case. -- ciao, Uwe Gansert Uwe Gansert, Server Technologies Team SUSE LINUX Products GmbH, Maxfeldstrasse 5, D-90409 Nuernberg, Germany Business: http://www.suse.de/~ug now playing NamNamBulu - Faces -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Am Dienstag, 6. Februar 2007 11:08 schrieb Uwe Gansert:
On Tuesday 06 February 2007 10:23, fschuett wrote:
I think there is a problem with the gap calculation, which is triggered by my special setup.
I think so too. Autoyast does not support that at the moment.
Should I file a bug report for this?
yes please but the fix might take a while because I see that as a really special case.
Sure, no problem, since my workaround works for me. Bye, Frank -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
Dennis Conrad
-
fschuett
-
Uwe Gansert