G
glee
BillW50 said:In
Oh compiling the source code is very relevant! As here is were you can
choose to have the live distro use the Windows swapfile or not if
found.
Once it is compiled, it is too late to change it.
I just posted all of the details to Philo in this very subthread just
yesterday. In fact, a few minutes before my post to you which you just
replied too. I think the key is having US Robotics iband installed
(it's
free). Without it, I probably would have never known Ubuntu Live was
messing around in the Windows partition.
Paul also mentioned back in March of 2011, that he had caught the Live
distros poking around where they shouldn't be as well. Here is the
repost below.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: Paul <[email protected]>
Newsgroups: microsoft.public.windowsxp.general
Subject: Re: Windows not load
Date: Thu, 24 Mar 2011 21:48:02 -0400
I can't report I've had a similar experience.
But my systems have nothing but hard drives.
The only practice I don't approve on, from the Linux community, is
"scanning" of drives as part of the startup sequence. Some LiveCD
distros, are known to "search" for a copy of the image you're booting
from. Presumably the purpose, is to do a loopback mount of the image,
as a replacement for accessing the CD itself. But I still don't
approve of monkey-business. A LiveCD should just mind its own
business.
If you have a "toasted install", it sure would be nice to tell us what
got toasted, so we can judge the mechanism.
The older releases of Knoppix (5 series), used to bring up foreign
file systems read-only, as a precaution. (You had to tick something
in a dialog to go read/write.) But newer releases enable read/write
(presumably because the NTFS driver is now more trusted than it used
to
be).
And yes, I have seen re-use of the page file. The Kaspersky scanner,
which is based on Gentoo, seems to like to use the Windows pagefile
for swap. The easiest way to tell this, is to use the "top" command,
and see how much swap is evident in the display. Then, correlate that
with the size of pagefiles on your various partitions. It's not really
a big deal, but also not the best practice I can think of.
I've worked with plenty of older LiveCDs, where they don't provide
swap
automatically
(because there may be no place to put it), and if the OS is then put
under
memory pressure, the OS will crash. (It seems at least a few LiveCDs,
have had poor tuning of a couple of kernel parameters. I've noticed
that improved on some of them, so somebody figured it out.) If you're
using one of the older LiveCDs, then either do your own "swapon", or
at
least watch with vmstat, how full you're getting.
We've been through this all before, and I really don't want to waste a
lot of time re-hashing it. What you describe happened on your system
when using an Ubuntu Live CD does not indicate anything about it having
used the Windows swap file. Your Windows system froze according to your
earlier post, when you booted back to Windows after using the Ubuntu
Live CD, with a Windows Installer box on-screen.... clearly indicating
that the issue was with a faulty Windows installation, possibly the
iBand monitor you had installed.
User-compiling of the source code has nothing to do with using a Live CD
with the default settings. If you compiled the distro yourself before
making a Live CD, then you were not using the standard Live CD. With a
standard Live CD, it will operate from RAM and the CD only, unless you
use specific parameters to tell it otherwise. Specific Live CDs for
forensic use may have modifications for the utility that is using the CD
for a specific purpose, and any Live CD can be run with user-defined
parameters that could allow use of the hard drive for some operations,
but that is not the default for a standard Live CD.... you have to allow
it quite specifically.
Your related snippet from Paul does not back up your statement either.
Paul's only comment that is at all relevant to your claim is about the
Kaspersky CD, which again is NOT a standard Linux Live CD, it's a
modified version specialized for Kaspersky malware scanning and removal.
On top of that, Paul's explanation does not show that the Kaspersky
rescue CD was actually using the Windows page file at all, only that
there was a similarity in sizes between Kaspersky's "swap" and the
Windows page file that was already in existence on the hard drive. The
fact is, the Windows page file and the Linux swap file are OS-specific,
and Linux cannot use the OS-specific page file in Windows.
You of course can believe whatever you like, but you really don't have
any evidence backing it up. We'll have to agree to disagree.
Is my Ubuntu 10.4.2 LTS LiveCD using my hard drive for a swap file?
http://ubuntuforums.org/showthread.php?t=1788136