LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-18-2003, 06:53 AM   #1
subh
Member
 
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:
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
 
Old 08-18-2003, 02:01 PM   #2
MacKtheHacK
Member
 
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
gargamel237
Member
 
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
acid_kewpie
Moderator
 
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
Quote:
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
yowwww
Member
 
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
 
  


Reply


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:25 PM.

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