LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: Debentoo Gao

Gentoo Linux 1.4 GRP安装参考指南(2003.11.20更新)

[复制链接]
发表于 2003-1-5 16:00:04 | 显示全部楼层

Help me ! please.

When I first time install gentoo linux system.I try to share the /boot && /swap partition.
But I lost,system can't be load..
I backup the main (source) system's /boot
partition in a directory.And Try manually modifiy the /boot (try manually add the gentoo's /boot partition into main(source)/boot partition.

after i did that.I tried to use a bootable CD to restore the main(source) system's /boot partition.

I had to use busybox to Fix it.I did it.
Copied all of main(source) /boot partition's Bak(files and directory) back into the main /boot partition.
but the grub doesn't work.

>>>>>>>>>>>>>>>>....................................

Blow this line ....last time I try to install gentoo form
HDD under another Distribution Linux system.

every step look well,

until I compiled the gentoo's (stage3-athlon-1.4_rc2.tbz2)'s kernel(2.4.19) package

then,I reboot the system at once.

First time the kernel of Gentoo loaded,but not pass.(stopped)

I had to resert my system.

This time it doesn't work

There isn't a FDD in my system.
and I have the Important system files,so I reinstall
the system.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
But :eek: This time

after I feel I'm ready for install ther Gentoo Linux

                             cfdisk 2.11u

                         Disk Drive: /dev/hda
                   Size: 17247928320 bytes, 17.2 GB
         Heads: 255   Sectors per Track: 63   Cylinders: 2096

   Name       Flags    Part Type FS Type        [Label]      Size (MB)
--------------------------------------------------------------------
   hda1       Boot      Primary  Linux ext3                     156.29
   hda2                 Primary  Linux ReiserFS                8003.20
   hda5                 Logical  Linux ext3                     197.41
   hda6                 Logical  Linux ReiserFS                7805.80
   hda4                 Primary  Linux swap                    1077.52


    [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]
    [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]

            Toggle bootable flag of the current partition
(I want use /dev/hda5 -->for Gentoo's /boot partition)
(and I want use /dev/hda6 -->for Gentoo's / partition)


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(this time)I did every step like this.

step No1

#mke2fs -j /dev/hda5
#mkreiserfs /dev/hda6

step No2

#mkdir /mnt/gentoo
#mount /dev/hda6 /mnt/gentoo
#mkdir /mnt/gentoo/boot
#mount /dev/hda5 /mnt/gentoo/boot

step No3
#md5sum -c stage3-athlon-1.4_rc2.tbz2.md5
stage3-athlon-1.4_rc2.tbz2: OK
#cp /tmp/stage3-athlon-1.4_rc2.tbz2 /mnt/gentoo
#cd /mnt/gentoo
#bzip2 -d stage3-athlon-1.4_rc2.tbz2 &&
tar xvf stage3-athlon-1.4_rc2.tar

step NO4
#mount -o bind /proc /mnt/gentoo/proc
#cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
#ls /mnt/gentoo/etc/resolv.conf
/mnt/gentoo/etc/resolv.conf
#cat /mnt/gentoo/etc/resolv.conf
nameserver 202.96.75.68
nameserver 202.96.64.68
nameserver 202.96.0.133
search local
#ping rsync.gentoo.org
PING rsync.gentoo.org (204.89.193.10) from 192.168.1.1 : 56(84) bytes of data.
64 bytes from 204.89.193.10: icmp_seq=1 ttl=42 time=256 ms
64 bytes from cindy.coldmoon.net (204.89.193.10): icmp_seq=2 ttl=42 time=255 ms
64 bytes from cindy.coldmoon.net (204.89.193.10): icmp_seq=3 ttl=42 time=254 ms
64 bytes from cindy.coldmoon.net (204.89.193.10): icmp_seq=4 ttl=42 time=255 ms
#chroot /mnt/gentoo /bin/bash
bash-2.05a#
bash-2.05a# env-update
>>> Note: /etc/make.profile isn't available; an 'emerge sync' will probably fix this.
>>> Regenerating /etc/ld.so.cache...

#ls -il /etc/make.profile
  19868 lrwxrwxrwx    1 root     root           37 2003-01-05 13:47 /etc/make.profile -> /usr/portage/profiles/default-x86-1.4
bash-2.05a# ls -il /usr/portage/profiles/default-x86-1.4/
total 0
/* A empty directory */

-->env-update doesn't work


**************************************************

Why??



----------------------------------------->>>>>>>>

:confused:
发表于 2003-1-5 21:12:39 | 显示全部楼层

Dear "Junlo" Gave out the answer!

Thanks a lot,I think i know.Thanks again.

Well,when you first run

env-update,

that will happen,becaulse /etc/make.profile
is a link to/usr/portage/profiles/default-x86-1.4/,but it
does not exsit if don't
emerge sync or
download portage source
when you install gentoo.

So don't mention it.

Just do next step

source /etc/profile.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Faint"

Thank you junlo.
发表于 2003-2-13 22:18:53 | 显示全部楼层

Re: Gentoo Linux 1.4 RC2硬盘安装参考指南(第二修订版)

最初由 Debentoo Gao 发布
你可以从任何一个Linux发行版下安装Gentoo。

硬盘安装Gentoo,只要下载一个stage3的tbz2包就行了(你是什么CPU的就下相应的包).

×注:以下具体的数据都以你自己机器的实际情况为主×

用现有的Linux启动登录至字符界面 (原有Linux启动时root=/bin/bash参数可不加,经本人试验,完全没问题)


。。。在哪里下载,如果我是赛扬的机器,下什么包?天哪,一语带过。。。。。。
发表于 2003-2-14 02:03:25 | 显示全部楼层
http://www.gentoo.org/main/en/mirrors.xml

下载哪个包要看你的赛样是什么主频的,也就是是P2,P3 OR P4的简化版。
发表于 2003-3-16 01:57:56 | 显示全部楼层
可不可以用windows下的winRAR来解压?
发表于 2003-3-16 02:09:21 | 显示全部楼层
可以。但是解开了你还要copy到你得linux分区里面。
发表于 2003-3-16 02:12:53 | 显示全部楼层
"#tar -xvjpf stage3--athlon-1.4_rc2.tbz2(我用的是Duron你是什么CPU的就下相应的包). "

我下的怎么没有分这么详细啊,
只分I386,PPC之类的没有连类型都分出来的?


Debentoo Gao老兄,
你在哪里下的呀?
发表于 2003-3-16 02:37:50 | 显示全部楼层
不能用winrar解压
这样会丢失权限信息(tar -p的作用)

下载package用pentium3的(p3/p4都是这个,要是pii celeron就用i686的包)

btw..很难想象一个连tar都不会的人装gentoo。
 楼主| 发表于 2003-3-16 13:39:50 | 显示全部楼层

Re: Re: Gentoo Linux 1.4 RC2硬盘安装参考指南(第二修订版)

最初由 ppip 发布


。。。在哪里下载,如果我是赛扬的机器,下什么包?天哪,一语带过。。。。。。

兄弟,你连塞扬属于那一级的x86CPU都不清楚,I服了U
发表于 2003-3-17 01:09:24 | 显示全部楼层
呵呵,gao兄最近少见阿。都忙什么呢,来了版上发一个文就下去了?!不太好吧。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表