Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help! installation on ibook dual usb
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
rvdb
n00b
n00b


Joined: 18 Oct 2004
Posts: 7
Location: Netherlands

PostPosted: Mon Jan 10, 2005 9:56 pm    Post subject: help! installation on ibook dual usb Reply with quote

I tried to install gentoo on my ibook from the live 2004.3 cd.

The handbook on the cd is not correct now and then

- mount -o bind doesnt work --> i replaced with mount --bind

- running yabootconfig from the installed system (after a chroot) doesnt work, i tried from the cdrom system: yabootconfig --chroot /mnt/gentoo)

- when booting it appears that devfsd had to be emerged first

- then after booting it complains that netmount was not found. It showed me a login prompt but every action would lead to some PAM error....


I'm totally confused. What am i doing wrong here?

Regards
Rein van den Boomgaard
Back to top
View user's profile Send private message
rvdb
n00b
n00b


Joined: 18 Oct 2004
Posts: 7
Location: Netherlands

PostPosted: Mon Jan 10, 2005 10:39 pm    Post subject: help found ...??? Reply with quote

it appears that the installation handbook on the isoimage is different from the one on the gentoo web. It seems some (all??) of my worries are addressed there... There we go again...

(btw is there a way not to redo the installation from scratch...)

Regards
Rein
Back to top
View user's profile Send private message
BeatJunkie
n00b
n00b


Joined: 24 Feb 2004
Posts: 31
Location: Landmark, Manitoba

PostPosted: Mon Jan 10, 2005 11:03 pm    Post subject: Reply with quote

Hi Rein,

I went through the same types of problems myself. There have been some major changes made to the stages since the 2004.3 handbook was written, which unfortunately has caused a lot of problems for those of us with PPC machines. Here's what you will need to do in order to make your system work:

Boot with your LiveCD, and configure an Internet connection. Then, mount your filesystems under /mnt/gentoo.
Next, mount /proc and /dev:
Code:
mount -t proc none /mnt/gentoo/proc
mkdir /mnt/gentoo/dev
mount -o bind /dev /mnt/gentoo/dev

Now you can chroot into your new environment:
Code:
chroot /mnt/gentoo
env-update && source /etc/profile

You should be able to run yabootconfig (without the chroot parameter, because you are already chrooted), then mkofboot -v to format your bootstrap partition with the new configuration.

As for the devfsd stuff, the stage that you installed from is probably set up for udev. All you need to do is configure and recompile your kernel to support udev instead of devfs. Specifically:
Code:
File systems --->
  Pseudo Filesystems --->
    [*] /proc file system support
    [ ] /dev file system support (OBSOLETE)
    [ ]   Automatically mount at boot
    [*] Virtual memory file system support (former shm fs)
...or if you use genkernel, run genkernel with the --udev option.

After recompiling your kernel with these options and installing it, you should be able to reboot. If you need to change your yaboot.conf to reflect a new kernel, update your bootstrap using "ybin -v" afterwards.

When all this is done, exit the chroot, then umount all filesystems:
Code:
umount /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo
(unmount any other filesystems under /mnt/gentoo, if you have more.)

Reboot. Your system should come up. If after doing this you still get PAM errors, boot your livecd, mount all filesystems as per above, chroot into your system and re-emerge pam.

I hope that helps. Cheers.
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