View previous topic :: View next topic |
Author |
Message |
Nylex n00b
Joined: 27 Dec 2004 Posts: 60 Location: London, UK
|
Posted: Tue Dec 28, 2004 11:03 pm Post subject: |
|
|
Neddy, I did check the MD5 sum for the stage 2 tarball. This time it looks like umount is missing (I can't remember if that's the right name, but I genkernel comes out with "could not unmount initrd system"). When genkernel started, it complained about dmesg and ps being missing, too. I don't remember issuing rm for anything other than to delete a symlink. There seems to be other stuff missing in my /mnt/gentoo/bin (ping is one, not sure what else though). |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Tue Dec 28, 2004 11:27 pm Post subject: |
|
|
Nylex,
From outside the (with your partitions mounted) chroot do
Code: | cd /mnt/gentoo
tar -cf etc.tar etc/ |
That should save all your config files into etc.tar in case you want to reuse them.
Then untar the stage 2 again.
Check that you have the mount and umount commands before you go on.
You recover individual files from etc.tar with
Code: | tar -xpf etc.tar <file.name> |
x==extract
p==preserve permissions
f==tar file name
etc.tar == archive name,
<file.name> file to recover e.g. make.conf
/usr/portage/distfiles should be preserved but you will need to emerge sync again. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Nylex n00b
Joined: 27 Dec 2004 Posts: 60 Location: London, UK
|
Posted: Wed Dec 29, 2004 3:49 am Post subject: |
|
|
I'll try this out tomorrow . |
|
Back to top |
|
|
Nylex n00b
Joined: 27 Dec 2004 Posts: 60 Location: London, UK
|
Posted: Wed Dec 29, 2004 12:16 pm Post subject: |
|
|
This is getting silly . I followed the steps to put all the config file in etc.tar, that was ok. Then I extracted my stage2 tarball again, but it finished with "tar: Error exit delayed from previous errors". I checked the MD5 sum for the tarball again, but it's definitely correct. I have mount in /mnt/gentoo/bin, but still no umount, so I've just copied it from /bin. Apparently the kernel compiled successfully, so I'll go on with the installation now.
Edit: more problems with missing stuff. I just did emerge coldplug, but on one of the files it tried to install (sys-devel/bc-1.06-r5), it failed. It's missing aclocal, automake and makeinfo. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Wed Dec 29, 2004 12:55 pm Post subject: |
|
|
Nylex,
That Quote: | tar: Error exit delayed from previous errors | may be harmless. It tries to wrire a file called /proc/.keep which it can't do.
If the original error was that it safe to ignore. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Nylex n00b
Joined: 27 Dec 2004 Posts: 60 Location: London, UK
|
Posted: Wed Dec 29, 2004 12:57 pm Post subject: |
|
|
Ok, now I'm having problems with "emerge coldplug" though (see above). |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Wed Dec 29, 2004 2:44 pm Post subject: |
|
|
Nylex,
Are aclocal, automake and makeinfo missing or the wrong versions?
They are all a part of the toolchain (compiler and odds and ends) you cannot configure packages without those tools.
It soulds like you have a mix of versions or emerge sync has got your some packages that depend on later verison of the tolls than you have.
What does Code: | emerge baselayout -p | return?
I think the tools are in there. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Nylex n00b
Joined: 27 Dec 2004 Posts: 60 Location: London, UK
|
Posted: Wed Dec 29, 2004 3:28 pm Post subject: |
|
|
Those files are missing, when emerge coldplug was trying to build bc-1.06-r5, it came out with stuff like "checking for automake..... missing".
emerge baselayout -p comes out with this:
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild N ] sys-apps/gawk-3.1.3-r1
[ebuild N ] dev-libs/glib-1.2.10-r5
[ebuild N ] sys-apps/miscfiles-1.3-r1
[ebuild N ] sys-libs/cracklib-2.7-r10
[ebuild N ] sys-devel/automake-1.8.5-r1
[ebuild N ] sys-libs/pam-0.77-r1
[ebuild N ] sys-apps/pam-login-3.14
[ebuild N ] sys-apps/grep-2.5.1-r6
[ebuild N ] app-crypt/hashalot-0.3
[ebuild N ] sys-apps/util-linux-2.12i-r1
[ebuild R ] sys-apps/baselayout-1.9.4-r6 |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Wed Dec 29, 2004 4:10 pm Post subject: |
|
|
Nylex,
Have you done your
Code: | emerge sync
emerge system | yet?
All that stuff should be built then.
You already have baselayout
N==New
R==Rebuild
You need to do Code: | emerge sync
emerge system | to get the tools to build the kernel. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Nylex n00b
Joined: 27 Dec 2004 Posts: 60 Location: London, UK
|
Posted: Wed Dec 29, 2004 4:13 pm Post subject: |
|
|
I did emerge sync when you told me to earlier, but didn't realise I had to do emerge system too. I'll do them both again now, afterwards do I just run emerge coldplug again? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Wed Dec 29, 2004 4:27 pm Post subject: |
|
|
Nylex,
Stick to the order in the handbook. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Nylex n00b
Joined: 27 Dec 2004 Posts: 60 Location: London, UK
|
Posted: Wed Dec 29, 2004 4:28 pm Post subject: |
|
|
I can't do emerge system, cos it complains about makeinfo being missing .
Edit: kimchi - I did follow the handbook strictly first time round, but when I did it again I couldn't remember that I'd done emerge system
*Is new to Gentoo*. I've only ever used Red Hat, Mandrake and Slack. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Wed Dec 29, 2004 4:43 pm Post subject: |
|
|
Nylex,
makeinfo or make.conf ?
Your make.conf is salvaged in your etc.tar file _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Nylex n00b
Joined: 27 Dec 2004 Posts: 60 Location: London, UK
|
Posted: Wed Dec 29, 2004 4:50 pm Post subject: |
|
|
It's definitely makeinfo:
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... missing
and /bin/sh: line 1: makeinfo: command not found. Those are from the build of the same file it couldn't do before (bc-xxxx). |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Wed Dec 29, 2004 7:33 pm Post subject: |
|
|
Nylex,
Its /usr/bin/makeinfo but something must be really badly broken on your setup. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Nylex n00b
Joined: 27 Dec 2004 Posts: 60 Location: London, UK
|
Posted: Wed Dec 29, 2004 7:40 pm Post subject: |
|
|
NeddySeagoon wrote: | Nylex,
Its /usr/bin/makeinfo but something must be really badly broken on your setup. |
I'll check in there, but if it's not I'll have to start over? Maybe I'll just try Fedora or something. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Wed Dec 29, 2004 7:43 pm Post subject: |
|
|
Nylex,
I was about to encorage you to do a stage 1 install too, now you know your way around. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Nylex n00b
Joined: 27 Dec 2004 Posts: 60 Location: London, UK
|
Posted: Wed Dec 29, 2004 7:47 pm Post subject: |
|
|
NeddySeagoon wrote: | Nylex,
I was about to encorage you to do a stage 1 install too, now you know your way around. |
I didn't want to try that cos the handbook says it's for "power users that know what they are doing". I don't even know what bootstrapping is :/. |
|
Back to top |
|
|
christsong84 Veteran
Joined: 06 Apr 2003 Posts: 1003 Location: GMT-8 (Spokane)
|
Posted: Wed Dec 29, 2004 7:52 pm Post subject: |
|
|
Nylex wrote: | NeddySeagoon wrote: | Nylex,
I was about to encorage you to do a stage 1 install too, now you know your way around. |
I didn't want to try that cos the handbook says it's for "power users that know what they are doing". I don't even know what bootstrapping is :/. |
hehe well...if you follow the instructions to a T...you should be fine with it (my first dive into gentoo was from stage 1...what? I was ambitious ) _________________ while(true) {self.input(sugar);} |
|
Back to top |
|
|
Nylex n00b
Joined: 27 Dec 2004 Posts: 60 Location: London, UK
|
Posted: Wed Dec 29, 2004 7:56 pm Post subject: |
|
|
christsong84 wrote: | hehe well...if you follow the instructions to a T...you should be fine with it (my first dive into gentoo was from stage 1...what? I was ambitious ) |
I tried following the instructions to a T from stage 2 and couldn't do it . Lol! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Wed Dec 29, 2004 8:10 pm Post subject: |
|
|
Nylex,
Stage 1 means you make your compiler tools to start with. It takes a extra 12 hours of CPU time (approx) on an AMD K6-2 450MHz. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Nylex n00b
Joined: 27 Dec 2004 Posts: 60 Location: London, UK
|
Posted: Wed Dec 29, 2004 8:13 pm Post subject: |
|
|
NeddySeagoon wrote: | Nylex,
Stage 1 means you make your compiler tools to start with. It takes a extra 12 hours of CPU time (approx) on an AMD K6-2 450MHz. |
I think I'll give up for the time being and go back to Slack or something. I might come back to Gentoo eventually.
Thanks for all your help though! |
|
Back to top |
|
|
christsong84 Veteran
Joined: 06 Apr 2003 Posts: 1003 Location: GMT-8 (Spokane)
|
Posted: Wed Dec 29, 2004 8:14 pm Post subject: |
|
|
Nylex wrote: | christsong84 wrote: | hehe well...if you follow the instructions to a T...you should be fine with it (my first dive into gentoo was from stage 1...what? I was ambitious ) |
I tried following the instructions to a T from stage 2 and couldn't do it . Lol! |
heh well from the looks of things either you got a bad state-2 tarball or missed a step somewhere either way you're kinda stuck from the assessment of the damages >.<
Good luck with the install...whether it be state 1, 2, or 3 _________________ while(true) {self.input(sugar);} |
|
Back to top |
|
|
|