bug 150670. How to default partition.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All:
Found that this issue was not resolved yet for fc7. Personally I would leave the default as it is (100MB->/boot,XXXMB->swap and the resto for /) but the bug discussion does have some details that should be avoided (The issue with the newbie realizing that it would be better to separate the home and OS way after he has finished the installation.) To suggest a solution I would do something like (100MB->boot--- XXXMB->swap---10GB->/ --- the rest for /home :) but thats just me.... I tested it in kickstart and gui installs, everything seems to be fine. So I think its sensible to close the bugs.
The diff:

diff -ubB anaconda-11.2.0.40/installclass.py anaconda-11.2.0.40-JG/installclass.py
--- anaconda-11.2.0.40/installclass.py  2007-03-08 23:03:32.000000000 +0100
+++ anaconda-11.2.0.40-JG/installclass.py 2007-03-28 17:16:53.000000000 +0200
@@ -421,7 +421,7 @@

def setDefaultPartitioning(self, partitions, clear = CLEARPART_TYPE_LINUX,
                               doClear = 1, useLVM = True):
-        autorequests = [ ("/", None, 1024, None, 1, 1, 1) ]
+        autorequests = [ ("/", None, 1024, 10240, 1, 1, 1) ]

        bootreq = getAutopartitionBoot()
        if bootreq:
@@ -429,6 +429,7 @@

        (minswap, maxswap) = iutil.swapSuggestion()
        autorequests.append((None, "swap", minswap, maxswap, 1, 1, 1))
+        autorequests.append(("/home", None, 1024, None,1,1,1 ))

        if doClear:
            partitions.autoClearPartType = clear


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux