Find the answer to your Linux question:
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 22
Could you post your /boot/grub/grub.conf and the output from Code: fdisk -l ls -l /boot dylunio...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157

    Could you post your /boot/grub/grub.conf and the output from
    Code:
    fdisk -l
    ls -l /boot
    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  2. #12
    Linux Enthusiast crashandburn0420's Avatar
    Join Date
    Jun 2005
    Location
    Naugatuck, CT
    Posts
    590
    localhost steven # fdisk -l

    Disk /dev/hda: 80.0 GB, 80060424192 bytes
    255 heads, 63 sectors/track, 9733 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 5 40131 83 Linux
    /dev/hda2 6 68 506047+ 82 Linux swap / Solaris
    /dev/hda3 69 9733 77634112+ 83 Linux
    localhost steven # ls -l /boot
    total 13701
    lrwxrwxrwx 1 root root 27 Mar 9 15:24 System.map -> System.map-2.6.15-gentoo-r1
    -rw-r--r-- 1 root root 811755 Mar 9 15:24 System.map-2.6.15-gentoo-r1
    -rw-r--r-- 1 root root 811843 Mar 8 15:15 System.map-2.6.15-gentoo-r1.old
    -rw-r--r-- 1 root root 800788 Dec 7 20:31 System.map-genkernel-x86-2.6.14-gentoo-r2
    -rw-r--r-- 1 root root 682347 Mar 19 08:59 System.map-genkernel-x86-2.6.15-gentoo-r1
    lrwxrwxrwx 1 root root 31 Mar 9 15:24 System.map.old -> System.map-2.6.15-gentoo-r1.old
    lrwxrwxrwx 1 root root 1 Oct 23 21:32 boot -> .
    lrwxrwxrwx 1 root root 23 Mar 9 15:24 config -> config-2.6.15-gentoo-r1
    -rw-r--r-- 1 root root 40698 Mar 9 15:24 config-2.6.15-gentoo-r1
    -rw-r--r-- 1 root root 43449 Mar 8 15:15 config-2.6.15-gentoo-r1.old
    lrwxrwxrwx 1 root root 27 Mar 9 15:24 config.old -> config-2.6.15-gentoo-r1.old
    drwxr-xr-x 2 root root 1024 Mar 19 09:32 grub
    -rw-r--r-- 1 root root 1534361 Dec 7 20:51 initramfs-genkernel-x86-2.6.14-gentoo-r2
    -rw-r--r-- 1 root root 1808494 Mar 19 09:21 initramfs-genkernel-x86-2.6.15-gentoo-r1
    -rw-r--r-- 1 root root 1540709 Dec 7 20:31 kernel-genkernel-x86-2.6.14-gentoo-r2
    -rw-r--r-- 1 root root 1494440 Mar 19 08:59 kernel-genkernel-x86-2.6.15-gentoo-r1
    drwx------ 2 root root 12288 Oct 24 01:40 lost+found
    -rw-r--r-- 1 root root 1265285 Nov 2 03:28 splash-livecd-2005.1-1024x768
    lrwxrwxrwx 1 root root 24 Mar 9 15:24 vmlinuz -> vmlinuz-2.6.15-gentoo-r1-rw-r--r-- 1 root root 1552201 Mar 9 15:24 vmlinuz-2.6.15-gentoo-r1
    -rw-r--r-- 1 root root 1552290 Mar 8 15:15 vmlinuz-2.6.15-gentoo-r1.old
    lrwxrwxrwx 1 root root 28 Mar 9 15:24 vmlinuz.old -> vmlinuz-2.6.15-gentoo-r1.old
    Grub config
    default 0
    timeout 30
    splashimage=(hd0,0)/boot/grub/splash.xpm.gz

    title=Gentoo Linux 2.6.15-r1
    root (hd0,0)
    kernel /boot/kernel-genkernel-x86-2.6.15-gentoo-r1 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev acpi=off
    initrd /boot/initramfs-genkernel-x86-2.6.15-gentoo-r1

  3. #13
    Linux Enthusiast crashandburn0420's Avatar
    Join Date
    Jun 2005
    Location
    Naugatuck, CT
    Posts
    590
    I tried using genkernel to update the kernel, it worked but when it boots it doesnt load any of the sound modules, some net modules and some others and i still have that dhcpcd error that is on another thread

  4. #14
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    after you compile your kernel you need to: (EDIT: this is only form manual kernel compile I didn't see you changed to genkernel)

    Code:
    make && make modules_install
    mount /boot (if you have it on a seperate partition and it isn't mounted already)
    cp arch/i386/boot/bzimage /boot/any-name-you-want-for-your-kernel
    cp System.map /boot/System.map
    nano -w /boot/grub/grub.conf
    change kernel line to reflect the name you saved your kernel under

    so for it's

    Code:
    title=Gentoo
    root (hd0,0)
    kernel /boot/kafka root=/dev/hda3 ro
    the ro is because I have jfs as my root filesystem and kafka is the name I saved my kernel as.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  5. #15
    Linux Enthusiast crashandburn0420's Avatar
    Join Date
    Jun 2005
    Location
    Naugatuck, CT
    Posts
    590
    i have an ext3 filesystem soooo i put that?

  6. #16
    Linux Enthusiast crashandburn0420's Avatar
    Join Date
    Jun 2005
    Location
    Naugatuck, CT
    Posts
    590
    cp arch/i386/boot/bzimage /boot/any-name-you-want-for-your-kernel
    doesnt exsist

  7. #17
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    no you don't put ro when you an ext3

    what doesn't exist?

    Code:
    cd /usr/src/linux
    make menuconfig
    make && make modules_install
    cp arch/i386/boot/bzimage /boot/bzimage

    EDIT: so you are really copying: cp /usr/src/linux/arch/i386/boot/bzimage /boot/bzimage

    this should be there unless you are running gentoo64 then it the i386 probably is names differently.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  8. #18
    Linux Enthusiast crashandburn0420's Avatar
    Join Date
    Jun 2005
    Location
    Naugatuck, CT
    Posts
    590
    cp System.map doesnt exsist either

  9. #19
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    System.map is optional. And if by don't exist you mean when you get to:
    cp /usr/src/linux/arch/i386/System.map /boot/System.map ----here. This part won't exist it is where you are copying to and the name you want. But if it doesn't exist after the i386 part then I can't help.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  10. #20
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    ok why dont we try this....
    Code:
    cd /usr/src/
    ls -al (we stould see the link to the proper sources if not then correct this and make menuconfig and save )
    now if /boot is on a seperate part
    Code:
    mount /boot
    make && make modules_install install  (the last install will do all the copying to /boot for you)
    then simply edit grub/lilo to add the new kernel name & save then umount /boot if a seperate part & reboot
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

Page 2 of 3 FirstFirst 1 2 3 LastLast

Posting Permissions

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