Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo on an iBook
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
VanillaGorilla
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2006
Posts: 108

PostPosted: Thu Apr 27, 2006 11:10 am    Post subject: Installing Gentoo on an iBook Reply with quote

I'm trying to install Gentoo (universal one) on my iBook and I'm following the guide step by step but im on this part:

http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=1&chap=6#doc_chap2

and I run emerege --sync and it worked the first time for a good chunk of it but then it stopped and gave me an error and gave me an error so I keep trying to run it, but now it doesn't do anything it just tries to retry but then it gives me this error:

Quote:
Rsync has no successfully finished. It is recommended that you keep
trying or that you use the 'emerge-webrsync' option if you are unable to use
rsync due to firewall or other restrictions. This should be a
temporary problem unless complications exist with your network
(and possibly your system's filesystem configuration


When I run emerege-webrsync it just starts off with some error about no being able to make a directory because its a read only file system then it just lists out the same thing except the data changes:

Quote:
Attempting to fetch file data: 20060318
--- No md5sum presont on the mirror. (Not yet available.)


Can anyone help me?
Back to top
View user's profile Send private message
McClie
n00b
n00b


Joined: 20 Apr 2006
Posts: 23

PostPosted: Thu Apr 27, 2006 1:57 pm    Post subject: Handbook Query and IBook Warning Reply with quote

On-topic

I only had a brief experience with Gentoo (see off-topic), but shouldn't you be running emerge --metadata rather than emerge --sync. And if using Universal I think you should be using Handbook 2006.0, which is for those with the CD. I made the mistake the other way round and used the 2006.0 handbook with the minimum cd.

Off-topic

This is not an answer to your problem, but to warn you that you might have problems depending on which iBook you are referring to. Gentoo does not seem to like the Hardware Clock on the iBook G4. I got the system up and running but at each boot I got a failure stating "Could not access the hardware clock by any known method." This meant having to manually set the clock to avoid it saying 1st Jan 1904. That was liveable with, but then I tired to get Airport Extreme working and copied the new config files over the old ones. This included /etc/init.d/clock which turns this annoyance into a critical boot failure (i.e, "a critical service has failed to load, fix this problem and reboot with Ctrl-D"). I failed to fix it (and I am not the only person caught out by this problem).

Reluctantly, I have returned to Debian (but I still have Gentoo on a unbooted partition) and I have got Airport Extreme working on it. This was after doing lenghty compiles on Gentoo of xorg, KDE, etc. So I advise you if you get past this initial problem to test just a basic system to see if you are suffering this problem with the clock.
_________________
Using Linux since downloading SLS the first general distro in 1993, now on Debian (Bondi iMac) and Gentoo (iBook G4)
Back to top
View user's profile Send private message
Extintor
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2004
Posts: 113
Location: Stockholm, Sweden

PostPosted: Thu Apr 27, 2006 1:58 pm    Post subject: Reply with quote

Are you chrooted ?

And is the port for rsync open ? If not is webrsync sufficient to start with.
_________________
Beerhazard | Nobelium | VIm | Perl | Ruby
Back to top
View user's profile Send private message
bobspencer123
Guru
Guru


Joined: 19 Dec 2005
Posts: 544

PostPosted: Thu Apr 27, 2006 2:53 pm    Post subject: Reply with quote

can you even ping something like google?

Code:

ping -c2 google.com


if not then you probably either did not, or incorrectly, copier over your resolv.conf

Code:

cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu Apr 27, 2006 5:43 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on PPC.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
VanillaGorilla
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2006
Posts: 108

PostPosted: Thu Apr 27, 2006 7:43 pm    Post subject: Reply with quote

I am using an iBook G3 and it is connected to the internet through an ethernet cord that is simply plugged into my router. I am chrooted because on the command line it says "(chroot) livecd / #". I also was able to ping google...

What is the port for rsync?

EDIT: Also I thought that internet acess wasn't required for installing a universal version?
Back to top
View user's profile Send private message
McClie
n00b
n00b


Joined: 20 Apr 2006
Posts: 23

PostPosted: Thu Apr 27, 2006 8:12 pm    Post subject: Ignore comments about hardware clock ... Reply with quote

Ignore comments about hardware clock I had not been aware that RTC support had to be compiled into the kernel on Macs (most of my Linux life has been on AMD processors).

Best wishes.

[Re-edited to add title into main post to suit this forum's display where the titles are not clear and so common practice elsewhere of not repeating what you say in the title does not really work]
_________________
Using Linux since downloading SLS the first general distro in 1993, now on Debian (Bondi iMac) and Gentoo (iBook G4)


Last edited by McClie on Thu Apr 27, 2006 10:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
VanillaGorilla
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2006
Posts: 108

PostPosted: Thu Apr 27, 2006 8:20 pm    Post subject: Reply with quote

What...?

Anyways I seem to be able to just skip it but the main problem now is that everything is saying its a read-only file system! I'm really anxious to get this installed and I have been following this handbook/guide step by step but it is still getting me no where!
Back to top
View user's profile Send private message
Sodki
Guru
Guru


Joined: 11 Aug 2003
Posts: 419
Location: London, U.K. & Lisbon, Portugal

PostPosted: Thu Apr 27, 2006 10:36 pm    Post subject: Reply with quote

VanillaGorilla wrote:
Anyways I seem to be able to just skip it but the main problem now is that everything is saying its a read-only file system! I'm really anxious to get this installed and I have been following this handbook/guide step by step but it is still getting me no where!

Can you please post the contents of your /etc/fstab? Also, please post the output of the "mount" command.
Back to top
View user's profile Send private message
VanillaGorilla
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2006
Posts: 108

PostPosted: Thu Apr 27, 2006 11:25 pm    Post subject: Reply with quote

mount outputted:
Quote:

rootfs on / type rootfs (rw)
tmpfs on /newroot type tmpfs (rw)
/dev/hdb on /newroot/mnt/cdrom type iso9660 (ro)
/dev/loop/0 on /newroot/mnt/livecd type squashfs (ro)
proc on /newroot/proc type proc (rw,nodiratime)
sysfs on /newroot/sys type sysfs(rw)
udev on /newroot/dev type tmpfs (rw, nosuid)
devpts on /newroot/dev/pts type devpts (rw)
tmpfs on /newroot/mnt/livecd/lib/firmware type tmpfs (rw)
tmpfs on /newroot/mnt/livecd/usr/portage type tmpfs (rw)
usbfs on /newroot/proc/bus/usb type usbfs (rw)
/dev/hda4 on / type ext 3 (ro, data=ordered)
none on /proc type proc (rw, nodiratime)
udev on /dev type tmpfs (rw,nosuid)


How do I get the contents of /etc/fstab?
Back to top
View user's profile Send private message
hawaiian717
n00b
n00b


Joined: 13 May 2004
Posts: 71

PostPosted: Fri Apr 28, 2006 4:42 pm    Post subject: Reply with quote

VanillaGorilla wrote:
How do I get the contents of /etc/fstab?


cat /etc/fstab
Back to top
View user's profile Send private message
VanillaGorilla
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2006
Posts: 108

PostPosted: Fri Apr 28, 2006 7:21 pm    Post subject: Reply with quote

Quote:
[.....]
# <fs> <mountpoint> <type <opts> <dump/pass>

# NOTE: If your BOOT partition is ResierFS, add the notail option to opts.
/dev/BOOT /boot ext2 noauto,noatime 1 2
/dev/ROOT / ext3 noatime 0 1
/dev/SWAP none swap sw 0 0
/dev/cdroms/crrom0 /mnt/cdrom iso9660 noauto,ro 0 0
#/dev/fd0 /mnt/floppy auto noauto 0 0

# NOTE: The next line critical for boot!
proc /proc proc defaults 0 0

[....]
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0


I put [...] where I was pretty sure it was just default information explain certain stuff.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Apr 28, 2006 7:37 pm    Post subject: Reply with quote

I think everyone is getting a little confused here. :)

VanillaGorilla:
Have you booted for the first time? Or are you still in the LiveCD environment?

If you're still in the LiveCD, please reboot the system. Once you've rebooted into the LiveCD, try to mount your root partition again, then type dmesg. It should explain why it's being mounted read only.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
VanillaGorilla
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2006
Posts: 108

PostPosted: Fri Apr 28, 2006 8:26 pm    Post subject: Reply with quote

How do I mount my root partition?

I'm sorry I don't know much about this... it would be easier if you could just tell me command when I need to do/get something
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Fri Apr 28, 2006 9:20 pm    Post subject: Reply with quote

You didn't answer my first questions.

The section "Mounting" in the handbook describes mounting your root partition:
http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=1&chap=4#doc_chap6
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
VanillaGorilla
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2006
Posts: 108

PostPosted: Fri Apr 28, 2006 10:54 pm    Post subject: Reply with quote

Oh sorry... I hadn't booted for the first time but I did turn it off and on after reading the post so I guess now I have booted.

Anyways heres what happened I typed in "mkdir /mnt/gentoo" and it said:

Quote:
mkdir: cannot create directory `/mnt`/gentoo`: File exists


and then I typed in the next one "mount /dev/hda4 /mnt/gentoo" and it said:

Quote:
EXT3-fs warning: mounting fs with errors, running e2fsck is recommended


and finally dmesg said at the end of it:

Quote:
EXT3-fs warning: mounting fs with errors, running e2fsck is recommended
EXT3 FS on hda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Back to top
View user's profile Send private message
bobspencer123
Guru
Guru


Joined: 19 Dec 2005
Posts: 544

PostPosted: Sat Apr 29, 2006 1:25 am    Post subject: Reply with quote

my advice since you are not very far along in the install process would be to start over. Repartition your drives and make sure you follow the handbook exactly. Don't skim the pages, really read them, and if you have to document all the commands and steps that you have taken then if you have a problem there is a record of your actions and it should be easily resolved. You probably can fix whatever your problem is right now but since you haven't even gotten the kernel compilation part yet I would just take the hour or so and start over. Just my 2 cents.
Back to top
View user's profile Send private message
VanillaGorilla
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2006
Posts: 108

PostPosted: Sat Apr 29, 2006 2:27 am    Post subject: Reply with quote

I was wondering if I could restart... how do I do that?
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Apr 29, 2006 3:57 am    Post subject: Reply with quote

You can easily restart by just following the handbook instructions from the beginning again as if you hadn't done anything at all yet.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
VanillaGorilla
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2006
Posts: 108

PostPosted: Sat Apr 29, 2006 11:34 am    Post subject: Reply with quote

Ok heres a problem.. I just made a new partitioning scheme and then I went to adding a file system to the partitions and I was running this command "mkfs.ext3 /dev/hda4" (/dev/hda4 being the root partition) and it said this:

Quote:
/dev/hda4 is mounted; will not make a filesystem here!


So how do I unmount it...
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Apr 29, 2006 1:43 pm    Post subject: Reply with quote

Like I said, you should completely start over as if you hadn't done anything at all. Just reboot the InstallCD and follow the directions. hda4 is mounted because that's what I had you do before. :)
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
VanillaGorilla
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2006
Posts: 108

PostPosted: Sat Apr 29, 2006 4:01 pm    Post subject: Reply with quote

This is ridiculous.. I started again and everything always turns into a read-only file system!

http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=1&chap=7

I run "cp /usr/share/zoneinfo/GMT /etc/localtime"

Quote:
cp: cannot create regular file `/etc/localtime`: Read-only file system


So I figure I can skip that or GMT would be default and I go to the installing sources thing and I run "USE="-doc symlink" emerge gentoo-sources"

Quote:
!!! Problem in sys-kernel/gentoo-sources dependencies.
!!! [Errno 30] Read-only file system: `/var/chache/edb/dep/aux_db_key_temp.portage_lockfile` exceptions
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Apr 29, 2006 4:10 pm    Post subject: Reply with quote

Please type dmesg and copy the results into here. It sounds like you're having hardware issues.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
VanillaGorilla
Tux's lil' helper
Tux's lil' helper


Joined: 27 Apr 2006
Posts: 108

PostPosted: Sat Apr 29, 2006 4:15 pm    Post subject: Reply with quote

Well I booted it again and mounted it and then ran dmesg and it said at the bottom

Quote:
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: mounting fs with errors, running e2fsck is recommended
EXT3 FS on hda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.


Although I looked over the rest of it I could see and found some lines that may be of interest...

Quote:
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Apr 29, 2006 4:59 pm    Post subject: Reply with quote

I meant before to completely erase the partition and filesystem and completely start over., from step 1 It doesn't sound like you're doing that.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
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
Goto page 1, 2  Next
Page 1 of 2

 
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