gentoo GRP install
Hi All,
I am a newbie to Gentoo. I tried to install stage3(from live cd) on my pentium 4 machine.I was installing on 2nd hard disk. there is no other os on the hard disk.I followed the following instruction, which has been followed by many Gentoo newbie:- *********** # fdisk new harddisk install: 1.dev/hda1 boot 32M 2.dev/hda2 swap 512M 3.dev/hda3 / 3000M or even big # mke2fs /dev/hdb1 (boot partition) # mke2fs -j /dev/hdb3 (/ patition) # mkswap /dev/hdb2 # swapon /dev/hdb2 # mount /dev/hdb3 /mnt/gentoo # mkdir /mnt/gentoo/boot # mount /dev/hdb1 /mnt/gentoo/boot # tar -xvjpf /mnt/cdrom/stages/stage3-pentium4-20030726.tar.bz2 -C /mnt/gentoo # tar -xvjf /mnt/cdrom/snapshots/portage-20030731.tar.bz2 -C /mnt/gentoo/usr # cp -R /mnt/cdrom/distfiles /mnt/gentoo/usr/portage/distfiles # cp -a /mnt/cdrom/packages/ /mnt/gentoo/usr/portage/packages/ # mount -t proc proc /mnt/gentoo/proc # cp /etc/resolv.conf /mnt/gentoo/etc/ # chroot /mnt/gentoo /bin/bash # PKGDIR=/usr/portage/packages/ # env-update # source /etc/profile # ln -sf /usr/share/zoneinfo/Austrlia/Sydney /etc/localtime # nano /etc/fstab /dev/hdb1 /boot ext2 noauto,noatime 1 2 /dev/hdb3 / ext3 noatime 0 1 /dev/hdb2 none swap sw 0 0 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0 proc /proc proc defaults 0 0 # emerge -k sys-kernel/gentoo-sources # emerge -K genkernel (-K must be big) # genkernel (spent 1hour) # emerge -k hotplug # rc-update add hotplug default # emerge -k app-admin/sysklogd # rc-update add sysklogd default # emerge -K sys-appsvcron # rc-update add vcron default # crontab /etc/crontab # passwd # useradd subhendu -m -G users,wheel,audio -s /bin/bash # passwd subhendu # echo SUBHENDU > /etc/hostname # nano /etc/resolv.conf nameserver 202.96.128.143 # rc-update add net.eth0 default # emerge -k lilo my lilo.conf :- boot=/dev/hdb map=/boot/map install=/boot/boot.b prompt timeout=50 lba32 default=linux image=/boot/kernel-2.4.20-gentoo-r5 label=Gentoo root=/dev/hdb3 initrd=/boot/initrd-2.4.20-gentoo-r5 append="root=/devram0 init=/linuxrc" #/sbin/lilo # USE="bindist" emerge -k xfree # etc-update # exit # cd / # umount /mnt/gentoo/boot && umount /mnt/gentoo/proc && umount /mnt/gentoo # reboot ****************** I am getting error when i am running /sbin/lilo:- warning: /dev/hdb is not on the first disk. warning: unable to determine the video adaptor in the system. Added Gentoo Fatal: NO image have been defined or default image does not exist. when I run genkernel, I get the following error message:-> Copying System.map to /boot/System.map.2.4.20-gentoo-r5 can not start "/boot/System.map": no such file or directory. #On running "emerge -k hotplug" :-> Warning: the fxload program was specified off this package Warning: emerge fxload if you need it. I have tried to install Gentoo many times. But no result. help please. thanks subh |
Why are you using LILO? Gentoo installs usually use grub, which, IMHO, has better support for this kind of thing. The error messages indicate that lilo is trying to boot off your first disk, even when it shouldn't. I think you should install using grub, which will let you specify the second drive as "root (hd1)".
|
Ditto on the grub. It's also easier to use once you're used to it.
|
Quote:
as for that copy, you are clearly in the wrong directory... the error shows you are in /boot already... but again, big up the grub massive... |
I concur with those who like grub.
I just recently wrote a guide on gentoo installs using live cd's and grp check out the link below and then the gentoo guide there if interested |
All times are GMT -5. The time now is 07:48 AM. |