View previous topic :: View next topic |
Author |
Message |
tirantloblanc Apprentice
Joined: 22 Oct 2002 Posts: 179 Location: Barcelona, ES
|
Posted: Sun Oct 27, 2002 4:31 pm Post subject: Re: lilo |
|
|
scott8711 wrote: | it looks like lilo is not on the cd. If it is how do I instal it? and how do I use it? the master boot record is no longer the problem. I need to find out if any of the options in "#make menuconfig" could cause a conflict and prevent the bzmage file from being created.
|
# emerge lilo |
|
Back to top |
|
|
Pluvius Apprentice
Joined: 15 Oct 2002 Posts: 167 Location: Phoenix, Arizona
|
Posted: Sun Oct 27, 2002 5:48 pm Post subject: Re: later |
|
|
scott8711 wrote: | ts late and my back is killing me. I am going to tunr off the infernal machines and go to bed. I will check this thread in the morning to look for other reples. I am on mounain time.
Thanks
Scott |
Okay, so when you try again, make sure you have your /boot partition mounted.
This is not a grub or lilo issue. Your grub kernel line is now correct. It sounds like either you deposited bzImage in the wrong directory or there was a problem building the kernel and bzImage doesn't exist. To confirm that the kernel built properly, try building the kernel again using the existing menuconfig settings.
cd /usr/src/linux
This time, separate the commands and do them one at a time, but in order:
make dep
make clean
make bzImage
make modules
make modules_install
If any of these returns an error and dumps you out, then there is a conflict in menuconfig. If it doesn't, then bzImage was generated and is located in the directory /usr/src/linux/arch/i386/boot/
Then just follow the command in the install instructions
cp /usr/src/linux/arch/i386/boot/bzImage /boot
If you have to run through menuconfig again, make sure you head the warning instructions listed directly under this part of the installation instructions. There are several options which must be set in order for the kernel to work properly with the gentoo install.
It took me a few times to build the kernel the first time through. Don't worry, you can always go back and fiddle with the kernel options and rebuild once you get a working copy. Thats why the move command is in the instructions (it allows you to keep the current copy as bzImage.orig) while you try the new copy.
Cheers |
|
Back to top |
|
|
scott8711 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 145
|
Posted: Sun Oct 27, 2002 8:49 pm Post subject: bzImage not there |
|
|
I went through the commands individually and then looked for bzImage in /usr/src/linux/arch/i386/boot. It was not there. I did not get kicked out of any of the comands.
I do not have a /mnt/gentoo/boot partition. I was told that I did not need it.
My partition comands were;
mkdir /mnt/gentoo
mount /dev/hda1 /mnt/gentoo
mkdir /mnt/gentoo/usr
mount /dev/hda6 /mnt/gentoo/usr
mkdir /mnt/gentoo/var
mount /dev/hda7 /mnt/gentoo/var
mkdir /mnt/gentoo/hda8
mount /dev/hda8 /mnt/gentoo/hda8 |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Oct 27, 2002 9:18 pm Post subject: Re: bzImage not there |
|
|
scott8711 wrote: | mkdir /mnt/gentoo/hda8
mount /dev/hda8 /mnt/gentoo/hda8 |
That's the problem, you dont have the proper directories mounted and your /usr and /var dirs are empty. You will probably have to redo the installation, but unless you absolutely have to I would recommend having /dev/hda1 as /boot, /dev/hda2 as your swap and /dev/hda3 as per the installation instructions. Basically, follow the instructions to the letter regarding partitions
Before you do that, do you have any other partitions ie windows, what is your exact disk and partition setup? _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
scott8711 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 145
|
Posted: Sun Oct 27, 2002 9:23 pm Post subject: partitions |
|
|
I have no other partitions. The guy that turned me on to gentoo told me to do it they way you just saw it in my last post. He said he usually uses separet partitions for var and usr and the rest of the data i.e. hda8 used for other programs. He said he has never had a problem wit that. I will wait for your response before i go ahead and dump all of my partitons, re partition and start again.
Scott |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Oct 27, 2002 9:27 pm Post subject: |
|
|
what is your exact partition setup, including other disks and windows partitions? _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
scott8711 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 145
|
Posted: Sun Oct 27, 2002 9:30 pm Post subject: partitions |
|
|
hda1 root 800Mb
hda5 swap 2Gb
hda6 usr 8Gb
hda7 var 1Gb
hda8 hda8 50 Gb |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Oct 27, 2002 9:55 pm Post subject: |
|
|
Your partitions are far too complicated and the wrong size for a relative newbie (i think thats what you are...)
Anyway, you will need to redo your installation. Use fdisk to remove all your existing gentoo partitions and follow the partitioning instructions exactly as in the instructions
ie:
/dev/hda1 mounted as /boot 100MB
/dev/hda2 as swap 256MB (depends on RAM)
/dev/hda3 mounted as / rest of disk
good luck, and tell your friend it was too complicated _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
scott8711 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 145
|
Posted: Sun Oct 27, 2002 10:00 pm Post subject: partitions |
|
|
I have started again. thanks for the help. Your assuption is correct,this s my first linux system so I am more then just a newbie |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sun Oct 27, 2002 10:37 pm Post subject: Re: bzImage not there |
|
|
TheCoop wrote: | I would recommend having /dev/hda1 as /boot, | /boot does not have to be its own partition. There was a discussion about it here. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Oct 27, 2002 10:46 pm Post subject: |
|
|
it says 'recommend' _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
scott8711 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 145
|
Posted: Mon Oct 28, 2002 2:40 am Post subject: NO bzImage |
|
|
AAAHHHHHHh!!! I have just finished the recompile for the fifth time! I have follwed the instructions to the letter! I have done evrything everyone had told me to do! AND I STILL CANNOT CREATE A bzImage FILE. WHY, WHY, WHy, WHY! ALL I WANT IS FOR IT TO WORK! Could someone please answer this question :
Could there be a USE flag or something in the menuconfig that would prevent the bzImage file from being created and ifso what are they. I enable all of the options in the menuuconfig the the instructions say to.
I step through each of the comannds individually:
make dep
make clean
make bzImage !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
make modules
make modules_install
I get kicked out of none of them!!!
they all do something which leads me too beleive the the file is created somewhere.
my partitions are
/dev/hda1 /mnt/gentoo/boot
/dev/hda5 swap
/dev/hda6 /mnt/gentoo
hda1 = 100Mb
hda5 = 2 Gb, here is 1 Gb of RAM
hda6 = approx 57 GBb
Scott |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Mon Oct 28, 2002 2:52 am Post subject: |
|
|
Please post the last few lines of output when "make bzImage" finishes, and also the result of Code: | $ ls /usr/src/linux/arch/i386/boot |
_________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
scott8711 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 145
|
Posted: Mon Oct 28, 2002 3:40 am Post subject: bzImage may be created |
|
|
the last few lines of bzImageare as follows;
nodemgr.c: In function 'nodemgr_host-reset':
nodegr.c: 1307: parse error before "else"
make [3]: ***[nodemgr.0] error 1
make [3]: leaving directory '/usr/src/linux-2.4.19-gentoo-r9/drivers/ieee1394'
make [2]: ***[first_rule] error 2
make [2]: leaving directory '/usr/src/linux-2.4.19-gentoo-r9/drivers/ieee1394'
make [1]: ***[_subdir_ieee1394] error 2
make [1]: leaving directory '/usr/src/linux-2.4.19-gentoo-r9/drivers
make: ***[_dir_drivers] error 2
# "ls /usr/src/linux/arch/i386/boot" returned
Makefile bootsect.s compressed install.sh setup.S video.S
after seeing the above ieee1394 error I went back into the menuconfig and deselected the ieee1394 option
# "ls /usr/src/linux/arch/i386/boot" now returnes
Makefile bbootsect.0 bootsect.s bsetup.0 bzImage install.sh tools
bboootsect bbootsect.s bsetup bsetup.s compressed setup.S video.S
I am going to try to finish the installation ans see if it worked
Scott |
|
Back to top |
|
|
scott8711 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 145
|
Posted: Mon Oct 28, 2002 3:56 am Post subject: Something Worked |
|
|
It boots up but now it boots up into grub. Why is that?
scott |
|
Back to top |
|
|
scott8711 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 145
|
Posted: Mon Oct 28, 2002 4:20 am Post subject: IT WORKS |
|
|
IT BOOTS!!! YES YES YES YES YES YEEEEEEEEESSSSS.
DAMN I'M GOOD !!!!!( AS SAID BY JIM CARREY IN ACE VENTURA, PET DETECTIVE)
Now it just boots to the linux command prompt. I assume i have to use the desktop configuration guide to create a GUI
Scott |
|
Back to top |
|
|
EzInKy Veteran
Joined: 11 Oct 2002 Posts: 1742 Location: Kentucky
|
Posted: Mon Oct 28, 2002 4:57 am Post subject: |
|
|
We knew you could
The desktop guide is a good next choice. |
|
Back to top |
|
|
scott8711 Tux's lil' helper
Joined: 25 Oct 2002 Posts: 145
|
Posted: Mon Oct 28, 2002 10:04 pm Post subject: Apology |
|
|
Everyone
In the excitement of getting my first Linux system to boot last night I said DAMN I'M GOOD. I forgot to give credit to those who helped me, sorry.
SO here you go:
DAMN YOUR ALL GOOD!!!!!!!!!!!!
Thanks
Scott |
|
Back to top |
|
|
Pluvius Apprentice
Joined: 15 Oct 2002 Posts: 167 Location: Phoenix, Arizona
|
Posted: Mon Oct 28, 2002 10:12 pm Post subject: |
|
|
Wait till you get one of the windows managers running. Then you'll feel good. I assume you'll be using KDE (similar to Windows) or Gnome (similar to Mac).
Glad we could help. |
|
Back to top |
|
|
|