身痕裝緊 gentoo
今次裝既原因為係左 Gentoo 2008.0 beta2 同 KDE-4用一種好奇怪既方法…就係用 VMware,但當然係裝去真的 partition 度,唔係裝入去 VM 度…
咁做只係因為我可以邊裝邊用 Windows!
[img]http://idler.pcinhk.com/im7/gentoo200805/partition_table_20080508.png[/img]
現有的 Partition table
[img]http://idler.pcinhk.com/im7/gentoo200805/vmware_type_linux26-64.png[/img]
[img]http://idler.pcinhk.com/im7/gentoo200805/vmware_usephydisk.png[/img]
[img]http://idler.pcinhk.com/im7/gentoo200805/vmware_usedisk1entire.png[/img]
[img]http://idler.pcinhk.com/im7/gentoo200805/vmware_2cpu.png[/img]
[img]http://idler.pcinhk.com/im7/gentoo200805/vmware_cdrom_use_install_cd.png[/img]
[img]http://idler.pcinhk.com/im7/gentoo200805/vmware_hw_summary.png[/img]
[img]http://idler.pcinhk.com/im7/gentoo200805/vmware_startted.png[/img]
[img]http://idler.pcinhk.com/im7/gentoo200805/fdisk_-l.png[/img][code]fdisk -l # 看多次 partition table
mke2fs -j /dev/hda3
mke2fs -j /dev/hda7
cd /mnt/
mount /dev/hda3 gentoo
cd gentoo
mkdir boot
mount /dev/hda1 boot
cd /mnt/gentoo
mkdir tmp
cd tmp
wget http://ftp.jaist.ac.jp/pub/Linux/Gentoo/releases/amd64/2008.0_beta2/stages/stage3-amd64-2008.0_beta2.tar.bz2
wget http://ftp.jaist.ac.jp/pub/Linux/Gentoo/snapshots/portage-latest.tar.lzma
# 首次見 lzma 的壓縮檔,壓縮率比 bzip2 更高,7zip 正是使用這個,看過測試顯示這種壓縮技術在壓縮和解壓時都比 bzip2 快得多!
tar xvjpf stage3-amd64-2008.0_beta2.tar.bz2
lzmadec < portage-latest.tar.lzma | tar xvf - -C /mnt/gentoo/usr
# 這樣解壓 .tar.lzma
vi etc/make.conf[/code][img]http://idler.pcinhk.com/im7/gentoo200805/makeconf_use.png[/img]
其餘 make.conf 的設定[code]CFLAGS="-march=athlon64 -msse3 -O3 -pipe"
]CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~amd64"
PORTDIR_OVERLAY=/usr/local/portage
GENTOO_MIRRORS="http://ftp.cs.pu.edu.tw/Linux/Gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
MAKEOPTS="-j3"
PORTAGE_TMPFS="/dev/shm"
FEATURES="sandbox ccache distlocks parallel-fetch"
CCACHE_SIZE="2G"
CCACHE_DIR="${PORTAGE_TMPDIR}/ccache"[/code]Commands... cont'd[code]cp -L /etc/resolv.conf /mnt/gentoo/etc/
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
mkdir /usr/local/portage
env-update
source /etc/profile
export PS1="(chroot) $PS1"
emerge --sync
emerge -av portage
etc-update
cd /etc
ln /usr/share/zoneinfo/Asia/Hong_Kong ./localtime -s
emerge -av gentoo-sources ccache vim
cd /usr/src/linux
make menuconfig[/code]下一步就是 configure the kernel 但 configure kernel 太複雜…而且部部機都唔同…
所以唔多講我點 configure…
不過可以講點用 genkernel[code]emerge genkernel
genkernel all[/code]PS: 要等好耐…
----------------------------------------------------------------------
裝 kde-4
先 unmask kde4 的 ebuild[code]# Masked qca-2.0 and dependencies for further testing, bug #129536
app-crypt/qca:2
app-crypt/qca-cyrus:2
app-crypt/qca-gnupg:2
app-crypt/qca-logger:2
app-crypt/qca-ossl:2
app-crypt/qca-pkcs11:2
~app-text/poppler-0.8.0
~app-text/poppler-bindings-0.8.0
# Unmask KDE 4.0.0
kde-base/amor:kde-4
kde-base/ark:kde-4
kde-base/blinken:kde-4
kde-base/bovo:kde-4
kde-base/cervisia:kde-4
kde-base/dolphin:kde-4
kde-base/drkonqi:kde-4
kde-base/gwenview:kde-4
kde-base/juk:kde-4
kde-base/kalgebra:kde-4
kde-base/kalzium:kde-4
kde-base/kamera:kde-4
kde-base/kanagram:kde-4
kde-base/kappfinder:kde-4
kde-base/kapptemplate:kde-4
kde-base/kate:kde-4
kde-base/katomic:kde-4
kde-base/kbattleship:kde-4
kde-base/kblackbox:kde-4
kde-base/kbounce:kde-4
kde-base/kbruch:kde-4
kde-base/kbugbuster:kde-4
kde-base/kcachegrind:kde-4
kde-base/kcalc:kde-4
kde-base/kcharselect:kde-4
kde-base/kcheckpass:kde-4
kde-base/kcminit:kde-4
kde-base/kcmshell:kde-4
kde-base/kcolorchooser:kde-4
kde-base/kcontrol:kde-4
kde-base/kcron:kde-4
kde-base/kdeaccessibility-colorschemes:kde-4
kde-base/kdeaccessibility-iconthemes:kde-4
kde-base/kdeaccessibility-meta:kde-4
kde-base/kdeaccounts-plugin:kde-4
kde-base/kdeadmin-meta:kde-4
kde-base/kdeartwork-colorschemes:kde-4
kde-base/kdeartwork-emoticons:kde-4
kde-base/kdeartwork-icewm-themes:kde-4
kde-base/kdeartwork-iconthemes:kde-4
kde-base/kdeartwork-kscreensaver:kde-4
kde-base/kdeartwork-kworldclock:kde-4
kde-base/kdeartwork-meta:kde-4
kde-base/kdeartwork-sounds:kde-4
kde-base/kdeartwork-styles:kde-4
kde-base/kdeartwork-wallpapers:kde-4
kde-base/kdebase-data:kde-4
kde-base/kdebase-kioslaves:kde-4
kde-base/kdebase-meta:kde-4
kde-base/kdebase-startkde:kde-4
kde-base/kdebugdialog:kde-4
kde-base/kdeedu-meta:kde-4
kde-base/kdegames-meta:kde-4
kde-base/kdegraphics-meta:kde-4
kde-base/kinfocenter:kde-4
kde-base/kdelibs:kde-4
kde-base/kde-l10n:kde-4
kde-base/kde-menu:kde-4
kde-base/kde-menu-icons:kde-4
kde-base/kde-meta:kde-4
kde-base/kdemultimedia-kioslaves:kde-4
kde-base/kdemultimedia-meta:kde-4
kde-base/kdenetwork-filesharing:kde-4
kde-base/kdenetwork-meta:kde-4
kde-base/kdepasswd:kde-4
kde-base/kdepimlibs:kde-4
kde-base/kdesdk-kioslaves:kde-4
kde-base/kdesdk-meta:kde-4
kde-base/kdesdk-misc:kde-4
kde-base/kdesdk-scripts:kde-4
kde-base/kdessh:kde-4
kde-base/kdesu:kde-4
kde-base/kdetoys-meta:kde-4
kde-base/kdeutils-meta:kde-4
kde-base/kde-wallpapers:kde-4
kde-base/kdf:kde-4
kde-base/kdialog:kde-4
kde-base/kdm:kde-4
kde-base/kdnssd:kde-4
kde-base/keditbookmarks:kde-4
kde-base/kfile:kde-4
kde-base/kfind:kde-4
kde-base/kfloppy:kde-4
kde-base/kfourinline:kde-4
kde-base/kgamma:kde-4
kde-base/kgeography:kde-4
kde-base/kget:kde-4
kde-base/kgoldrunner:kde-4
kde-base/kgpg:kde-4
kde-base/khangman:kde-4
kde-base/khelpcenter:kde-4
kde-base/khotkeys:kde-4
kde-base/kig:kde-4
kde-base/kioclient:kde-4
kde-base/kiriki:kde-4
kde-base/kiten:kde-4
kde-base/kjots:kde-4
kde-base/kjumpingcube:kde-4
kde-base/klettres:kde-4
kde-base/klines:kde-4
kde-base/klipper:kde-4
kde-base/kmag:kde-4
kde-base/kmahjongg:kde-4
kde-base/kmenuedit:kde-4
kde-base/kmilo:kde-4
kde-base/kmimetypefinder:kde-4
kde-base/kmines:kde-4
kde-base/kmix:kde-4
kde-base/kmousetool:kde-4
kde-base/kmouth:kde-4
kde-base/kmplot:kde-4
kde-base/knetattach:kde-4
kde-base/knetwalk:kde-4
kde-base/knetworkconf:kde-4
kde-base/knewsticker:kde-4
kde-base/knewstuff:kde-4
kde-base/knotify:kde-4
kde-base/kolf:kde-4
kde-base/kolourpaint:kde-4
kde-base/kompare:kde-4
kde-base/konqueror:kde-4
kde-base/konquest:kde-4
kde-base/konsole:kde-4
kde-base/kopete:kde-4
kde-base/kpasswdserver:kde-4
kde-base/kpat:kde-4
kde-base/kpercentage:kde-4
kde-base/kppp:kde-4
kde-base/kquitapp:kde-4
kde-base/krdc:kde-4
kde-base/kreadconfig:kde-4
kde-base/kreversi:kde-4
kde-base/krfb:kde-4
kde-base/kruler:kde-4
kde-base/krunner:kde-4
kde-base/ksame:kde-4
kde-base/kscd:kde-4
kde-base/kscreensaver:kde-4
kde-base/kshisen:kde-4
kde-base/ksmserver:kde-4
kde-base/ksnapshot:kde-4
kde-base/kspaceduel:kde-4
kde-base/ksplash:kde-4
kde-base/ksquares:kde-4
kde-base/kstars:kde-4
kde-base/kstart:kde-4
kde-base/kstartupconfig:kde-4
kde-base/kstyles:kde-4
kde-base/ksudoku:kde-4
kde-base/ksysguard:kde-4
kde-base/ksystraycmd:kde-4
kde-base/kteatime:kde-4
kde-base/ktimer:kde-4
kde-base/ktimezoned:kde-4
kde-base/ktip:kde-4
kde-base/ktouch:kde-4
kde-base/ktraderclient:kde-4
kde-base/kttsd:kde-4
kde-base/ktuberling:kde-4
kde-base/kturtle:kde-4
kde-base/ktux:kde-4
kde-base/kuiserver:kde-4
kde-base/kuiviewer:kde-4
kde-base/kurifilter-plugins:kde-4
kde-base/kuser:kde-4
kde-base/kwallet:kde-4
kde-base/kweather:kde-4
kde-base/kwin:kde-4
kde-base/kwordquiz:kde-4
kde-base/kworldclock:kde-4
kde-base/kwrite:kde-4
kde-base/libkcddb:kde-4
kde-base/libkcompactdisc:kde-4
kde-base/libkdeedu:kde-4
kde-base/libkdegames:kde-4
kde-base/libkmahjongg:kde-4
kde-base/libkonq:kde-4
kde-base/libkscan:kde-4
kde-base/libkworkspace:kde-4
kde-base/libplasma:kde-4
kde-base/libtaskmanager:kde-4
kde-base/lilo-config:kde-4
kde-base/lskat:kde-4
kde-base/marble:kde-4
kde-base/nepomuk:kde-4
kde-base/nsplugins:kde-4
kde-base/okular:kde-4
kde-base/parley:kde-4
kde-base/phonon:kde-4
kde-base/plasma:kde-4
kde-base/poxml:kde-4
kde-base/qimageblitz
kde-base/secpolicy:kde-4
kde-base/solid:kde-4
kde-base/soliduiserver:kde-4
kde-base/strigi-analyzer:kde-4
kde-base/superkaramba:kde-4
kde-base/svgpart:kde-4
kde-base/sweeper:kde-4
kde-base/systemsettings:kde-4
kde-base/umbrello:kde-4[/code]run emerge -avD kde-base/kde-meta:kde-4
[img]http://idler.pcinhk.com/im7/gentoo200805/emerge_kde4_av.png[/img] 睇黎我成世都唔會識用linux#bang# [quote]原帖由 [i]ANTI@#[/i] 於 2008-5-9 12:25 AM 發表 [url=http://www.pcinhk.com/discuz/redirect.php?goto=findpost&pid=96410&ptid=10152][img]http://www.pcinhk.com/discuz/images/common/back.gif[/img][/url]
睇黎我成世都唔會識用linux#bang# [/quote]
慢慢啦~ 不過一開波太難會死人的 係咪裝完改boot loader就可以用真機boot得起? [quote]原帖由 [i]kelvinlok[/i] 於 2008-5-9 00:48 發表 [url=http://www.pcinhk.com/discuz/redirect.php?goto=findpost&pid=96425&ptid=10152][img]http://www.pcinhk.com/discuz/images/common/back.gif[/img][/url]
係咪裝完改boot loader就可以用真機boot得起? [/quote]Yes !
其實而家可以裝 grub 再 reset,不過我想 compile 埋個 kde4 先攪… 另外,即使 VMware set 左用 2 粒 CPU,都唔會真實地用 2 粒的…即係唔會有 2 粒 U 既 perforamce…
即係話... 果 2 粒 U 都係模擬出黎… #cher# kde-4 的各頂組件在 compile 時會有進度顯示…
[img]http://idler.pcinhk.com/im7/gentoo200805/compiling_kde4_kolourpaint.png[/img] [quote]
用一種好奇怪既方法…就係用 VMware,但當然係裝去真的 partition 度,唔係裝入去 VM 度…
[/quote]
好正 #yup# 我也玩過,裝到想死,最後是失敗 OFF POST 講下
你可以試下用virtualbox replace vmware
virtualbox 系opensource,而且真系幾好用 first stage ok.. only installed kde-4
skim can't be merge so far
in fact.. not very good to use compared with kde-3.5
also not very beautiful
and seem intended to copy some from vista and mac Gentoo係幾多野玩#flower#
但最近upgrade 部Linux, 都係打算用回Centos吧 =.= 容易好多...
Ubuntu都唔錯家用一流, 但Centos比較接一般客戶的RHEL#eh2# given up kde-4
#ham_sub# 頂佢…最後要完全 unmerge 先可以裝到 skim 打到中文,之前 scim 同 skim 都會 failed to compile!
攪左一大輪都係要用返 KDE3.5,但 KDE 3.5 正常得多… #giveup#我想問裝linux果陣自己切好晒隻disk先
定等佢自動攪好
如果自己攪又應該點切先對#question# [quote]原帖由 [i]閒魂[/i] 於 2008-5-12 09:59 發表 [url=http://pcin.sytes.net/discuz/redirect.php?goto=findpost&pid=96948&ptid=10152][img]http://pcin.sytes.net/discuz/images/common/back.gif[/img][/url]
頂佢…最後要完全 unmerge 先可以裝到 skim 打到中文,之前 scim 同 skim 都會 failed to compile!
攪左一大輪都係要用返 KDE3.5,但 KDE 3.5 正常得多… [/quote]GNOME唔好用咩?#wft# [quote]原帖由 [i]kelvinlok[/i] 於 2008-5-12 01:01 PM 發表 [url=http://www.pcinhk.com/discuz/redirect.php?goto=findpost&pid=96958&ptid=10152][img]http://www.pcinhk.com/discuz/images/common/back.gif[/img][/url]
GNOME唔好用咩?#wft# [/quote]
用中文用落我都覺得唔太好用 [quote]原帖由 [i]馬高仔[/i] 於 2008-5-12 13:02 發表 [url=http://pcin.sytes.net/discuz/redirect.php?goto=findpost&pid=96959&ptid=10152][img]http://pcin.sytes.net/discuz/images/common/back.gif[/img][/url]
用中文用落我都覺得唔太好用 [/quote]我覺得kde又樣衰又唔好用#ai_yo#
在學校大部份人都用gnome#ai_yo# , 係d solaris server先default用kde#ai_yo# [quote]原帖由 [i]kelvinlok[/i] 於 2008-5-12 13:01 發表 [url=http://www.pcinhk.com/discuz/redirect.php?goto=findpost&pid=96958&ptid=10152][img]http://www.pcinhk.com/discuz/images/common/back.gif[/img][/url]
GNOME唔好用咩?#wft# [/quote]用左 8 年都係覺得 KDE 好用過 GNOME…#confuse# [quote]原帖由 [i]馬高仔[/i] 於 2008-5-12 13:01 發表 [url=http://www.pcinhk.com/discuz/redirect.php?goto=findpost&pid=96957&ptid=10152][img]http://www.pcinhk.com/discuz/images/common/back.gif[/img][/url]
#giveup#我想問裝linux果陣自己切好晒隻disk先
定等佢自動攪好
如果自己攪又應該點切先對#question# [/quote]通常冇乜理由比佢自動攪,我亦對佢所謂既自動非常信唔過…
至於自己點切個 Partition,可以參考以下做法…
hda1 /boot 100M 放在最前
hda2 winxp 40-50G
hda3 linux / 30-50G
hda4 data(ntfs) 淨餘硬碟空間 [quote]原帖由 [i]閒魂[/i] 於 2008-5-12 06:10 PM 發表 [url=http://www.pcinhk.com/discuz/redirect.php?goto=findpost&pid=97003&ptid=10152][img]http://www.pcinhk.com/discuz/images/common/back.gif[/img][/url]
通常冇乜理由比佢自動攪,我亦對佢所謂既自動非常信唔過…
至於自己點切個 Partition,可以參考以下做法…
hda1 /boot 100M 放在最前
hda2 winxp 40-50G
hda3 linux / 30-50G
hda4 data(ntfs) 淨餘硬碟空間 ... [/quote]
#wft#問多樣野~ linux點搞先睇到ntfs [quote]原帖由 [i]馬高仔[/i] 於 2008-5-12 19:48 發表 [url=http://www.pcinhk.com/discuz/redirect.php?goto=findpost&pid=97018&ptid=10152][img]http://www.pcinhk.com/discuz/images/common/back.gif[/img][/url]
#wft#問多樣野~ linux點搞先睇到ntfs [/quote]
兩種辦法…
1. 用 kernel 己有的 NTFS(可算是沒有 Write support)
2. 用 NTFS-3G + Kernel 的 FUSE(完整的 Write support)
ntfs-3g 可在這裏找…
http://www.ntfs3g.org/
mount 用的 command 都是…
mount -t ntfs /dev/hda2 /mnt/winxp
或
mount -t ntfs-3g /dev/hda2 /mnt/winxp #wft#了解~
#question#如果想update kernel 同config佢要點做呢 [quote]原帖由 [i]馬高仔[/i] 於 2008-5-12 21:21 發表 [url=http://www.pcinhk.com/discuz/redirect.php?goto=findpost&pid=97062&ptid=10152][img]http://www.pcinhk.com/discuz/images/common/back.gif[/img][/url]
#wft#了解~
#question#如果想update kernel 同config佢要點做呢 [/quote]
cd /usr/src/linux
make menuconfig
揀一大輪…
make
make modules_install
make install [quote]原帖由 [i]閒魂[/i] 於 2008-5-12 09:23 PM 發表 [url=http://www.pcinhk.com/discuz/redirect.php?goto=findpost&pid=97063&ptid=10152][img]http://www.pcinhk.com/discuz/images/common/back.gif[/img][/url]
cd /usr/src/linux
make menuconfig
揀一大輪…
make
make modules_install
make install [/quote]
#yeah#唔該晒~ 郁得手了~ #yeah# [quote]原帖由 [i]馬高仔[/i] 於 2008-5-12 10:00 PM 發表 [url=http://www.pcinhk.com/discuz/redirect.php?goto=findpost&pid=97077&ptid=10152][img]http://www.pcinhk.com/discuz/images/common/back.gif[/img][/url]
#yeah#唔該晒~ 郁得手了~ #yeah# [/quote]
#yeah#衰左#yeah#
頁:
[1]