space or permission problem loading mydslForum: myDSL Extensions (deprecated) Topic: space or permission problem loading mydsl started by: gjhicks Posted by gjhicks on July 02 2005,09:31
Hi there,Am persisting with getting an ancient hard disk-less laptop up and running as a firewall and filter from my home network. When I get it all finished, will document for others. Have cobbled together information from this forum from meo, noclobber, doom4 and others, to set up a frugal install of a remastered dsl 1.2.1 running on a usb stick, booted from a floppy. Need the gnu-utils.dsl, as some of the busybox utilities (specially tar) are missing functionality required by some other things I need to run. So, tried to install gnu-utils.dsl from the usb stick second partition (dsl frugal is installed in the first partition) but got whole series (lots and lots) of errors like: cp: cannot create symbolic link `/ramdisk/sbin/update-modules' tp `/KNOPPIX/sbin/update-modules': No space left on device The lack of space doesn't make a lot of sense, given the following information: Filesystem Size Used Avail Use% Mounted on /dev/root 3.0M 615K 2.4M 21% / /dev/sda1 133M 57M 77M 43% /cdrom /dev/cloop 140M 140M 0 100% /KNOPPIX /ramdisk 46M 17M 30M 37% /ramdisk /dev/sda2 359M 32M 310M 10% /mnt/sda2 Any suggestions gladly received. Regards, Geoff. Posted by mikshaw on July 02 2005,12:05
What type of file is /ramdisk/sbin? Is it an real directory, or is it a link to /KNOPPIX/sbin?
Posted by gjhicks on July 02 2005,14:09
Hi,Thanks for the reply. Yes there really is a ramdisk but it only contains 'home', 'opt' and 'var' directories. If I understand the 'ln' command, it is 'ln target link_name'. So the 'expansion' of the gnu-utils.dsl was trying to make a link between the ramdisk resident file and a link in the /KNOPPIX/ tree - which was not possible, as it was a frugal install (I think). So, maybe this is the problem? Unfortunately, even if I have understood the problem, I have no idea what to do next. Any idea what to do next? Regards, Geoff. Posted by mikshaw on July 03 2005,13:10
The error message says otherwise. What it is saying is that it tries to create /ramdisk/sbin/update-modules and fails. Also, the command is apparently 'cp -l' rather than 'ln', but that's not too important.My guess is that you need to first create /ramdisk/sbin before a link can be created in it. This should have been done automatically when you install gnu-utils.dsl. What this tells me is that you are probably just trying to extract the contents of the myDSL package, which usually doesn't work. Use the command (as user dsl) "mydsl-load /path/to/gnu-utils.dsl", or install it with the myDSL button in emelfm. Posted by gjhicks on July 05 2005,00:55
Thanks for the reply.Yes, I was trying to 'install' gnu-utils.dsl without using the 'mydsl-load' routine, because I am doing the remaster at a console prompt, as the root user. I made a note of the commands within the dsl-load routine, ie: the call to mkwriteable and the syntax of the busybox tar command and just applied them one after the other. I am pretty uncertain of the remastering environment, can I login in as the 'dsl' user to install gnu-utils.dsl and then 'logout', or rather re-login as the root user, without mucking up the remaster envirnoment? Posted by mikshaw on July 05 2005,03:38
As far as I know you can run /etc/init.d/mkwriteable and then extract the files as root. The main issue with installing myDSL apps not as dsl is the creation of menu items, desktop icons, and user configurations. An app like gnu-utils does not have these, so you shouldn't run into trouble.
Posted by gjhicks on July 05 2005,08:29
The problem arose when I ran /etc/init.d/mkwriteable and extracted the files as root, in a console.These were the conditions under which I got all the 'no space' errors. |