Successfully installed gentoobasedonalphaplatform, issued an article.
It is hard, while gentoo soon out of distribution, but alphaplatform actually it's not on the home page, foralpha installationguide two months ago on a dress (of the previously loaded RH7.2 deleted), the result because the bootloader can't, white dress, even starting questionable. A recent comparison, in carefully studied the aboot document took three days to finally install the base system, is now installed on X. No nonsense, first, that the machine configuration, alpha21164500mhz, 256mmem, EB164 compatible motherboards, hard drives, 2 × SCSI18.2G SRM5.1bootrom. Luckily I had the good fortune to the version of the SRM high enough, otherwise also to brush bios again. (In fact, this step can light stuck many dare to eat crabs) download gentoo1.4RC1test4 ISO (I have been waiting it out rc4foralpha ISO, ppc, sparc, hppa versions are updated, and that is updated, a land foralpha not me) carved into the disc. On the machine, enter the SRM State, after the discovery of the optical showdev device numbers for dka500. It'seasy bootdka500-fl0, bootable CD-ROM,. Enter linux, at first installation steps and little different than the x 86 platform: modprobeeepro100 (recognize NIC) ifconfigeth0192.168.0.2netmask255.255.255.0broadcast192.168.0.255up/sbin/routeadd-netdefaultgw192.168.0.1netmask0.0.0.0metric1et0 change etc/resolv.conf, set dnsserevr. Datexxxxxxx set time fdisk/dev/sda hard disk partition, it needs to say that, because of the particularity of the alpha platform, it only recognize BSD-style partition style (that is, it does not recognize partition, only recognize slice style). At the same time, due to its characteristics, so bootloader---aboot partition must pay attention to this point, the first partition's starting sector must 2048block after (also recommended 512), which is about 1m space to put the aboot boot loader (in fact, aboot it 80k). Two months ago when I first installed didn't notice, the results until after the entire distributionbuild found partitions are wrong, the Halo! remaining partition is easy, in accordance with a BSD-style, four partitions are a, b, c, d is actually/dev/sda1/boot128m,/dev/sda2swap768m,/dev/sda3/var,/dev/sda4/. Mke2fs-j/dev/sda1 mke2fs-j/dev/sda4 (both partitions must use ext2 or ext3, otherwise aboot disown) mkswap/dev/sda2 mkfs.xfs-lsize = 32m/dev/sda3 I tried xfs partition in/var format. Specific parameters, see Introduction to gentoo Web site. Swapon/dev/sda2 on/mnt/swap mkdir gentoo mount/dev/sda4/mnt/gentoo mkdir/mnt/gentoo/boot mount/dev/sda1/mnt/gentoo/boot mkdir/mnt/gentoo/var mount/dev/sda3/mnt/gentoo/var cd/mnt/gentoo lynxhttp://www.ibiblio.org/pub/linux/distributions/gentoo/releases/1.4_rc1/alpha/win stage1 install package tar-xvjpf/cdrom/mnt/gentoo/stage1-* .tar.bz2 unpack installation package mount-tprocproc/mnt/gentoo/proc cp/etc/resolv.conf/mnt/gentoo/etc/resolv.con chroot/mnt/gentoo/bin/bash this step is important to enter the compilation environment, just like the cover of the umbrella. :-) Env-update (there may be unsuccessful, never mind, emergesync a just fine, in fact, is to install the package too old needs to be updated) Regenerating/etc/ld.so.cace ... source/etc/proile emergesync nano-w/etc/make.conf here that you want to change something, the most important of which is inside the default cpu models into what you want, I'm 21164, so changed to EV56, if you're confused, that's OK, uname-p one. Cd/usr/portage scripts/bootstrap.sh difficultiesBitter journey finally started, and then I look at the time, took me about four hours, here it compiled gcc, binutils, glibc, gettext, and compile binutils, gcc, gettext. Now enter the stage2, emerge-psystem emergesystem more exaggerated, a total of 73 components had made up my 6 and a half hours. Access stage3 ln-sf/usr/share/zoneinfo/path/to/etc/localtime timezonefile/set time zone the following path/to/by zoneinfo timezonefile is your time zone path, found in Asia, and then locate your nearest city, make the connection. Start compiling kernel emergesys-kernel/alpha-sources note, and x 86 platforms, I desperately wanted to try emergesys-kernel/gentoo-sources to total system tell me these ebuilds are masked, wants to break his head can't figure out why, and later into the next see/usr/portage/sys-kernel knew that if he died:! stupid-(I use alpha machine! emergeebuilds rigour evident. Cd/usr/src/linux makemenuconfig here some attention to BSD-style partition support knitted into the VFS, devfs partition also arranges in, otherwise it will cause kenelpanic, I just ... Oh, do not say bad things to do, how to run my head .... preparation of a kernel you want to spend my whole hour! start missing in that one p42.4G Server 4 minutes to compile a kernel of good times come ... also note the drivers, and so on and so forth makedep makeboot this and x 86 platforms, huapiao slangin! makemodules makemodules_install cp/usr/src/linux/arch/alpha/boot/boot mvlinux.gz/emergeapp-admin/sysklogd rc-updateaddsysklogddefault emergesys-apps/vcron rc-updateaddvcrondefault this wouldn't say. Emergesys-apps/xfsprogs designed to xfs uses change passwd change/etc/fstab rootpassword echomymachine.mydomain.com >/etc/hostname this easy. Change/etc/osts change/etc/modules.autoload nano-w/etc/conf.d/net rc-updateaddnet.eth0default nano-w/etc/rc.conf to change the time zone (a big heap of routingjobs) last is aboot installation, run after loading emergeaboot swriteboot/dev/sda/boot/bootlx put abootcopy to the starting sector, and then abootconf/dev/sda4 change aboot the initial configuration, because the/partition in the initial state is/dev/sda2/dev/sda4, if only in the version prior to aboot0.6 change compilation parameters, recompile the aboot (gosh, even compile), now 0.9 much, wiping the sweat ing ... To the next according to aboot.conf.example/etc-like into a aboot.conf. Oh etc-update exit exit the chroot State cd/umount/mnt/gentoo/boot umount/mnt/gentoo/proc umount/mnt/gentoo/var umount/mnt/gentoo reboot restart! HA! gentooforalpha finally packed, the world's first Chinese version of gentoobasedon alphaplatform installationguide is born. Fast clapping! but finished loading, this set of Linux is 32bit, of sorts. Anyway, I still have a hard drive, another day Pack set netbsdforalpha, this is pure 64-bit system ...
No comments:
Post a Comment