Find the answer to your Linux question:
Page 1 of 7 1 2 3 4 5 ... LastLast
Results 1 to 10 of 69
Hi, I've installed Gentoo (stage 2) on my comp and using Slackwares lilo. The problem is, that I don't know how to get lilo configured right to boot to Gentoo ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Posts
    70

    Dual booting with Gentoo


    Hi, I've installed Gentoo (stage 2) on my comp and using Slackwares lilo.

    The problem is, that I don't know how to get lilo configured right to boot to Gentoo too. My lilo.conf looks like this:




    lba32 # Allow booting past 1024th cylinder with a recent BIOS
    append="hda=ide-scsi"
    boot = /dev/hdc2
    message = /boot/boot_message.txt
    prompt
    timeout = 10
    default = slackware
    # Override dangerous defaults that rewrite the partition table:
    change-rules
    reset
    # Normal VGA console
    vga = normal


    # Slackware

    image = /boot/vmlinuz
    root = /dev/hdc2
    label = Slackware
    read-only

    # Gentoo

    image =
    root = /dev/hdc3
    label = Gentoo
    read-only


    Gentoo image is in /dev/hdc3/boot/vmlinux

    Tryed to put that in image section but lilo just whines:

    root@scourge:/mnt/cdrom# lilo
    Added Slackware *
    Fatal: open /dev/hdc3/boot/vmlinux: Not a directory

    Tryed diffrent options but same result..

    Thanks in advance...

  2. #2
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    The image listing wants an actual directory, not a device listing in that field. Try setting up that drive with a mount point, etc. in /etc/fstab, then pointing it to the mounted path to vmlinuz.
    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. #3
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Flatline, IIRC there is no vmliunz file within gentoo, it has another file (I can't remember its name), maybe Scourge you could post the contents of your /boot directory in gentoo?

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

  4. #4
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    Sorry, not very familiar with Gentoo...do they use bzImage by default or something?
    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

  5. #5
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Quote Originally Posted by Flatline
    do they use bzImage by default or something?
    I'm not sure sine I have yet to use gentoo, but when helping sdousley add it to his bootloader, I remember a weird file instead of the vmlinuz file due to the fact the kernel was compiled from scrach at install. This is why I'm asking for the list of things within gentoos /boot so I can pick out the right file.

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

  6. #6
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    Just threw me off, 'cause he gave a path to Gentoo's vmlinux.
    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

  7. #7
    Just Joined!
    Join Date
    Jan 2005
    Posts
    70
    Sorry, silly me.

    Heres Gentoo-roots contents

    scourge boot # ls
    boot vmlinux


    That drive is mounted in my Slackware, but not putted in fstab (yet)


    I've been installing my Gentoo with official handbook. It says something like this..

    http://www.gentoo.org/doc/en/handboo...ml?full=1#lilo


    Tryed also handbook directions (with my kernel file offcourse)

  8. #8
    Linux Guru Flatline's Avatar
    Join Date
    Feb 2005
    Posts
    2,204
    Do you have the directory for your scourge install defined in /etc/fstab?
    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

  9. #9
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Is your gentoo /boot directory on its own partition or not?

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

  10. #10
    Just Joined!
    Join Date
    Jan 2005
    Posts
    70
    Quote Originally Posted by dylunio
    Is your gentoo /boot directory on its own partition or not?

    dylunio
    Kind of.

    its on Gentoo root partition.

    So is Slackwares too. Works fine,

    Gentoo / listing:

    scourge / # ls
    bin boot dev etc home lib media mnt opt proc root sbin sys tmp usr var

    Slackware / listing

    root@scourge:/# ls
    bin/ boot/ dev/ etc/ gentoo-root/ home/ lib/ media/ mnt/ opt/ proc/ root/ sbin/ sys/ tmp/ usr/ var/



    Flatline, I didn't fully understand what did u mean.


    English isn't my mother language...

    But in fstab is :


    # /etc/fstab: static file system information.
    # $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
    #
    # noatime turns off atimes for increased performance (atimes normally aren't
    # needed; notail increases performance of ReiserFS (at the expense of storage
    # efficiency). It's safe to drop the noatime options if you want and to
    # switch between notail and tail freely.

    # <fs> <mountpoint> <type> <opts> <dump/pass>

    # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
    #/dev/BOOT /boot ext2 noauto,noatime 1 1
    /dev/hdc3 / reiserfs notail 0 0
    /dev/hdc1 none swap sw 0 0

    # omat partitiot alkaa
    # translaton to above row:
    # my partition section starts

    /dev/hdd1 /media/lab reiserfs notail
    /dev/hdd2 /media/leffat ext3 defaults,noatime
    /dev/hdd3 /media/musaa ext3 defaults,noatime
    /dev/hdd4 /media/sälää ext3 defaults,noatime
    /dev/hdd2 /media/leffat ext3 defaults,noatime


    /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
    #/dev/fd0 /mnt/floppy auto noauto 0 0

    # NOTE: The next line is critical for boot!
    none /proc proc defaults 0 0

    # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
    # POSIX shared memory (shm_open, shm_unlink).
    # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
    # use almost no memory if not populated with files)
    # Adding the following line to /etc/fstab should take care of this:

    #none /dev/shm tmpfs defaults 0 0

Page 1 of 7 1 2 3 4 5 ... 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
  •