persistent store creation freezes at 96%
hello:
i am having difficulty creating a persistent store using knoppix 3.8.1. with either a 7gb fat partion (which is seen by knoppix) or a usb pen flash drive the issue is consistent. when i attempt to create the store i-
* choose not to use encryption (although i have tried this and the result is consistent)
* choose a store size (which i have tried either all available or less than the total available)
knoppix then begins the store creation process but freezes @96%. it never completes the store creation and the window must be closed manually. the store does not function properly after that.
i have tried this process with serveral disc instances of knoppix 3.8.1 and believe it is not related to media/iso issues.
any help that anyone can provide would be greatly appreciated.
thanks in advance,
js
Re: persistent store creation freezes at 96%
That's odd. I've created a persistent home folder (a mis-nomer, BTW) several times. Works great. So, given that it can work, how exactly are you creating your persisent home folder? Have you tried creating it using the CLI program "knoppix-mkimage" from within either a virtual terminal or an xterm? Could it be that you are running out of disk space, that is, you don't have enough room to store your image or that your image size is too small for the number of files you are storing? Do you see any error messages on your first virtual terminal or in your logs (/var/log/syslog) or dmesg? What kind of system are you on: cpu, ram, disk space?
Just throwing out some thoughts.
Regards,
- Robert
RE: persistent store creation freezes at 96%
Quote:
Originally Posted by jaschoon
robert:
it is a pretty strong box. dual athlon 1900+, 768mb memory. i allocated 7gb fat (i have tried ntfs, too) to the persistent store (in the case of the hard drive) and the maximum (64mb) in the case of the pen drive.
Let's start simple and quick by creating a small (2 MB) knoppix.img file on the vfat partition (I'll assume /dev/hda1) like so:
Code:
boot: knoppix dma 1
knoppix-mkimage
click "yes" for "Do you want to create a persistent home directory ..."
press the space key to select /dev/hda1
click "no" for encryption.
enter "2" for the number of MB
click "OK" when finished
mount /mnt/hda1
ls -la --si /mnt/hda1/knoppix.img
In the end, you should see a 2.1 MB file named knoppix.img. Does the above work for you?
BTW, in order for the knoppix-mkimage script to work, /dev/hda1 must be listed in your /etc/fstab.
If you want to do further debugging, subsitute this commad for the knoppix-mkimage above:
Code:
( set -x ; knoppix-mkimage 2> img.log.txt )
This will "turn on debugging" so that you can view the log file with 'less img.log.txt'.
Regards,
- Robert
http://www.cwelug.org/~rwcitek
Re: PDI issue -> USB issue?
Quote:
Originally Posted by rwcitek
Can someone stick in a USB stick and try a simple write test?
Had a spare moment to fire up Knoppix and test the USB write performance:
Code:
root@2[uba1]# rw.test () { dd if=/dev/zero of=rw.test.$$ bs=1k count=$1 ; sync ; }
root@2[uba1]# sync ; time -p rw.test 10
10+0 records in
10+0 records out
10240 bytes transferred in 0.000254 seconds (40302038 bytes/sec)
real 0.65
user 0.00
sys 0.00
root@2[uba1]# sync ; time -p rw.test 100
100+0 records in
100+0 records out
102400 bytes transferred in 0.000894 seconds (114545258 bytes/sec)
real 1.29
user 0.00
sys 0.00
root@2[uba1]# sync ; time -p rw.test 1000
1000+0 records in
1000+0 records out
1024000 bytes transferred in 0.017315 seconds (59139134 bytes/sec)
real 9.70
user 0.00
sys 0.02
1 MB/ 10 sec = 0.1 MB/sec
So, 256 MB would take about 40 minutes. That is indeed a long time.
Regards,
- Robert
http://www.cwelug.org/~rwcitek