LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-11-2006, 10:52 AM   #1
jan1024188
Member
 
Registered: Jul 2006
Posts: 84

Rep: Reputation: 15
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
 
Old 08-11-2006, 10:56 AM   #2
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
The kernel info is in /usr/src. Also see /etc/lilo.conf.
 
Old 08-11-2006, 11:00 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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.
 
Old 08-11-2006, 11:05 AM   #4
jan1024188
Member
 
Registered: Jul 2006
Posts: 84

Original Poster
Rep: Reputation: 15
thanks for your help and sory because i have sent the same question again ...i didnt se that first one is renamed
 
Old 08-11-2006, 11:11 AM   #5
jan1024188
Member
 
Registered: Jul 2006
Posts: 84

Original Poster
Rep: Reputation: 15
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
 
Old 08-11-2006, 11:18 AM   #6
jan1024188
Member
 
Registered: Jul 2006
Posts: 84

Original Poster
Rep: Reputation: 15
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
 
Old 08-11-2006, 11:20 AM   #7
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
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.
 
Old 08-11-2006, 11:26 AM   #8
jan1024188
Member
 
Registered: Jul 2006
Posts: 84

Original Poster
Rep: Reputation: 15
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.
 
Old 08-11-2006, 12:01 PM   #9
truthfatal
Member
 
Registered: Mar 2005
Location: Winnipeg, MB
Distribution: Raspbian, Debian, Slackware, OS X
Posts: 443
Blog Entries: 9

Rep: Reputation: 32
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.
 
Old 08-11-2006, 12:03 PM   #10
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
Code:
title Slackware
is just a title so you can keep track of things.
Code:
root(hd0,4)
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.
 
Old 08-11-2006, 12:05 PM   #11
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
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.
 
Old 08-11-2006, 12:09 PM   #12
jan1024188
Member
 
Registered: Jul 2006
Posts: 84

Original Poster
Rep: Reputation: 15
thank you very veeeeeery much for help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 2000 Bootloader vs. Mandriva LILO Bootloader Dregnan Mandriva 7 12-03-2007 09:55 PM
bootloader problem scottoaks Linux - Newbie 3 11-08-2005 01:08 AM
How can I disable the grub bootloader and enable the lilo bootloader? abefroman Linux - General 1 08-06-2005 08:53 AM
Bootloader Problem don_dimo Linux - Software 4 06-13-2004 12:13 PM
Bootloader problem help! Dumpsterm0uth Linux - General 4 01-20-2003 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration