https://bugzilla.novell.com/show_bug.cgi?id=249380#c24
--- Comment #24 from Stanislav Brabec 2007-10-02 04:37:53 MST ---
It is quite convenient to do a "safe upgrade" as a new installation to the
dedicated partition and keeping the old SuSE instance as the default until all
tests and customizations of the new one are complete.
There are already YaST modules for searching the best-fit old instance to read
old ssh keys, old /etc/hosts.
It would be very nice, if it would be able to read /etc/fstab as well. I know,
that is is not so simple as it sounds, because device might have a different
name, one must guess which OS instance is the oldest. (It will also require NFS
client configuration behavior change.)
Here are few ideas to improve user experience:
1) Ask user, what should be removed:
If partitioning scheme conforms OpenSUSE needs, then maybe a following question
would be good:
There is no free or empty partition nor reserved space on your system. Please
choose what to do:
(selected) Overwrite partition with label "SuSE Linux 10.0"
Overwrite partition with SuSE Linux 10.1
Overwrite partition with OpenSUSE 10.2
Overwrite partition with label "Home"
Overwrite partition with label "Swap"
If it does not conform, suggest possible ways to solve:
Your disc partitioning does not conform OpenSUSE 11.0 needs:
- No system partition has enough size
- Swap recommended for your RAM size is too small
..
Please choose what to do:
Backup the whole disc and repartition from scratch
Format previous "Home" as / (Home Warning)
Format previous "SuSE_Linux_10.1" as swap
Implementing this calls back a comment from the previous discussion: Resetting
the label when formatting to a really descriptive one (e. g. "OpenSUSE_11.0"
for /, "OpenSUSE_11.0_usr" for /usr, "OpenSUSE_11.0_var" for /var, "Swap" for
swap, "Home" for /home etc.)
2) Home Warning
A special home warning for formatting of partitions with non empty /home
directory and partitions with "Home" string in the name (optionally translated,
depends on future default names proposal):
It seems that you are overwriting non-empty home directory! Please confirm
deleting of these user data.
3) Safe delete
There is a chance for a "safe formatting" as an addition to Format/Not format:
long fsck and rm -rf of everything except selected directories (e. g. /home).
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.