LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   install grub, lilo running.. slack10.1 (https://www.linuxquestions.org/questions/slackware-14/install-grub-lilo-running-slack10-1-a-335461/)

rkrishna 06-20-2005 12:29 PM

to install grub, lilo running.. slack10.1
 
if i install grub to a slack system, with default loader lilo
will it cause it any problem.
it is working fine now, with scsi emulation to cdrom for atapi cdrom..

do it the installed lilo will cause any problem
do i need to sent (scsi) these parameters to kernal if i use grub
as we done in lilo

busbarn 06-20-2005 02:13 PM

If you install grub, you should uninstall lilo. You want to make sure that lilo.conf is gone too. You will need to pass kernel parameters like you did in lilo, but it will look different. Your kernel parameters will go in the kernel line of your menu.lst file. Once you install Grub on your mbr, grub will be your bootloader.

rkrishna 06-20-2005 02:29 PM

ok i will try uninstalling lilo first and then install grub
(it si the tie for sleep tomoro i will do that regds )

uselpa 06-20-2005 02:56 PM

Quote:

Originally posted by busbarn
If you install grub, you should uninstall lilo. You want to make sure that lilo.conf is gone too.
Technically speaking, that is not necessary. So you might want to remove lilo only when you are positive about staying with grub.

busbarn 06-20-2005 04:45 PM

Thanks for the correction. You're right. I'm at fault for wanting the least clutter on my system, and sometimes it costs. Thanks for the reminder!

rkrishna 06-21-2005 03:56 AM

seeking
 
hi then what shall i do, do i let the lilo there and install grub
i wiant to run both slack and windowsxp, (common computer, some prefers windows)
so from the console will "lilo -u" will do the job
(i dont have a boot disk )


how i uninstall lilo, i had installed it to mbr
1. lilo -u
2. fdisk /mbr from dos

or the lengthy one described in lilo mini how to
dd if=/boot/boot.0300 of=/dev/hda bs=446 count=1 (I personally just do cat /boot/boot.0300 > /dev/hda,

keefaz 06-21-2005 04:43 AM

You don't need to uninstall lilo, just install grub, it will
overwrite the MBR for you

Fore more help, we need drive informations :
- Where windows is installed (hda1, hda2...) ?
- Where slackware is installed (hda1, hda2...) ?
- Is there a separate /boot partition in your slackware system ?

Quote:

it is working fine now...
So why change ? ;)

rkrishna 06-21-2005 05:22 AM

Quote:

So why change ?
actually that is a common computer, previously redhat 9 installed
so a change in boot menu wont like by others
i am going to do this for all rh9 systems here and making to run slack :p

in my system only lilo is there and i love tht only
and i can also study how to do things :study:

this partition table was for redhat9 and a seperate boot 102mb was there
so i installed boot to there ( that may be occupied upto 20-30mb? by lilo ?)

Disk /dev/hda: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 638 5124703+ b W95 FAT32
/dev/hda2 639 651 104422+ 83 Linux (boot)
/dev/hda3 652 1325 5413905 83 Linux /
/dev/hda4 1326 4870 28475212+ f W95 Ext'd (LBA)
/dev/hda5 1326 1389 514048+ 82 Linux swap
/dev/hda6 1390 2154 6144831 b W95 FAT32
/dev/hda7 2155 2919 6144831 b W95 FAT32
/dev/hda8 2920 3812 7172991 b W95 FAT32
/dev/hda9 3813 4870 8498353+ b W95 FAT32

keefaz 06-21-2005 07:49 AM

You could install grub this way :
install grub slackware package (from /extra)
and run :
Code:

/usr/sbin/grub-install /dev/hda
Then create or edit /boot/grub/grub.conf (or menu.lst)
Code:

default=0
timeout=10

# I assume the kernel is /boot/vmlinuz
title Slackware 10.1
root(hd0,1)
kernel /vmlinuz ro root=/dev/hda3

title Windows
rootnoverify (hd0,0)
chainloader +1
makeactive
boot


rkrishna 06-21-2005 08:12 AM

what about scsi emulation
 
what about scsi emulation to the atapi cdrom
as we had done in lilo.conf (append=>>>>>>>)
i am using the default kernal from slack

keefaz 06-21-2005 10:51 AM

Code:

title Slackware 10.1
root(hd0,1)
kernel /vmlinuz ro root=/dev/hda3 hdc=ide-scsi

if the cdrom burner is /dev/hdc

Also I forget to say that you may have to do
Code:

cp -a /usr/share/grub/i386-pc/* /boot/grub/
... to get grub fully installed (if grub-install did not
this job for you)

rkrishna 06-21-2005 12:30 PM

no only on grub prompt
 
it is bootting and only grub prompt is comming
kernel used is default kernel
was it needed to include

/usr/sbin/grub-install --root-directory=/boot /dev/hda

we didtn mention about /boot partition(i found this from a web page)

tuxrules 06-21-2005 03:58 PM

I've always liked grub over lilo (hardly used it) so i've written a little how-to about installing and configuring grub on my website.

here's the link

Hope this helps.

Tux,

rkrishna 06-21-2005 04:03 PM

in grub console only
 
now it is coming in grub console
i can boot to linux if i do
root (hd0,1)
kernel /vmlinuz root=/dev/hd3 ro
boot

i was trying the ideas given by
http://www.wlug.org.nz/GrubNotes

still not working

keefaz 06-22-2005 01:35 AM

You need to create your menu file

try to create /boot/grub/menu.lst

fill this file with the content I previously
posted, eg :
Code:

default=0
timeout=10

title Slackware 10.1
root(hd0,1)
kernel /vmlinuz ro root=/dev/hda3 hdc=ide-scsi

title Windows
rootnoverify (hd0,0)
chainloader +1
makeactive
boot



All times are GMT -5. The time now is 02:41 AM.