Find the answer to your Linux question:
Page 3 of 7 FirstFirst 1 2 3 4 5 6 7 LastLast
Results 21 to 30 of 69
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #21

    Quote Originally Posted by Flatline
    Now we're getting somewhere

    What are the contents of the /gentoo-root/boot directory?

    Posted them allready,


    scourge boot # ls
    boot vmlinux


    remember?

    (Or do I remember wrong and didn't post it hmm)
    Anyway.

    Flatline, and yes.

    I know what needs to be told to lilo / grub them to boot correctly.

    But the problem was more like "how" I put it there.

    Some dude sayd that lilo doens't know how to boot from another disk, and he putted his slackware kernel image to Gentoos /boot dir and worked fine..

    Maybe I should try that..

  2. #22
    Sorry. So you should just need to give your lilo.conf file the path to the kernel image...

    Code:
    # Gentoo
    
    image = /gentoo-root/boot/vmlinux
    root = /dev/hdc3
    label = Gentoo
    read-only
    Incidentally, that /boot directory shows something named boot...is that a directory or a file? If it's a directory, could you post the contents?
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  3. #23
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    You did post trhem before, you should add a stanza line this to your lilo.conf:
    Code:
    image=/boot/vmliunx
    root = /dev/hdc3
    label = Gentoo
    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  4. $spacer_open
    $spacer_close
  5. #24
    It is always a good policy to be neat with one's fstab Fatline;
    I agree, but I was just saying he could fix that later (I tend to be a "one thing at a time" kinda guy.

    By the way, there's no need to call me fatline; I'm sensitive about my weight
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  6. #25
    Quote Originally Posted by Flatline
    Sorry. So you should just need to give your lilo.conf file the path to the kernel image...

    Code:
    # Gentoo
    
    image = /gentoo-root/boot/vmlinux
    root = /dev/hdc3
    label = Gentoo
    read-only
    Incidentally, that /boot directory shows something named boot...is that a directory or a file? If it's a directory, could you post the contents?

    I'm not really sure what it is.

    I looked in there long time a go before u came in to help me.

    But anyway, it doesn't lead anywhere. Except back.

    Dunno.

    Anyway,

    I tryed this:

    root@scourge:/boot# cp /gentoo-root/boot/vmlinux /boot/
    root@scourge:/boot# mv vmlinux vmlinux-gentoo

    and then mobifyed lilo.conf

    image = /boot/vmlinux-gentoo
    root = /dev/hdc3
    label = Gentoo
    read-only

    then run lilo:

    root@scourge:/boot# lilo
    Added Slackware *
    Fatal: Setup length exceeds 31 maximum; kernel setup will overwrite boot loader


    Wtf?

  7. #26
    Why don't you give the setup I gave you a shot and see if it works?
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  8. #27
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Once you have edited your lilo.conf you must run as root
    Code:
    /sbin/lilo
    THIS IS VERY IMPORTANT!

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  9. #28
    Yea I've done everything you told me and tryed stuff what u didn't told not to (I know something about linux so I tryed few things)

    but that fatal error with lilo scares me a bit..

  10. #29
    Try

    image = /gentoo-root/boot/vmlinux
    root = /dev/hdc3
    label = Gentoo
    read-only
    There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence.

    - Jeremy S. Anderson

  11. #30
    Quote Originally Posted by Flatline
    Try

    image = /gentoo-root/boot/vmlinux
    root = /dev/hdc3
    label = Gentoo
    read-only
    Tryed allready. Same fatal error..

Posting Permissions

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