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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-18-2003, 06:53 AM
|
#1
|
Member
Registered: Jun 2003
Posts: 78
Rep:
|
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
|
|
|
08-18-2003, 02:01 PM
|
#2
|
Member
Registered: Jul 2003
Location: Boston, MA, USA
Distribution: RedHat, SuSE, Gentoo, Slackware, Mandrake ...
Posts: 111
Rep:
|
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)".
|
|
|
08-18-2003, 02:54 PM
|
#3
|
Member
Registered: Aug 2003
Location: Los Angeles
Distribution: gentoo
Posts: 52
Rep:
|
Ditto on the grub. It's also easier to use once you're used to it.
|
|
|
08-18-2003, 03:47 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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...
|
|
|
08-18-2003, 04:37 PM
|
#5
|
Member
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533
Rep:
|
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 12:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|