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 ...
- 03-03-2005 #1Just 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...
- 03-03-2005 #2
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
- 03-03-2005 #3
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
- 03-03-2005 #4
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
- 03-03-2005 #5I'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.
Originally Posted by Flatline
dylunio
- 03-03-2005 #6
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
- 03-03-2005 #7Just 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)
- 03-03-2005 #8
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
- 03-03-2005 #9
Is your gentoo /boot directory on its own partition or not?
dylunio
- 03-03-2005 #10Just Joined!
- Join Date
- Jan 2005
- Posts
- 70
Kind of.
Originally Posted by dylunio
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


Reply With Quote