AmigoThis forum is for the discussion of Amigo Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Got a new error, and I've tried to fix it using those special blank.img files, but I'm either doing it wrong or they don't work (???). I keep getting these errors:
Code:
Failed to copy '/blah/somefile': No space left on device
(when unarchiving and copying) and:
Code:
Error saving pinboard /root/Choices/ROX-Filer/pb_Default: No space left on device
(when trying to open files and ***some*** apps).
As soon as I get rid of the large file I'm working with (kernel source files so I can get PPP/PPPD support), the problem stops. I need the extra space so I can redo the kernel with PPP/PPPD support so I can get online in AmigoXP. Finally bothered to read pppsetupscript.txt and it has a clear warning that the kernel has no ppp/pppd daemon support, so the most likely solution appears to be to fix the kernel, plus I needed the kernel headers anyway for other software.
Originally posted by pacranch df -h says:
Filesystem Size Used Avail Use% Mounted on
/dev/loop/7 980M 951M 30M 98% /
Mike (pacranch)
This means you only have 30 mb free on your / partition. Make more space, use a partition editor, or create a new partition and move /usr, /tmp, /home or /var to it.
Also, what is on /mnt/hda1?
Last edited by stefan_nicolau; 06-17-2005 at 04:50 PM.
Okay ,Mike. Sorry for not getting in on this sooner -been having hardware issues for a few days myself.
Okay. You can always do as suggested above and mount a new partition with free space in it. But I see that xpbase.img is on a 20GB partition so I'll assume you have space there.
You are trying to use the extra files that come with Amigo-XP, which will provide a new virtual partition. If you're trying to use the local.img or kde.img, they are already formatted and installed, but they are compressed on the CD.
To use them just unzip under windows into the amigoxp/disks directory. Then boot amigoxp, login as 'root' and 'reset' the hardware configuration by right-clicking on the PowerApp and choose 'Reboot Live' and then confirm. Any spare image named swap.img, kde.img or local.img will be picked up automatically and mounted accordingly with an entry in your fstab file.
To manually install a new image:
under windows make a copy of bigfile.exe on the drive where you want to create space. then double click it. It will open a command window and ask (in German) how many megabytes you want to the file to be. input the amount(1024MB=1GB). An empty file will be created. then change the name of the file to something sane like 512MB.img.
Then run amigoxp and format the new image so that it can be mounted:
First, fool the kernel into thinking that the file is a partition like this:
losetup /dev/loop3 /path/to/512MB.img
Then format:
mkreiserfs /dev/loop3
Now the file system image can be mounted. Create an empty directory as a mount-point:
mkdir /mnt/512MBdisk
and mount:
mount -o loop -t reiserfs /dev/loop3 /mnt/512MBdisk
cd /mnt/512MBdisk
You can work there now. after finishing and leaving the directory it can be unmounted normally (umount /mnt/512MBdisk). But the /dev/loop3 remains 'tied' to the image until you do:
losetup -d /dev/loop3 (you only need to do this if using the loop device for something else.
If you are not using the local.img that is supplied, you can most easily use any extra space by just renaming the file to local.img(under windows) and placing it inside the /amigoxp/disks folder and re-running 'Live' so that it gets mounted automatically on /usr/local. That's where you should install any extra software.
Lokks like your best bet is to create at least 512MB of space, format it and rename it local.img You can easily mount the original local.img afterwards and copy those cool games into your new /usr/local. In fact the best thing to do is copy the whole directory structure from the old /usr/local into the new one.
Since you want(sorry, NEED) to compile a kernel you'll need about 250MB free at least. The kernel source unpacks to about 150MB and then you need lots of space for temp files...
When you try to compile other software, it may expect to find the kernel source in /usr/src. Unpack your source code into /usr/local/src and the remove the directory /usr/src and replace with a link to /usr/local/src:
rm -rf /usr/src
ln -sf /usr/local/src /usr/src
Amigo-XP looks for and will set up automatically the following:
xpbase.img /dev/loop7 / the root file system
swap.img /dev/loop6 swap swap space
aux.img /dev/loop6 (if no swap.img is found)
kde.img /dev/loop5 /opt
local.img /dev/loop4 /usr/local
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.