Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
<SOLVED!> iMac G3 install - 'no space left on device'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
gandalf2041
n00b
n00b


Joined: 28 Jun 2003
Posts: 47

PostPosted: Mon Jan 26, 2004 4:21 pm    Post subject: <SOLVED!> iMac G3 install - 'no space left on device' Reply with quote

I hope anyway. :roll:

It seems I have confused the Apple bootstrap partition for an actual /boot partition. In my defense, the Install guide IS a little unclear on this point. I found the answer in the PPC board (where I should have checked in the first place :oops:) I guess my initial search terms were lacking. Oh well, at least I've learned something.

=== Update 1/27/04 Additional Details ===========
I have searched for my 'no space left on device' error and despite a number of hits, I still do not have an answer. It occurred to me that I need to post additional details. Here goes:

Followed the Install Guide EXACTLY. Proc is mounted correctly and chroot was successful. From /usr/src/linux 'df' gives
"df: Warning: cannot read table of mounted filesystems: No such file or directory" but a 'df /boot' shows a Filesystem of "-" as 782k/782k 100% Full. From mac-fdisk the Apple bootstrap partition is 800k. I have done this twice now and there is no way to set the size of the bootstrap partition, it automatically defaults to 800k. The partitions are:

/dev/hda1 Apple_partition_map Apple (31.5k) Partition map
/dev/hda2 Apple_Bootstrap bootstrap (800k) NewWorld bootblock
/dev/hda3 Apple_UNIX_SVR2 swap (512M) Linux swap
/dev/hda4 Apple_UNIX_SRV2 root (5.5 G) Linux native

I have also done a 'df -ih' which shows that I have plenty of inodes. What other information can I provide that may be useful in the diagnosis? This is NOT a fast machine and the prospect of doing this several more times is not appealing :(

========================
I am attempting a Stage 3 install from the latest LiveCD for PPC on my iMac. Everything seems to go well up to the compilation of the kernel. When I attempt to install the kernel:

Code listing 37 from the Installation Guide:
.
.
(For other systems)
# cp vmlinux /boot/kernel-2.4.22
.
.

Naturally, I am substituting the correct kernel information (I used the ppc-sources). When I execute the cp command above from the /usr/src/linux directory (which has the correct symlink) I get a message indicating 'no space left on device' (That's not exactly it but it's close). The HD is 6GB and I used the suggested partitioning scheme. Doing a 'df' on boot gets me a 'command not found' message. What am I forgetting?


Last edited by gandalf2041 on Tue Jan 27, 2004 4:09 pm; edited 2 times in total
Back to top
View user's profile Send private message
gandalf2041
n00b
n00b


Joined: 28 Jun 2003
Posts: 47

PostPosted: Tue Jan 27, 2004 11:29 am    Post subject: Reply with quote

* bump *
Back to top
View user's profile Send private message
mensan
n00b
n00b


Joined: 05 Aug 2003
Posts: 74
Location: Seattle, WA

PostPosted: Sat Mar 06, 2004 7:18 am    Post subject: Reply with quote

i am having the same problem on my powerbook, i have the /boot partition that is only 800K, how can i make it more?

should i repartition and make a seperate partition for the /boot to mount to?
Back to top
View user's profile Send private message
isolder
n00b
n00b


Joined: 05 Dec 2003
Posts: 58

PostPosted: Sat Mar 06, 2004 8:34 am    Post subject: Reply with quote

Also having this problem...

Thinking this is a bad thing..
Back to top
View user's profile Send private message
isolder
n00b
n00b


Joined: 05 Dec 2003
Posts: 58

PostPosted: Sat Mar 06, 2004 8:38 am    Post subject: Reply with quote

Also, why is this thing listed as SOLVED?



I see nothing about getting this worked out, I'd like to install my gentoo, but ah... ya know.. can't really get it up without my bootstrap..
Back to top
View user's profile Send private message
mensan
n00b
n00b


Joined: 05 Aug 2003
Posts: 74
Location: Seattle, WA

PostPosted: Sun Mar 07, 2004 7:13 pm    Post subject: Reply with quote

ok, well i figured it out. here is what you do, this is a little different than on x86 apparentally.

there are 2 ways to go, the easy way and the more "x86-ish" way. i did the latter, though it was longer.

if you are going to do it as in the install guide, then you apparentally dont need to copy your compiled kernel, 'vmlinux', to the /boot partition. leave it in root, jsut rename it. so instead of having: /boot/kernel-2.6.1 you would have: /kernel-2.6.1

also, make sure that in /etc/fstab you remove the reference to the /boot partition. this is NOT the bootstrap partition. dont put anything about /boot in /etc/fstab.

then, in /etc/yaboot.conf, make sure that you read the comments right, tell it the partition for the bootstrap, etc. when it says to put the put in the partition number where the kernels are stored, put in the partition of / since that is where they are. also, at the very end of the yaboot.conf where it lists the image info, make sure that image=/kernel-2.6.1 (if that is what you named your kernel) and make sure that the root=/dev/hdaX is correct.

that should work, basically for ppc (new world at least) it looks like we just leave the kernels where they are in /.


the more "x86-ish" way, which is what i did, is to go back and create another partition for /boot at about 64MB so i would have plenty of room. then i mounted THAT partition to /boot, i compiled my kernel and copied it to that. then i adjusted /etc/fstab to put mount that partition to /boot, and adjusted yaboot.conf correctly; said kernels were in the partition mounted to /boot, adjusted image=/boot/kernel-2.6.1 and it booted great.

hope this helps.
-men$an :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum