Re: [opensuse-factory] Partitioning based on type of installation
Lukas Ocilka napsal(a):
Jan Matějek wrote:
Stanislav Visnovsky napsal(a): | Dňa Tuesday 03 June 2008 17:50:42 Jan Mate(jek ste napísal: |> Partitioner should also be more clever with handling "empty" partitions, |> ~ i.e. existing partitions which contain nothing (or "lost+found", |> "recycled", "system volume information", ".Trash" and friends), and |> primarily offer to wipe and format those. And if there is an existing |> partitioning scheme, it better not touch it, unless it has a good reason |> to. | | This assumes you can mount the partitions. But this is not always the case, as | even mounting might mean modifying a partition. Now imagine you cannot mount | a partition (because it's broken). In the worst case, you might hit a kernel | bug and end up with kernel panic. | | I think safety goes first in this scenario and the installer should not mess | with partitions until user asks him to do (IRIC if you select 'Update', the | installer mounts the disks looking for older releases)
I understand the concern about mounting, but that is a problem solvable in implementation - doesn't e.g. parted somehow determine available space on partition without mounting it?
All Linux partitions are mounted because we need to exactly know which system is installed on those partitions. That's a piece of information that parted cannot provide.
And anyway. In the current state, the partitioner _by default_ proposes a reworked partitioning scheme, with little regard to the existing one. Which is safer for the installer, but actually more dangerous for the average Next-clicker.
Not at all. We are talking about update. Update doesn't propose any partition changes (which is safe). New installation does, but sometimes it proposes to reuse already created ones (which is the best way).
Really? I thought that we are talking about new installation here, that's what i'm talking about anyway ;e) And my point is that in many cases the partitioner proposes to change the partitioning scheme, and more often than not offers to wipe the partitions that are in use and ignore those that are empty. m.
L.
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Jan Matějek wrote:
Lukas Ocilka napsal(a): ...
Not at all. We are talking about update. Update doesn't propose any partition changes (which is safe). New installation does, but sometimes it proposes to reuse already created ones (which is the best way).
Really? I thought that we are talking about new installation here, that's what i'm talking about anyway ;e)
No, the thread is about both 'new installation' and 'upgrade'. It's about: Why we should not do all that stuff at once (which would be requested by the proposed dialog). L.
Lukas Ocilka schreef:
Jan Matějek wrote:
Lukas Ocilka napsal(a): ...
Not at all. We are talking about update. Update doesn't propose any partition changes (which is safe). New installation does, but sometimes it proposes to reuse already created ones (which is the best way).
Really? I thought that we are talking about new installation here, that's what i'm talking about anyway ;e)
No, the thread is about both 'new installation' and 'upgrade'. It's about: Why we should not do all that stuff at once (which would be requested by the proposed dialog).
L.
Hi guys;) I am very glad this issue is at hand to be solved in the near future, (i hope!). The proposels made here, someway have to combined to have it all; it seems. Please don't cut someone's proposels off with a blunt blade ;), it is realy nessesary to make the *right* changes here, we all know that? What is reality? Fresh install: 1)Dual with MS, 2)Dual with (several) MS & all kinda Linux-OS, 3)Single, and 4)update. As long as no real decision is made, the partiontables are not altered, but: Real partition-info is needed, to decide which one(s) is/are going to be used. fi. /swap can be used by all linux-os, a /tmp can be used by all linux-os, /boot, if big enough, can be used by all linux-os, (however there are voices that say that it would be better to have a seperate bootloader partition, and have the initrd and kernels in the / of the particular os, with the bootloader pointing at them, instead of in a seperate /boot partiton, which would solve the bootproblems we sometimes have), /home can be used by many, if not all linux-os, if one is not too picky about scriptbugs that reside in the users config... ;) I hope i am not distracting you from 'the' issue, but show you some use of disk can exist.. which would be nice to have visible, to make it easier to make the right decision, as some of us regularly express, when this issue is up again. Proposels to wipe out the wrong partition(s) just isnt nice. So importing a partiontable (fi.from the most recent install) without altering it would not be so bad? As i understand, the way the proposels are made, can depend on the choice a user makes in the examples given by Marc and Lucas: Installation type ( ) Install additionally to existing operating systems (without touching them) ( ) Modify [ComboBox with already installed Linux Versions on the machine] ( ) Install over the selected operating system (this will delete the selected operating system) ( ) Update selected Linux ( ) Repair selected Linux ( ) Set up a machine with one single operating system (this will delete all installed operating systems) and: * New installation * Disk is blank (use the whole disk?) (make a proposal/partition manually?) * Some other systems are already installed (leave them all/remove them/remove some?) * Enough space for new installation (make a proposal/partition manually?) * Disk is full (make a proposal/resize manually/resize what?) * Upgrade (which system?) Is it possible, to somehow merge these examples? -- Enjoy your time around, Oddball (Now or never...) Besturingssysteem: Linux 2.6.25.4-8-default x86_64 Current user: oddball@AMD64x2-sfn1 System: openSUSE 11.0 (x86_64) KDE: 4.0.4 (KDE 4.0.4 >= 20080505) "release 21.1" --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Oddball wrote:
Lukas Ocilka schreef: ... and:
* New installation
* Disk is blank
(use the whole disk?)
(make a proposal/partition manually?)
* Some other systems are already installed
(leave them all/remove them/remove some?)
* Enough space for new installation
(make a proposal/partition manually?)
* Disk is full
(make a proposal/resize manually/resize what?)
* Upgrade
(which system?)
Is it possible, to somehow merge these examples?
Definitely ... for instance by a Wizard-like dialogs. It's not possible to have one-big-superb dialog that would fit all needs and that would be *additionally* understandable for the first sight. Example with several systems installed: --- Step One --- Installation program has found these systems on your hard disk(s): * System AAA * System BBB Would you like to ( ) Upgrade system [ System AAA v ] ( ) Install openSUSE over [ System AAA v ] (x) Shrink some disk partitions to install openSUSE ---------------- --- Step Two --- You have selected option to shrink some partitions to make enough space for new openSUSE installation. Select partition(s) you would like to shrink: +------+--------------+----------------+------------+------------+ | Sel. | Partition | Used by system | Total size | Free space | +------+--------------+----------------+------------+------------+ | [ ] | /dev/? | System AAA | 20.1 GB | 5.2 GB | | [x] | /dev/? | System BBB | 115.3 GB | 26.8 GB | | [ ] | ... | ... | ... | ... | +------+--------------+----------------+------------+------------+ ---------------- Additionally, some people might also want partitioner to propose which partition should be shrunk ... BTW: there is no such YCP widget that would allow check-box in column in table :) ;) But we are just thinking about possible solutions in general, aren't we? Bye Lukas
Lukas Ocilka schreef:
Oddball wrote:
Is it possible, to somehow merge these examples?
Definitely ... for instance by a Wizard-like dialogs.
It's not possible to have one-big-superb dialog that would fit all needs and that would be *additionally* understandable for the first sight. No it would not, these things allways need *extra* attention...
Example with several systems installed:
--- Step One ---
Installation program has found these systems on your hard disk(s):
* System AAA * System BBB
Would you like to
( ) Upgrade system [ System AAA v ] ( ) Install openSUSE over [ System AAA v ] (x) Shrink some disk partitions to install openSUSE
----------------
--- Step Two ---
You have selected option to shrink some partitions to make enough space for new openSUSE installation.
Select partition(s) you would like to shrink:
+------+--------------+----------------+------------+------------+ | Sel. | Partition | Used by system | Total size | Free space | +------+--------------+----------------+------------+------------+ | [ ] | /dev/? | System AAA | 20.1 GB | 5.2 GB | | [x] | /dev/? | System BBB | 115.3 GB | 26.8 GB | | [ ] | ... | ... | ... | ... | +------+--------------+----------------+------------+------------+
----------------
looks sane enough.. ;)
Additionally, some people might also want partitioner to propose which partition should be shrunk ...
BTW: there is no such YCP widget that would allow check-box in column in table :) ;) But we are just thinking about possible solutions in general, aren't we?
Bye Lukas
About solutions, yes. Personaly i would not think about letting the partitioner choose for me which partition should be shrunk, as i already had in mind where to put the newly install. What i see in your example is that the partitioner not only *knows* which os are on the drives, but also demonstrates that, by calling them by their name, now that is nice! -- Enjoy your time around, Oddball (Now or never...) Besturingssysteem: Linux 2.6.25.4-8-default x86_64 Current user: oddball@AMD64x2-sfn1 System: openSUSE 11.0 (x86_64) KDE: 4.0.4 (KDE 4.0.4 >= 20080505) "release 21.1" --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (3)
-
Jan Matějek
-
Lukas Ocilka
-
Oddball