Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Hi I am installing Gentoo Linux on hopefully what will be a dual boot system. However this is now the second attempt as on the previous occasion I managed to mess lilo.conf up. So this time before I reboot I'm looking for some advice as to whether I have got it right this time or not.
My partition table is as follows:
/dev/hda1 NTFS, windows XP
/dev/hdb1 EXT3 /boot
/dev/hdb2 swap
/dev/hdb3 ReiserFS /
#For dual booting windows/other OS
other=/dev/hda1
label=WindowsX
Does this look right? My boot image is in hdb1 which is my boot partition.
You might have to know a little about the Gentoo way of doing things before you answer this question as it is slightly different. Here is an quote from the docs:
quote:
# cd /usr/src/linux
# source /etc/profile
Again, this updates your paths. If you get an error saying gcc is not found,
this is what you may have to do.
# make menuconfig
# make dep && make clean bzImage modules modules_install
# mv /boot/bzImage /boot/bzImage.orig
[if bzImage already exists]
# cp /usr/src/linux/arch/i386/boot/bzImage /boot
So in effect the Gentoo process does not create a vmlinuz entry, as is the standard practice, it just moves the bzImage file to the boot directory.
Can anyone advise what I have to to to get it right this time? I definately don't want to go through this very long process again.
So in effect the Gentoo process does not create a vmlinuz entry, as is the standard practice
why do you say that? you acn call it whatever you want...
the lilo setup looks fine. personally i'd suggest going with grub instead though, config might look a little scary at first, but the end result looks a lot nicer and it's also a lot easier to get back into the system if something is wrong.
you certainly shouldn't have reinstalled from scratch though, just from a lilo problem. just boot to the gentoo cd and chroot like you did previously, source the relevant files again and you'll be fine.
Thanks dude. My confusion is that I'm still more or less a Linux n00b. I can pretty much follow instructions, but i'm still not sure what everything is yet or what it does.
As for Grub, yes I like Grub, it is robust and pretty to look and and on the whole highly effective. But I know nothing about configuring it. I however know a little about lilo, so untill I'm a bit more confident - and just to get things going I thought it best to stick with what I was familiar with.
So in your view, knowing that my boot image "bzImage" is on /dev/hdb1 and my root partition is on /dev/hdb3 are you 100% certain I have got this right? It is a n00b question and I appologise for that, but I want to be sure I can at least get to run level 3 this time.
One other point is, when you do emerge system, does this install X too, or do I need to install X seperately?
well it's conceptually a little easier on lilo for a simple installation like yours. you can just check with "ls" wether that file is there or not really. if it's there and lilo installs correctly then you should be fine, and will then have to rely on the quality of the kernel you built.... so run "lilo -v" to check everything looks ok. lilo shouldn't install unless everything looks right.
not sure exactly what system does cover really. i don't believe it does, but it's easy enough to add on.
Originally posted by raid517 One other point is, when you do emerge system, does this install X too, or do I need to install X seperately?
No, the system is the basic stuff you need to run Linux in the console.
You will have to build X by emerging a window manager or desktop environment. In fact, I think if you emerge mc that will drag along X with it.
Here is how I built mine from stage one chroot from inside of my Redhat distro(I have dial up, so I had some hoops to jump and this was easiest):
Code:
cd /usr/portage
scripts/bootstrap.sh
emerge sync
emerge system
ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime
emerge -u ppp wvdial gaming-sources gentoo sysklogd dcron reiserfsprogs mc links fluxbox
rc-update add sysklogd default
crontab /etc/crontab
rc-update add dcron default
rc-update add gpm default
cd /usr/src/linux
make menuconfig
I didn't bother to re-boot at this point as I had researched what I wanted to install, so I just got and made my kernel so alsa nvidia, etc would compile OK and continued on until I had it fully built.
I did my first from scratch and as soon as links emerges, I was browsing the Gentoo and the ex-lno forums.
Great fun being forced into learning Linux with the command line.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.