Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-18-2003, 06:53 AM   #1
Registered: Jun 2003
Posts: 78

Rep: Reputation: 15
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: boot 32M swap 512M / 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
# rc-update add net.eth0 default

# emerge -k lilo
my lilo.conf :-


append="root=/devram0 init=/linuxrc"

# 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 to /boot/ can not start "/boot/": 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.
Old 08-18-2003, 02:01 PM   #2
Registered: Jul 2003
Location: Boston, MA, USA
Distribution: RedHat, SuSE, Gentoo, Slackware, Mandrake ...
Posts: 111

Rep: Reputation: 15
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)".
Old 08-18-2003, 02:54 PM   #3
Registered: Aug 2003
Location: Los Angeles
Distribution: gentoo
Posts: 52

Rep: Reputation: 15
Ditto on the grub. It's also easier to use once you're used to it.
Old 08-18-2003, 03:47 PM   #4
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Fatal: NO image have been defined or default image does not exist.
well... which is it? that's a pretty concise error message...

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...
Old 08-18-2003, 04:37 PM   #5
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Rep: Reputation: 30
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual G5 PowerPC: Install Gentoo/Gentoo on OSX? MadSkillzMan General 9 06-29-2005 02:17 PM
using GRP on gentoo cmario00 Linux - General 1 01-21-2005 03:37 PM
Miscellaneous Question / Gentoo-2004.3 , UniversalCD+GRP introuble Linux - Newbie 2 12-02-2004 02:26 PM
Gentoo: Installing Xfree and KDE as GRP Tomex Linux - Distributions 0 03-20-2004 03:34 PM
gentoo grp install PenGPow Linux - Software 2 08-17-2003 05:06 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration