Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need help on Gentoo GRUB probem

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
cwkx



Joined: Fri Jun 17, 2005 8:46 pm
Posts: 2

PostPosted: Fri Jun 17, 2005 9:03 pm    Post subject: Need help on Gentoo GRUB probem Reply with quote

Hey there,
I used the guide systematically on the back of your magazine and everything was going perfectly with the stage 1 installation.

Here is a full account of all the errors / problems that occured during the isntall up to where I am: The first sign of an error was when I had just finished the long emerge --emptytree system (I didn't use --newuse as the hanndbook disrecommended it) - at the end of it wanted to make a bootdisk and I inserted a floppy, but it failed so I quit - it then said somethings failed and that there was errors (it may have been nothing but im worrying that something went wrong with the kernel compiling)

Anyway, I then made a GRUB bootloader as the handbook said and did a manual thingy and continue till it said "restart" - this was where the next unnatural thing occured, when umounting for the restart, I couldnt do one of the drives -it said it was busy (again it may be nothing)

On reboot, the GRUB loader booted up fine however whenever I boot the option, it says "File not found" - if I remove the line and just type "ls /" it doesn't show my kernel (kernel-2.6.11-r3 or something) instead the closest thing I can find is a vmlinuz or something - if I tell it that the kernel is that (whatever it is) I can bootup and install things (Im doing emerge xorg-x11 -av as I type this, in this vmlinuz boot)

Before I found out that vmlinuz made it run, I went back to the livecd and typed ls /boot/ and sure enough my kernel (which was kernel-2.6.11-r3 or something) was there. Also before I emerge xorg-x11 -av in vmlinuz, I typed ls /boot/ but the directory seemed to be empty!?

Please expalin whats happening, im confused and want to know why GRUB isn't seeing my kernel and why & what vlinuz is. If you need more details on the problem, please ask.

Thanks and kind regards, Chris
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8365
Location: Warrington, UK

PostPosted: Sat Jun 18, 2005 12:07 am    Post subject: RE: Need help on Gentoo GRUB probem Reply with quote

A few points. Firstly, the instructions in the magazine override the handbook, because the DVD install is different in some ways. Having said that, the handbook does not recommend against emerge --newuse system, in fact it recommends it. The only time you need --emptytree is if you change CFLAGS.

The vmlinuz file is the kernel. When you do make install in the kernel directory, it links vmlinuz.old to your current kernel and installs your new one as vmlinuz. That way you can have two entries in your GRUB menu for the current and previous kernel, so you have a fallback if a new kernel doesn't work properly.

ls -l /boot and you'll see your kernel is there as vmlinux-2.6.blah, with vmlinuz as a symlink to it.
Back to top
View user's profile Send private message
Guest






PostPosted: Sat Jun 18, 2005 12:00 pm    Post subject: Reply with quote

Ah I see, so its perfectly fine to run off the vmlinux kernel - I thought it was just some test thing. I think im oging to do it all again anyway, the bootup isn't how I intended it to be and I made several errors along the way, thanks for your help and the guide.
Back to top
Guest






PostPosted: Sat Jun 18, 2005 9:27 pm    Post subject: Reply with quote

Hey again, I was having some more errors on the new install. Bascially I need to use the local mirror (the echo thingy) to get the files off the CD, but im now in the installed environement and theres no /mnt/gentoo etc so when I try to echo "local /mnt/cdrom/Distros..." etc I get errors. Any way to get around this? (Basically I want to emerge kde) also, my xorg cant detect my mouse!? Confused Somehow, it worked on my old installation when I just gave it the default value but now it says it cant find "/dev/mouse" and returns an error - I dont know where to find out what my mouse is either. (All I know is that it is a Logitech Cordless Desktop LX 300)

Any ideas of how to solve these two problems?
Thanks, Chris
Back to top
Guest






PostPosted: Sat Jun 18, 2005 9:46 pm    Post subject: Reply with quote

Jeez, if you don't know what you're doing why are you even trying -- where does the sensor for the b*****y mouse plug into?
Have you been smoking something funny?
Get ubuntu and have a nice working system in 20 minutes

<removed>
Back to top
cwkx



Joined: Fri Jun 17, 2005 8:46 pm
Posts: 2

PostPosted: Sat Jun 18, 2005 11:10 pm    Post subject: Reply with quote

Uhh, anyway, well what im trying to do is evident; get gentoo working. Rolling Eyes I solved the mouse problem, turns out it wanted to be called /dev/input/mouse0 rather than /dev/mouse. Still stuck on making the echo local thing work in the new installed environment though..
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8365
Location: Warrington, UK

PostPosted: Sun Jun 19, 2005 5:31 pm    Post subject: Reply with quote

Suely the reason for not installing Ubuntu is self-evident, that the poster wants something other than Ubuntu. I agree that Ubuntu is fairly easy to install, which I suppose makes it a good choice for those unable to complete a site registration form.

Another idiot increases the vote to make this forums members only Sad
Back to top
View user's profile Send private message
big_ones
Guest





PostPosted: Wed Jun 22, 2005 11:57 pm    Post subject: Reply with quote

I have run into problems with my gentoo GRUB problem as well.

After installing Grub, rebooting and selecting Gentoo it has given me

Code:
root (hd0,0)
   Filesystem type is ext2fs, partition type 0x83
kernel /kernel-2.6.11-gentoo-r11 root=/dev/ram0 init=linuxrc ramdisk=8192 real_
root=/dev/hda3 udev
       [Linux-bzImage, setup=0x1600, size=0x17db70]
initrd initrd-2.6.11-gentoo-r11

Error 1: Filename must be either an absolute pathname or blocklist

Press any key to continue...


I am using SuSE 9.2 Live CD but cant mount into hda1 to edit anything. How is this done?

Thanks.
Back to top
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8365
Location: Warrington, UK

PostPosted: Thu Jun 23, 2005 12:44 am    Post subject: Reply with quote

Anonymous wrote:
Hey again, I was having some more errors on the new install. Bascially I need to use the local mirror (the echo thingy) to get the files off the CD, but im now in the installed environement and theres no /mnt/gentoo etc so when I try to echo "local /mnt/cdrom/Distros..." etc I get errors. Any way to get around this?


Yes, remove /mnt/gentoo from the command, because you're already there if you've chrooted. But this will fail if you also missed the previous mount --bind command. There was a reason for telling you to do this before entering the chroot, so the best option is to exit the chroot, run the commands then re-enter it, as described in the "How to restart" section on page 118.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast