<br><br><div><span class="gmail_quote">On 01/08/07, <b class="gmail_sendername">Douglas McClendon</b> <<a href="mailto:dmc.fedora@filteredperception.org">dmc.fedora@filteredperception.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Michel Salim wrote:<br>> On 01/08/07, Douglas McClendon <<a href="mailto:dmc.fedora@filteredperception.org">dmc.fedora@filteredperception.org</a>> wrote:<br>>> Douglas McClendon wrote:<br>>> Also, to answer your question more thoroughly than my first reply-  Yes,
<br>>> after<br>>> the dd, if there is a seperate /usr or other partitions, files are then<br>>> copied<br>>> from / to there.  This is all very related to my turboLiveInst patch which<br>>> I
<br>>> recently posted to livecd-list and anaconda-devel.<br>><br>><br>> Uh. Does it ensure that the root partition is at least 4.0 GB in size, or<br>> will it just try to dd the image regardless? I've had esoteric partitioning
<br>> in the past, with small /, and large /usr and /opt partitions.<br><br><br>That it does.  Though the aforementioned turboLiveInst patch improves upon that,<br>in that the rootfs only really needs to be 2.1G, which is the size of the
<br>uncompressed data that lives in the 4.0G filesystem image.  But as mentioned<br>with that patch, that is still technically deficient for the case of separate<br>/usr, where / needn't really even be 2.1G.  The solution to that is to have an
<br>alternate file level copy installation mechanism, rather than the (fast) block<br>level fsimage copy installation mechanism.  This also fixes the potential<br>problem of reintroducing support for non-ext3 (e.g. xfs) target root filesystems.
<br><br>><br>> I'm surprised I don't remember hearing about this bug before.  I had<br>>> personally<br>>> run into the same warning you saw, but that is just a general warning that<br>>> has
<br>>> nothing to do with the livecd installer case specifically, and the livecd<br>>> installer will stupidly let you just march along with the / fs not<br>>> scheduled for<br>>> formatting, even though it is going to anyway.
<br>><br>><br>> I guess we really need to have different types of updates, where major and<br>> potentially data-loss-causing changes need to be more exhaustively tested.<br>> No one probably bothered testing a live CD install to a non-formatted
<br>> partition before.<br><br>F7 was the _first_ fedora release to have a livecd installer.  And that generic<br>warning about choosing to not format '/', probably steered most people away from<br>doing that.  But I agree, this situation should definitely be a part of some
<br>sort of test matrix.<br><br>><br>> Still waiting for the dd process to finish backing up the partition to an<br>> external drive; will report if anything is salvageable. Wishing I did not<br>> blow away the Windows partition, would have made recovery much easier.
<br>><br>> While we're on the subject of making Anaconda changes, how about putting<br>> /home on a separate partition? The BSDs traditionally do that, I think.<br><br>No doubt you mean by default.  Personally I've long been a fan of the single
<br>large partition (to the extreme of going out of my way to put boot, swap and<br>suspend2 areas on /).  Though these days, I tend to favor the 'upgrades are<br>never worth it', and 'wipegrades are the future'.  So /home makes more sense for
<br>'wipegrades'.  Although with all the version specific cruft that ends up in your<br>homedir (~/.gnome*, blabla) I tend to have a subdirectory under home, and when I<br>wipegrade, I only keep the subdir.  If I have any ~/.* files that are important
<br>enough, I keep a copy in the subdir, and a script to easily replace them after<br>wipegrade (and gconftool2 to reintroduce all my desktop prefs).  Just my<br>strategy, ymmv.</blockquote><div><br>That's my strategy. Well, wipe the dots (apart from .gaim and a few others) and keep Documents, Music, Pictures, etc. It gets a bit messy because there are things in .gnome2 you definitely don't want to wipe too (epiphany puts its bookmarks there if I'm not mistaken, and there's also Rhythmbox). Writing a small script that chattr +i the important directories under the hidden dirs and then wipe the remainders would do the trick in a more systematic way, I suppose.
<br><br>I guess the partition split does not even have to be / and /home, it just has to be something that logically maps to RPM-managed vs non-RPM-managed. So users that need persistent home directories (local users, basically) should have home dirs in /local/home/ or something.
<br></div></div><br>Anyway, hard lesson learned. I wonder how Ubuntu does their live CD install. openSUSE is introducing one too, hopefully for their users the same bug does not occur.<br><br>-- <br>Michel<br>