|
发表于 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: |
|