Originally Posted by syg00
And do it from a liveCD - the pseudo files-systems (/dev, /proc) should be excluded. If done from a liveCD that is not an issue.
As root ...
I have not had much luck with getting a LiveCD to boot through to a Desktop in recent years, always ending in a Bash prompt. But I downloaded 10.04 and burned it at 1x and got one that will boot.
Working from the Live CD is a slow
process, when the memory is exhausted. So I installed a fresh copy of 10.04 in the area that I was trying to copy the old system to, with lots of space for both the file system partition and the /home partition.
From GParted, I show 60.54 GiB for /dev/sb1, formatted as ext4 and mounted as /.
I show 68.02 GiB for /dev/sb6, formatted as ext4 and mounted as /home.
I show 4.00 GiB for /dev/sb5, linux-swap, downsized from about 20 GiB.
I have 497.3 MiB of memory, from the System Monitor.
I installed XSane and was scanning some letter-size documents at 150 resolution, when I was still running the big swap, and the scanner would take off at normal speed, then apparently hit a wall when I ran out of memory, and would c-r-a-w-l until finished. The displayed document would appear, and I would save it to my home in ~/Files/Scans (I think ~ is short for /home/my-account).
It would start saving and hit a wall, and it, too would c-r-a-w-l. During this time I went into System Monitor, bring up a terminal or a browser and everything was responsive and fast, while XSane was almost stalled.
(Speaking of crawl, I took about 20 hours to install from the LiveCD.)
Without all of the other action going, I would open the System Monitor and advance the nice value for XSane to -15 or -20 to get it through the grind a little faster.
I then edited the resulting image in the Gimp, and had to advance the priority on the Gimp to make it a little more responsive.
During this time, the CPU was doing 100.0% full time, and there was some 300 (less than 400) MiB of memory in solid use. The System Monitor was using between 18 to 24 percent of the CPU and the XSane or the Gimp ( only one running at a time) was 1 to 2 percent and sleeping, and everything else on the list was 0%.
of course, trying to measure system activity is like placing a voltmeter across an electrical circuit - the act of measuring loads the circuit and changes the parameters of what is actually happening. The Monitor is loading down the CPU to some extent.
I ran a
The -f is supposed to resize the swap to fit the kernel as I understand it. I thought that might help with the swap efficiency.
I later ran the GParted, turned off Swap and resized the partition to 4096, rounded to the nearest cylinder. Turned on the swap and then re-ran the swapon -a -f command. Restarted the computer.
I have another interesting issue, being my first time with a Grub 2 boot menu.
I use a USB KVM switch, with a USB keyboard and USB wireless mouse. I have keyboard action on boot, and can enter my BIOS. I have NO access to the Grub menu from the keyboard. Supposed to use arrow keys to navigate up and down the list, but arrow keys do nothing.
I have my old 10.04 installation over here on /dev/sba, with fiklesystem on sba6 and /home on sba7, using the swap on sdb. I was going to add that to the boot menu so I could boot into that if needed for something, but not if I have no keyboard available during the Grub.
A longtime observation: When I am writing something in the text editor, to name one app, it would do an autosave, and I would miss a keystroke, and the system would bark like a dog.
I wrote "The world" and the system did an autosave as I hit the L key, and would bark at me, and I would look up and see "The wod" typed into the document.
I have piled a lot of stuff in here, and the last one probably has more to do with an under-capable computer than anything.
But I wonder, I reserved a bunch of space for the system; is there a way to reserve space for applications so I have (
storage space (app working space)(system working space))
in the filesystem?