[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4779: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4781: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4782: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4783: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Gentoo Taiwan 討論區 • 檢視主題 - Boot 不起 boot了不知對不對

Boot 不起 boot了不知對不對

什麼?Gentoo 裝不起來?核心怎麼編?安裝失敗等問題?來這裡求救吧!

版主: Forums Team

Boot 不起 boot了不知對不對

文章zerop2 » 週日 4月 23, 2006 7:13 pm

我的分配是這 , 不知在grub的設定錯了沒有 ?

fdisk

/dev/hda2 --- /mnt/gentoo/boot +64M
/dev/hda3 --- swap +700M
/dev/hda4 --- gentoo +3800M

mke2fs /dev/hda2 // boot
mke2fs -j /dev/hda4 // -j for ext3
mkswap /dev/hda3
swapon /dev/hda3

mount /dev/hda4 /mnt/gentoo
mkdir /mnt/gentoo/boot
mount /dev/hda2 /mnt/gentoo/boot

cd /mnt/gentoo
ifconfig eth1 up
net-setup eth1
adsl-setup
adsl-start

vi /etc/resolv.conf
nameserver 203.198.7.66
nameserver 218.102.23.228

uname -m //check which stage you download i686 or x86
links mirror.gentoo.gr.jp
tar xvjpf stage3...
tar xvjf portage... -C /mnt/gentoo/usr

mirrorselect -i -o >> /mnt/gentoo/etc/make.conf

cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf

mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev

chroot /mnt/gentoo /bin/bash
env-update; source /etc/profile
emerge --sync

Stage 1 : cd /usr/portage; scripts/bootstrap.sh
Stage 1,2 : emerge system

nano -w /etc/fstab

/dev/hda2 /boot ext2 defaults,noatime 1 2
/dev/hda3 swap swap sw 0 0
/dev/hda4 / ext3 noatime 1 1

none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0

/dev/cdrom /mnt/cdrom auto noauto,user 0 0

ln -sf /usr/share/zoneinfo/RPC /etc/localtime
#emerge gentoo-sources
#emerge genkernel; genkernel --menuconfig all

or

#emerge -k gentoo-sources
#cd /usr/src/linux
#make menuconfig
#make dep
#make bzImage
#make modules
#make modules_install
#cp /usr/src/linux/System.map /boot/System.map-2.4.20
#cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.4.20

emerge syslog-ng
rc-update add syslog-ng default
emerge vixie-cron
rc-update add vixie-cron default
emerge hotplug
rc-update add hotplug default

if using genkernel

#emerge hotplug
#rc-update add hotplug default

# emerge grub
# nano -w /boot/grub/grub.conf

default 0
timeout 30
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo Linux 2.6.12-r10
root (hd0,0)
kernel /boot/kernel-genkernel-x86-2.6.12-gentoo-r10 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
initrd /boot/initramfs-genkernel-x86-2.6.12-gentoo-r10

# grep -v rootfs /proc/mounts > /etc/mtab

# emerge lilo
# nano -w /etc/lilo.conf
boot=/dev/hda
prompt
timeout=50
default=gentoo

image=/boot/kernel-<核心版本>
label=gentoo
read-only
#使用 genkernel 的人:
append="init=/linuxrc real_root=/dev/hda3 ramdisk=8192"
root=/dev/ram0
initrd=/boot/initrd-<核心版本>
#不是使用 genkernel 的人:
root=/dev/hda3

#/sbin/lilo


# exit
# cd
# umount /mnt/gentoo/boot /mnt/gentoo/dev /mnt/gentoo/proc /mnt/gentoo
# reboot

最後我用 install cd boot 了

boot:gentoo /dev/hda2 <- /boot 在這 是這樣boot嗎?
zerop2
 
文章: 19
註冊時間: 週日 4月 23, 2006 2:10 am

文章zerop2 » 週日 4月 23, 2006 7:20 pm

我boot了
還是 boot cd

root partition 還是install cd 那個
怎麼辦
zerop2
 
文章: 19
註冊時間: 週日 4月 23, 2006 2:10 am

文章zerop2 » 週日 4月 23, 2006 7:29 pm

大哥們 我還是新手

我的/etc/fstab
打錯了

這是我的fstab 到底我欠什麼 才可以boot 進 自己的gentoo

/dev/hda2 /boot ext2 noauto,noatime 1 2
/dev/hda3 none swap sw 0 0
/dev/hda4 / ext3 noatime 0 1

proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
zerop2
 
文章: 19
註冊時間: 週日 4月 23, 2006 2:10 am

文章zerop2 » 週日 4月 23, 2006 7:31 pm

編輯完了 grub.conf
我用 grub-intsall /dev/hda2

這是我 /boot的地方
不知對不對
zerop2
 
文章: 19
註冊時間: 週日 4月 23, 2006 2:10 am

文章zerop2 » 週日 4月 23, 2006 8:07 pm

i successfully boot with floopy with grub

but display color is not like install cd

i want 1024*... but it is 640*....

how to change it?
zerop2
 
文章: 19
註冊時間: 週日 4月 23, 2006 2:10 am

文章scsi » 週二 4月 25, 2006 11:21 am

世界再大,不過是妳我之間的事
:111.gif: 欲使用GOT的ebuild請看
圖檔  
頭像
scsi
 
文章: 1326
註冊時間: 週二 10月 14, 2003 7:49 am

文章zxpxyz » 週日 5月 14, 2006 1:35 am

zxpxyz
 
文章: 3
註冊時間: 週日 5月 14, 2006 1:29 am


回到 Gentoo 安裝

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 7 位訪客

cron