LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Amigo
User Name
Password
Amigo This forum is for the discussion of Amigo Linux.

Notices


Reply
  Search this Thread
Old 06-16-2005, 10:16 PM   #1
pacranch
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39

Rep: Reputation: 15
Talking 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
(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.

All help muchly appreciated,

Mike (pacranch)


Last edited by pacranch; 06-17-2005 at 04:23 PM.
 
Old 06-17-2005, 03:02 PM   #2
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Your drive seems full.
What does 'df -h' give you?
 
Old 06-17-2005, 04:31 PM   #3
pacranch
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39

Original Poster
Rep: Reputation: 15
Cool

df -h says:
Code:
Filesystem	Size	Used	Avail	Use%	Mounted on
/dev/loop/7	980M	951M	30M	98%	/
/dev/hda1 	38G	13G	25G	35%	/mnt/hda1
/dev/loop5	256M	211M	46M	83%	/opt
/dev/loop4	200M	164M	37M	82%	/usr/local
Thanks,

Mike (pacranch)

Last edited by pacranch; 06-18-2005 at 04:52 PM.
 
Old 06-17-2005, 04:48 PM   #4
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
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.
 
Old 06-17-2005, 10:14 PM   #5
pacranch
Member
 
Registered: Apr 2005
Location: Los Angeles
Distribution: Amigo, Slax
Posts: 39

Original Poster
Rep: Reputation: 15
/mnt/hda1 is the AmigoLinuxXP name for the C: (or main) drive. Both AmigoLinuxXP and WinXP are on it.

Last edited by pacranch; 06-17-2005 at 10:16 PM.
 
Old 06-18-2005, 02:09 PM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
AmigoXP: some questions on getting it running... Kuroyume Amigo 3 06-26-2005 12:09 PM
AmigoXP + DialUp = Way Beyond FOOBAR pacranch Amigo 8 06-21-2005 01:30 PM
minimum system requirements for amigoxp? war2004 Amigo 1 06-05-2005 02:34 AM
Upcoming AmigoXp software skruf_man Amigo 17 12-30-2004 05:03 PM
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 12:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Amigo

All times are GMT -5. The time now is 10:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration