Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A few problems with new install G3 imac rev B [abandoned]
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
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1355

PostPosted: Sun Jul 16, 2006 12:41 am    Post subject: A few problems with new install G3 imac rev B [abandoned] Reply with quote

on boot i get this Note I had to copy this manualy since I do not know if the boot up info is saved or where it is, so it may not be exact syntax. In th order they appear I have several issues.
Code:
* skipping /var and /temp initialization (ro root)
and goes on
Code:
* loading keymappings...
 cannot open file /etc/init.d/keymaps Line 60 dumpkeys: command not found.

seems to continue until
Code:
* remounting root read write
* failed to set user font
* problem starting needed srevices "netmount" not started
* problem starting needed srevices sshd was not started
cannot open font file default 8X16


Note I have alot of info about the system here fstab, patrition tables, and emerge -- info. Let me know what elce you need and i'll post it there.

I have had alot of problems with this install.

  • I did not size the root directory correctly and shrunk it to 8 G's with parted.
  • I had alot of problems in a loop like this (line 1) chroot then exit then run yaboot as chroot configuring yaboot then reboot failed then rechroot re exit rechroot, yaboot config, reboot, re do live cd re chroot, re do yaboot, re chroot mac-fdisk errors, parted OK, exit yabootconfig, exit reboot, lice cd re compile gcc recompile kernel, ybootconfig, reboot (go back to line 1). :D
  • Menu config does not resemble the manual making it difficult to follow somthing that is not there.

_________________
Donate to Gentoo


Last edited by turtles on Sun Jul 16, 2006 5:19 am; edited 1 time in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Jul 16, 2006 1:05 am    Post subject: Reply with quote

Can you please paste the contents of your fstab?

I think I remember you moved /var and /usr off root. Are you sure they're getting mounted (dumpkeys and that font are in /usr).
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1355

PostPosted: Sun Jul 16, 2006 2:02 am    Post subject: Reply with quote

Code:

# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda6               /usr            ext3            noatime         0 2
/dev/hda5               /var            ext3            noatime         0 2
/dev/hda4               /               ext3            noatime         0 1
/dev/hda3               none            swap            sw              0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660         noauto,ro       0 0
#/dev/fd0               /mnt/floppy     auto            noauto          0 0

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

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0








as root I could not access keymaps so I 777ed it are the permissions the problem?
Code:
rwxr-xr-x  2 root root  4096 Jul  4 04:00 .
drwxr-xr-x 37 root root  4096 Jul 15 08:03 ..
-rw-r--r--  1 root root   254 Jul 13 01:55 bootmisc
-rw-r--r--  1 root root   685 Jul 13 01:55 clock
-rw-r--r--  1 root root   722 Jul 13 01:55 consolefont
-rw-r--r--  1 root root   442 Jul 10 22:13 crypto-loop
-rw-r--r--  1 root root   572 Jul 13 01:55 domainname
-rw-r--r--  1 root root   580 Jul 12 07:18 gpm
-rw-r--r--  1 root root   430 Jul 11 01:45 hdparm
-rw-r--r--  1 root root    83 Jul 13 01:55 hostname
-rwxrwxrwx  1 root root   709 Jul 13 01:55 keymaps
-rw-r--r--  1 root root   123 Jul 13 01:55 local.start
-rw-r--r--  1 root root   217 Jul 13 01:55 local.stop
-rw-r--r--  1 root root   243 Jul 13 01:55 net
-rw-r--r--  1 root root 17940 Jul 13 01:55 net.example
-rw-r--r--  1 root root  5236 Jul 13 01:55 rc
-rw-r--r--  1 root root   149 Jul 11 01:05 rsyncd
-rw-r--r--  1 root root   436 Jul 11 02:55 slapd
-rw-r--r--  1 root root   223 Jul 11 03:10 sshd
-rw-r--r--  1 root root 11496 Jul 13 01:55 wireless.example


  • After the first 8 gig issue was solved by resizing hda4
  • I had labeled hda4 as /root and hda5 as / and tried lots of copying to no avail.
  • I deleted hda5 and replaced with a new hda5 and 6 as shown, updated fstab no boot
  • Changed fstab name of hda4 from /root to / and booted to these problems here
  • copying the /var and /usr from hda4 / to 5 and 6 was a failure. I did not think it was related to this, figured I'd get it working and go back to that issue.
  • Can you give really specific line by line instructions detailing how to copy /var and /usr?
  • I spent 8 hours trying to copy /var and /usr.
  • I have printed and read the cp man page and the mount man page, mac-fdisk, themanual, the faq's for ppc and gentoo and the parted docs.
  • The cp feature in parted, is that an option? I did format hda5 and 6 with new filesystems ext 3. I think parted is incompatable with ext3
  • I hope you get a good laugh out of this.
.

Asside: Let me just say I owe it all to JoseJX
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Jul 16, 2006 4:45 am    Post subject: Reply with quote

:)

Okay, first, don't ever mark a file with 777 unless you know why you'd want to do that. The default permissions on keymap should have been 644, which is writable by root and only root (since the owner is root).

On to the next bit. It's *easiest* to have created the partitions and installed with it already mounted, copying has all sorts of other issues attached to it. If you spent 8 hours trying to copy usr, your time would probably be better spent just doing a reinstall with the partitions laid out correctly to begin with. At this point, chalk it up to a learning experience and move on. :) Make sure that before you unpack the stage tarball, that you've mounted the usr and var partitions in their correct place in the chroot. For example, you mount your root into /mnt/gentoo, so after you've mounted the root, mkdir /usr, then mount the usr partition in that directory. Only then can you unpack the stage tarball. If you didn't do this first, all of your /usr files would end up on the root partition which isn't what you want.

Parted isn't incompatible with ext3 and the cp feature isn't what you're looking for. :)

If you really want to copy between the partitions, we can do that too, but I'd suggest starting over so you can be sure you've got everything right to begin with.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1355

PostPosted: Sun Jul 16, 2006 5:18 am    Post subject: Reply with quote

Thanks
get ready, set, starting over

Quote:
Remember that not getting what you want is sometimes a stroke of luck.
When you loose dont loose the lesson

- Dali Lama
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Jul 16, 2006 1:16 pm    Post subject: Reply with quote

:) Good luck!
_________________
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
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