PDA

View Full Version : Disaster prevention.



utu
02-12-2012, 06:26 PM
.
I think there is a need for some built-in protection in Knoppix 6.7
to prevent the ruination of LiveUSBs that have been given a task that
turns out to be catastrophic.

What I have in mind is the bad result which occurs after starting a
download that proves ultimately too large for the LiveUSB to accommodate.
This ultimately fails, but also renders the LiveUSB inoperable without
extensive repairs or re-installation.

Couldn't there be some built-in surveillance to monitor for this
condition and head it off with some timely warning or corrective action?

Training the operator and/or using a larger USB are not solutions of interest.

vkrishn
02-14-2012, 02:30 PM
.
What I have in mind is the bad result which occurs after starting a
download that proves ultimately too large for the LiveUSB to accommodate.
This ultimately fails, but also renders the LiveUSB inoperable without
extensive repairs or re-installation.


Could you be a little more elaborative.
Does this mean that when download is done diretly on disk or on persistent image?

utu
02-14-2012, 04:32 PM
@ vkrishn

For example:
I now have about 400 MB unused on my LiveUSB with persistence.

If I were to initiate a 700 MB download, that would proceed
until the device was 'full' at which time I would get a
warning 'no more room on the device'.

At this point the LiveUSB is corrupted and will not reboot
after shutdown. I think some some protection against this condition
is in order.

The few work-arounds I've tried are all harder than simply
re-installing from a previously arranged clone copy of the LiveUSB.

vkrishn
02-14-2012, 07:20 PM
I guess that means using the space on disk directly and not inside the persistent storage.
The reason I asked, I have few usb installation wanted to be careful.

Did you try installing Knoppix in one partition of the disk and persistent/downloads on another partition, to see if the problem still exists?

utu
02-14-2012, 10:07 PM
Here are two ideas:

1. One could change IceWeasel's Edit>Preferences>General>Downloads
FROM: 'Save files to {/home/knoppix/Downloads}'
TO: 'Always ask always ask me where ...'

2. If there is a 'good' answer to 'where' then one might change the
default to that, instead of 'ask me where'.

Leaving IceWeasel set to its download default is asking for trouble
for those downloading into OS media of relatively limited size.

Werner P. Schulz
02-15-2012, 11:06 AM
At this point the LiveUSB is corrupted and will not reboot
after shutdown.And you cannot reboot with cheatcode "knoppix noimage"? Of course your persistent memory is damaged, but you can use your backup.

utu
02-15-2012, 08:35 PM
Thanks, Werner.

The 'noimage' approach is one means of RECOVERY that I've used.
What I was searching for here is a means of PREVENTION.

What with the cost of USBs coming down, there's not much
justification anymore for 2 Gb installs like I've championed up to now.

My favorite current configuration is a 16 Gb USB with 2 GB partition
and the remainder formatted ext3 with kn-recombine on it.
I can just as well shift downloads to that partition and not run
into the 'disasters' anymore.

Cheers.