View previous topic :: View next topic |
Author |
Message |
Roxxor Apprentice
Joined: 04 Jun 2003 Posts: 225 Location: Stockholm, Sweden
|
Posted: Tue Jan 06, 2004 11:35 pm Post subject: Error during bootstrap process |
|
|
I reinstalled Gentoo yesterday because my disc crasched two days ago.
I have tried two times. Both of them failed. I began from stage 1 and everything went on till I came to scrips/bootstrap.sh.
The process is on for ~ an hour, then I get an error. I didn´t note what program it was, but is it the latest portage that maybe contains bad program versions? |
|
Back to top |
|
|
etnoy Apprentice
Joined: 29 Aug 2003 Posts: 255 Location: Västerås, Sweden
|
Posted: Wed Jan 07, 2004 12:01 am Post subject: |
|
|
Could you give at least a little more information, which program it was and so on.
Och då kanske jag kan hjälpa dig _________________ The md5sum of the above post is 06280ccd85ef9deb49c336e7945f4b5c
God is dead! - Nietzsche
Nietzsche is dead! -God |
|
Back to top |
|
|
Roxxor Apprentice
Joined: 04 Jun 2003 Posts: 225 Location: Stockholm, Sweden
|
Posted: Wed Jan 07, 2004 12:34 pm Post subject: |
|
|
I get this message after 2 hours bootstrap process:
*** These critical programs are missing or to old: gcc
*** Check the INSTALL file for required versions
!!! Error sys-libs/glibc-2.3.2-r3 failed
!!! Function src_compile, Line 438, Exitcode 1
!!! (no error message)
What is wrong?
Does boostrap.sh download wrong programs?
Please help! |
|
Back to top |
|
|
Cosmin Guru
Joined: 18 Dec 2003 Posts: 447 Location: Bucharest, Romania
|
Posted: Wed Jan 07, 2004 12:53 pm Post subject: |
|
|
I believe you did the Code: | # cd /mnt/gentoo
Change "stage3" to "stage2" or "stage1" if you want to start from these stages instead.
If you downloaded your stage tarball, change the path below to begin with "/mnt/gentoo/"
instead of "/mnt/cdrom/stages/".
# tar -xvjpf /mnt/cdrom/stages/stage3-*.tar.bz2 | as written in the manual, did you?
Important: Be sure to use the p option with tar. Forgetting to do this will cause certain files to have incorrect permissions.
Then you did an Code: | # mount -t proc proc /mnt/gentoo/proc
# cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
# chroot /mnt/gentoo /bin/bash
# env-update
Regenerating /etc/ld.so.cache...
# source /etc/profile
| without skipping any part? |
|
Back to top |
|
|
Roxxor Apprentice
Joined: 04 Jun 2003 Posts: 225 Location: Stockholm, Sweden
|
Posted: Wed Jan 07, 2004 1:57 pm Post subject: |
|
|
This is exactly what I did:
Code: |
# cfdisk (made my options)
# mke2fs -j /dev/hda1
# mkswap /dev/hda2
# mkreiserfs /dev/hda3
# swapon /dev/hda2
# mount /dev/hda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/hda1 /mnt/gentoo/boot
# cd /mnt/gentoo
# tar -xvjpf /mnt/cdrom/stages/stage1.....tar.bz2
(Don´t remember the whole file name)
# mount -t proc proc /mnt/gentoo/proc
# cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
# emerge sync
# cd /usr/portage
# scripts/bootstrap.sh
|
I have installed Gentoo from stage 1 three times before and never failed.
I have also used the same cd each time. |
|
Back to top |
|
|
Cosmin Guru
Joined: 18 Dec 2003 Posts: 447 Location: Bucharest, Romania
|
|
Back to top |
|
|
|