Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to install on a PowerBook G3 without internet?
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
YGC
n00b
n00b


Joined: 06 Dec 2004
Posts: 18

PostPosted: Tue Dec 14, 2004 1:29 pm    Post subject: How to install on a PowerBook G3 without internet? Reply with quote

I try 2004.3 but fail!!
I install it base on the handbook.
After I finish all the step to install the base system,and then reboot the system.And it doesn't work,it show me
Code:
*Mounting proc at /proc... [ ok ]
*Mounting sysfs at /sys.... [ ok ]
can't create lock file /etc/mtab~849: Read-Only file system [ !! ]

*Mounting devpts at /dev/pts... [ ok ]
*Starting devfsd...
/sbin/rc: line 271: /sbin/devfsd: No such file or directory [ !! ]

*Activating (possible) swap.
*Remoting root filesystem read-only (if necessary) [ ok ]
*Checking root filesystem... [ok ]
ext2fs_check_if_mount: No such file or directory while determing whether /dev/hda4 is mounted.
fsck.ext3: No such file or directory while trying to open /dev/hda4
/dev/hda4:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

*Filesystem couldnt be fixed [ !! ]

Give root password for maintenance


and then i reboot the system with the LiveCD
Code:
#mount /dev/hda3 /mnt/gentoo
#cp -L /sbin/devfsd /mnt/gentoo/sbin/

#umount /mnt/gentoo
#reboot


and when it show login, I key in the user ID and I doesn't work too,it show
Code:
login:PAM Failure,aborting:Critical error - immediate abort


and I don't know how to do it now,I have a internet access but it want to authenticate.and there is no PPC version client.

sorry for my poor English.I hope that somebody can help me.
Thank you anyway!!!
Back to top
View user's profile Send private message
YGC
n00b
n00b


Joined: 06 Dec 2004
Posts: 18

PostPosted: Thu Dec 16, 2004 2:10 am    Post subject: Reply with quote

Nobody know it? :?: :?:
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Thu Dec 16, 2004 7:09 pm    Post subject: Reply with quote

Search the forum with "Bootx" as your search term. All will be revealed. You will need the 2004.2 CD, and specific kernel arguments.
Back to top
View user's profile Send private message
YGC
n00b
n00b


Joined: 06 Dec 2004
Posts: 18

PostPosted: Fri Dec 17, 2004 12:44 pm    Post subject: Reply with quote

Yaboot work well on my machine.
I install Gentoo follow the guide of the handbook.
Is it any wrong with yaboot?
Back to top
View user's profile Send private message
YGC
n00b
n00b


Joined: 06 Dec 2004
Posts: 18

PostPosted: Fri Dec 17, 2004 12:47 pm    Post subject: Reply with quote

gentoo is my only system..
Back to top
View user's profile Send private message
stimuli
Apprentice
Apprentice


Joined: 16 Dec 2002
Posts: 292
Location: Vancouver, BC, Canada

PostPosted: Fri Dec 17, 2004 6:51 pm    Post subject: Reply with quote

emerge devfsd
Back to top
View user's profile Send private message
porodzila
Guru
Guru


Joined: 22 May 2004
Posts: 307
Location: Terrapin Station

PostPosted: Fri Dec 17, 2004 7:22 pm    Post subject: Reply with quote

let re-check your fstab, your yaboot.conf, and verify the formats on your drives from the LiveCD
_________________
ubi primum potero, me hinc subduco.
Back to top
View user's profile Send private message
YGC
n00b
n00b


Joined: 06 Dec 2004
Posts: 18

PostPosted: Sat Dec 18, 2004 12:59 pm    Post subject: Reply with quote

My fstab is
Code:
/dev/hda3 / ext3 noatime 0 1
/dev/hda4 none swap sw 0 0
/dev/hda5 /home ext3 noatime 0 1
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto 0 0
Back to top
View user's profile Send private message
YGC
n00b
n00b


Joined: 06 Dec 2004
Posts: 18

PostPosted: Sat Dec 18, 2004 1:01 pm    Post subject: Reply with quote

And my yaboot.conf
Code:
## /etc/yaboot.conf
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
## see also: /usr/share/doc/yaboot/examples for example configurations.
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

## our bootstrap partition:

boot=/dev/hda3

## ofboot is the openfirmware way to specify the bootstrap partition.
## If this isn't defined, yaboot fails on the G5 (unless you pass the necessary
## arguments to the mkofboot/ybin program).
## hd:X means /dev/sdaX (or /dev/hdaX).
##
## G5 users should uncomment this line!!

#ofboot=hd:9

##hd: is open firmware speak for hda
device=hd:
partition=3

delay=5
defaultos=linux
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

#################
## This section can be duplicated if you have more than one kernel or set of
## boot options
#################
image=/boot/vmlinux-2.6.9
  label=Linux
  root=/dev/hda3
  sysmap=/boot/System.map-2.6.9
  read-only
##################
Back to top
View user's profile Send private message
YGC
n00b
n00b


Joined: 06 Dec 2004
Posts: 18

PostPosted: Sat Dec 18, 2004 1:35 pm    Post subject: Reply with quote

Code:

# mac-fdisk /dev/hda
#mke2fs -j /dev/hda3
#mke2fs -j /dev/hda5
#mkswap /dev/hda4
# swapon /dev/hda4

# mount /dev/hda3 /mnt/gentoo
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev





# cd /mnt/gentoo
# tar -xvjpf /mnt/cdrom/stages/stage3-ppc-20040926.tar.bz2
# tar -xvjf /mnt/cdrom/snapshots/portage-20040926.tar.bz2 -C /mnt/gentoo/usr
# mkdir /mnt/gentoo/usr/portage/distfiles
# cp /mnt/cdrom/distfiles/* /mnt/gentoo/usr/portage/distfiles/






# chroot /mnt/gentoo /bin/bash
# env-update
 * Caching service dependencies...
# source /etc/profile




# ls /usr/share/zoneinfo
# ln -sf /usr/share/zoneinfo/PRC /etc/localtime




# emerge gentoo-dev-sources
# rm /usr/src/linux
# cd /usr/src
# ln -s linux-2.6.7-r14 linux
# cd /usr/src/linux
# make menuconfig
# make all && make modules_install
# cp vmlinux /boot/kernel-2.6.7
# cp System.map /boot/System.map-2.6.7
# cp .config /boot/config-2.6.7
# modules-update



# nano -w /etc/fstab

/dev/hda3   /         ext3    noatime           0 1
/dev/hda4   none      swap    sw                0 0
/dev/hda5   /home     ext3    noatime       0 1
none        /proc     proc    defaults          0 0
none        /dev/shm  tmpfs   defaults          0 0
/dev/cdroms/cdrom0    /mnt/cdrom    auto   0 0



Networking Information
# echo volyer > /etc/hostname
# nano -w /etc/conf.d/net
# nano -w /etc/resolv.conf
# rc-update add net.eth0 default




# emerge  yaboot
#nano -w /etc/yaboot.conf
#mkofboot -v




# emerge syslog-ng
# rc-update add syslog-ng default

# passwd




# exit
# cd /
# umount /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo
# reboot



This is the process which I install the system..


Last edited by YGC on Sat Dec 18, 2004 1:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
YGC
n00b
n00b


Joined: 06 Dec 2004
Posts: 18

PostPosted: Sat Dec 18, 2004 1:37 pm    Post subject: Reply with quote

Anybody know how to mount a usb-disk with the 2004.3 LiveCD?
I try to mount it with the LiveCD,but it seem not to be support by the LiveCD...
Back to top
View user's profile Send private message
YGC
n00b
n00b


Joined: 06 Dec 2004
Posts: 18

PostPosted: Wed Dec 22, 2004 10:32 am    Post subject: Reply with quote

up
Back to top
View user's profile Send private message
Tolstoi
l33t
l33t


Joined: 20 May 2004
Posts: 678

PostPosted: Sun Dec 26, 2004 9:57 am    Post subject: Reply with quote

As I read in another thread that seems to be an issue of the 2004.3 release.
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