Find the answer to your Linux question:
Page 4 of 4 FirstFirst 1 2 3 4
Results 31 to 40 of 40
The only thing I get is boot grub lost+found Nothing more, nothing less....
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #31
    Just Joined!
    Join Date
    Sep 2008
    Posts
    38

    The only thing I get is

    boot
    grub
    lost+found

    Nothing more, nothing less.

  2. #32
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,045
    No kernel then ... what about /mnt/gentoo/boot ?

  3. #33
    Just Joined!
    Join Date
    Sep 2008
    Posts
    38
    Nothing.... What could I have done wrong that my kernel is not showing up??

    I did emerge gentoo-sources and I configured the kernel, did the make module_install command... and I typed in make -j then I did arch/x86/whatever was next.......

    How do I fix this?

  4. $spacer_open
    $spacer_close
  5. #34
    Just Joined!
    Join Date
    Sep 2008
    Posts
    38
    If I CHROOT into the system and type in ls -l /usr/src/linux, I get this:

    lrwxrwxrwx 1 root root 22 sep 16 21:32 /usr/src/linux -> Linux-2.6.25-gentoo-r7

    Does that mean the kernel was not installed in the right place?

  6. #35
    Just Joined!
    Join Date
    Sep 2008
    Posts
    38
    cp arch/i386/boot/bzImage /boot/kernel-2.6.24-gentoo-r5


    I remember that I only typed /boot/kernel not /boot/kernel-2.6.25-gentoo-r7.... is that it?

  7. #36
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,045
    Quote Originally Posted by belikeyeshua View Post
    cp arch/i386/boot/bzImage /boot/kernel-2.6.24-gentoo-r5


    I remember that I only typed /boot/kernel not /boot/kernel-2.6.25-gentoo-r7.... is that it?
    No thats to do with compiling the kernel rather than where you have the kernel located. While you have chrooted then check if /usr/src/linux/arch/i386/boot/bzImage exists (assuming i386 install) or similar from handbook for the system you have installed. If it does then copy it to /boot ... if it does not then you need to create the kernel again. If you had typed /boot/kernel rather than /boot/kernel-2.6.24-gentoo-r5 then you would just have a kernel image kernel in the /boot folder

  8. #37
    Just Joined!
    Join Date
    Sep 2008
    Posts
    38
    I reconfigured the kernel, or reinstalled it. This time I typed in cp arch/x86/boot/bzImage /boot/kernel-2.6.25-gentoo-r7.....

    Rebooted and, IT WORKS!

    I guess that was it. Now I need to get xfce working.

  9. #38
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    Posts
    3,045
    Glad you have things working ... kernel name was not the issue otherwise it would have been listed in /boot information you posted

  10. #39
    Just Joined!
    Join Date
    Sep 2008
    Posts
    38
    Now that I got it working... There are a couple problems.

    1. is that I cannot get internet working. Unfortunately, I am currently emerging xfce4 from the installation CD (CHROOTED into the system). This is slower but the only way I can install xfce right now it seems. The problem is that our network requires nameservers, for some odd reason. It is a good cable connection but it will not do actual urls without the name server 24.247.24.53. I also use 24.247.25.53 as well. I can ping IP addresses, and that works fine, but now actual urls.

    I have edited the network files to include the nameserver, I have read up on it... still nothing. It says that it cannot find host Google when I try to ping google.

    Second minor problem is that it always boots to the grub comand line. If I want it to boot into my system I type:

    kernel (hd0,0)/boot/kernel02.6.25-gentoo-r7 root=/dev/hda3

    then:

    boot (hd0,0)

    That works.

    How can I set it to automatically boot gentoo?

  11. #40
    Just Joined!
    Join Date
    Dec 2006
    Posts
    26
    Quote Originally Posted by belikeyeshua View Post
    Now that I got it working... There are a couple problems.

    1. is that I cannot get internet working. Unfortunately, I am currently emerging xfce4 from the installation CD (CHROOTED into the system). This is slower but the only way I can install xfce right now it seems. The problem is that our network requires nameservers, for some odd reason. It is a good cable connection but it will not do actual urls without the name server 24.247.24.53. I also use 24.247.25.53 as well. I can ping IP addresses, and that works fine, but now actual urls.

    I have edited the network files to include the nameserver, I have read up on it... still nothing. It says that it cannot find host Google when I try to ping google.

    Second minor problem is that it always boots to the grub comand line. If I want it to boot into my system I type:

    kernel (hd0,0)/boot/kernel02.6.25-gentoo-r7 root=/dev/hda3

    then:

    boot (hd0,0)

    That works.

    How can I set it to automatically boot gentoo?
    *edit*
    about your nameserver... nameservers go into /etc/resolv.conf
    I pointed mine to my gateway
    Code:
    nameserver 192.168.1.254
    nameserver *removed due to security reasons*
    If you have already setup /etc/init.d/net.eth0, I would do...
    Code:
    /etc/init.d/net.eth0 restart
    and if domain resolution works again, I would emerge dhcpcd *as soon as possible*
    */edit*


    If I recall correctly...
    mount your boot partition (hda1?) to /boot/
    (mount /dev/hda1 /boot)
    Make a grub.conf in /boot/grub, my grub.conf looks like this.
    Code:
    timeout 5
    default 0
    static rescue shell
    title Gentoo Linux
    root (hd0,0)
    kernel /boot/kernel root=/dev/hda3
    Where kernel is the path to your current kernel. (the one you pulled out of
    /usr/src/<kernel you compiled>/arch/<arch type>/boot/bzImage

    Once you do this, set your grub up
    Code:
    # grub
    grub> root (hd0,0)
    grub> setup (hd0)
    grub> quit
    recap on what I did to install kernel (obviously you have a kernel installed, but this is just in case you need it, and an explanation of what it does.)
    Code:
    mount /dev/hda1 /boot
    cd /usr/src/linux-2.6.25-gentoo-r7
    make menuconfig
    ... added UDF (for dvd), alsa (for audio), and video stuff (for 3d acceleration) ...
    make && make modules_install
    mv /boot/kernel /boot/kernel.old
    cp ./arch/x86/boot/bzImage /boot/kernel
    This is basically how to re-compile and install your kernel on gentoo.

    Mount boot partition into /boot/
    Move to kernel source code tree.
    make menuconfig <- start configuration manager
    added needed items
    make && make modules_install <-- compiled
    Renamed current kernel to kernel.old (backed it up)
    copied newly compiled kernel (bzImage) to /boot/ and named it kernel.

Page 4 of 4 FirstFirst 1 2 3 4

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •