Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-11-2006, 10:52 AM
|
#1
|
Member
Registered: Jul 2006
Posts: 84
Rep:
|
Bootloader problem
i have alredy triple boot on my computer.Now i installed slackware 10.1 on my computer for experiments so i know that slackware has lilo boorloader.On my computer GRUB is installed so i just wanted to add slackware on my grub.conf
The problem is i have no idea how to see list of os on lilo s bootloader so i dont know what to write under kernel,root,intrid,etc. I would be realy happy if anybody would tell me how to so configuration of lilo s bootloader.I took a look in boot partition for a while but i didnt find that what i need.
thanks in advance
sory for my bad endlish
|
|
|
08-11-2006, 10:56 AM
|
#2
|
Member
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Rep:
|
The kernel info is in /usr/src. Also see /etc/lilo.conf.
|
|
|
08-11-2006, 11:00 AM
|
#3
|
Moderator
Registered: May 2001
Posts: 29,415
|
Please post your thread in only one forum and only once.
And please use descriptive thread titles.
You may think "help" covers it but it doesn't.
Really.
We already *know* you need help.
|
|
|
08-11-2006, 11:05 AM
|
#4
|
Member
Registered: Jul 2006
Posts: 84
Original Poster
Rep:
|
thanks for your help and sory because i have sent the same question again ...i didnt se that first one is renamed
|
|
|
08-11-2006, 11:11 AM
|
#5
|
Member
Registered: Jul 2006
Posts: 84
Original Poster
Rep:
|
i took a look in lilo.conf but i didnt find that what i needed.I have GRUB bootloader so that data in lilo.conf aret enaugh.Is there anybody who boots slackware 10.1 from GRUB.If so please send me grub.conf
|
|
|
08-11-2006, 11:18 AM
|
#6
|
Member
Registered: Jul 2006
Posts: 84
Original Poster
Rep:
|
i need something like that
Code:
title Ubuntu, kernel 2.6.15-23-386
root (hd1,0)
kernel /boot/vmlinuz-2.6.15-23-386 root=/dev/hdb1 ro quiet splash
initrd /boot/initrd.img-2.6.15-23-386
BUT FOR SLACKWAERE
sory for panic
|
|
|
08-11-2006, 11:20 AM
|
#7
|
Member
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Rep:
|
To boot from grub depends which partition you're using. If you look in /usr/src it should say something like linux-2.4.29. That's the kernel. The root for grub depends on the partition. Your first harddrive is called hda. Second is hdb, etc. Or sda, sdb, if they're sata drives. Each one is partitioned. In grub, hda is called 0. hdb is called 1. The first partition is called 0. The second is 1. Etc. So the first partiton on hda would be
root(0,0).
The second partiton on hda would be
root(0,1)
The second partiton on hdb would be
root(1,1)
Try using tab when you configure grub.
|
|
|
08-11-2006, 11:26 AM
|
#8
|
Member
Registered: Jul 2006
Posts: 84
Original Poster
Rep:
|
so it should look like that
title slackware
root(0,4)
kernel linux-2.4.29
intrid ????
plis help
Last edited by jan1024188; 08-11-2006 at 11:32 AM.
|
|
|
08-11-2006, 12:01 PM
|
#9
|
Member
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Raspbian, Debian, Slackware, OS X
Posts: 443
Rep:
|
Slackware dosn't use an initrd by default, so the line shouldn't be nessecary.
root line should be more like
root (hd0,4)
so:
title Slackware
root (hd0,4)
kernel /boot/vmlinuz root=/dev/hda5 ro vga=773
Last edited by truthfatal; 08-11-2006 at 12:05 PM.
|
|
|
08-11-2006, 12:03 PM
|
#10
|
ReliaFree Maintainer
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
|
Here is a link to the GRUB manual. I recommend you review it as it will help you understand what each line in menu.lst does. is just a title so you can keep track of things. sets the root device for your Slackware distro. Think of it as the location of your "/boot" directory for Slackware. If you installed the Slackware boot directory on hda5, then (hd0,4) would be correct. On my machine, I use a single partition for /boot for both distros.
Code:
kernel /linux-2.4.29 root=/dev/hda5
is the path (relative to root set in the previous line) that contains your kernel image. If your kernel is named linux-2.4.29, then this is correct. But you can name your kernel something else, too (I have one named KernelMustard). It is also the full path. That is, you can install your kernels in subdirectories within /boot. For example, if you had a slackernel subdirectory for your Slackware kernel this line would be
Code:
kernel /slackernel/linux-2.4.29 root=/dev/hda5
After installation (if all went well), the kernel will be in the /boot directory. If you compiled your own kernel you have to copy it to the /boot directory from /usr/src/linux/arch/<your arch>/boot (if I remember the path correctly). The last line is similar to the kernel line, except it tells GRUB where the initial ramdisk image is located. Depending on how the kernel was compiled, there may not even be an initrd and this line would not be required. The initrd image will be in the /boot directory.
Edit: Refer to the previous post, initrd line not needed.
Last edited by weibullguy; 08-11-2006 at 12:04 PM.
|
|
|
08-11-2006, 12:05 PM
|
#11
|
Member
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Rep:
|
So slackware is on the fifth partition of your first drive. I don't use grub, but it might look like this:
title Slackware
root (0,4)
kernel /boot/vmlinuz-ide-2.4.29
I don't think you need an initrd. When setting up grub you can use the 'tab' key and it will auto complete the line for you.
|
|
|
08-11-2006, 12:09 PM
|
#12
|
Member
Registered: Jul 2006
Posts: 84
Original Poster
Rep:
|
thank you very veeeeeery much for help
|
|
|
All times are GMT -5. The time now is 11:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|