No more space - AmigoXP
Hi Guys
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 Code:
Error saving pinboard /root/Choices/ROX-Filer/pb_Default: No space left on device 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. All help muchly appreciated, Mike (pacranch) :newbie: |
Your drive seems full.
What does 'df -h' give you? |
df -h says:
Code:
Filesystem Size Used Avail Use% Mounted on Mike (pacranch) |
Quote:
Also, what is on /mnt/hda1? |
/mnt/hda1 is the AmigoLinuxXP name for the C: (or main) drive. Both AmigoLinuxXP and WinXP are on it.
|
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 |
All times are GMT -5. The time now is 01:10 AM. |