LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2004, 04:09 AM   #1
avols143
Member
 
Registered: Jan 2004
Location: Oslo, Norway
Posts: 57

Rep: Reputation: 15
Lilo config or recovering Grub....???


Hello dears, I installed Slackware linux 9.0 with Fedora Linux Core1 & WindowsXP. Now I have been missed Grub boot manager and its appear new boot menager LILO. In lilo I have only 2 options for boot Slackware and WindowsXP. My harddisk has the following partitions.


hda1 to hda5 is Fat32/Dos file system
hda6 is /swap
hda7 is /linux Ext2
hda8 is /boot
hda9 is /linux Ext2

At hda7 I installed Fedora Linux befor, and it was installed and run correct. After that I wish to install Slackware too. So I created hda9 and installed Slackware onto it. Now Slackware is running good and new boot manager LILO is installed on System.

Can I Recover Grub boot manager with Slackware linux prompt

OR

Can I configure LILO boot manager with Fedora linux prompt

I have been try to config lilo.conf in Slackware boot its not working, may be I could not set correct parameters to boot fedora... I need your's help..............Thanks
 
Old 03-01-2004, 04:16 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
you can use either grub or lilo...


remember that after you configure your lilo.conf you need to run lilo so it'll make the changes to the master boot record, for example:

lilo -v -v


if you post your lilo.conf i'm sure we can show you what you need to change...

and if you could also post the output of "fdisk -l" it would help...
 
Old 03-01-2004, 06:30 AM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Don't waste time f*ing about with lilo. Use your fedora CD to reinstall grub. Boot into Fedora and add an entry for Slackware to /boot/grub/menu.lst

Edit - Or, install grub in Slackware and add an entry for Fedora http://www.uk.linuxfromscratch.org/l...er06/grub.html http://www.uk.linuxfromscratch.org/l...er08/grub.html

Last edited by Andrew Benton; 03-01-2004 at 06:34 AM.
 
Old 03-02-2004, 03:37 PM   #4
avols143
Member
 
Registered: Jan 2004
Location: Oslo, Norway
Posts: 57

Original Poster
Rep: Reputation: 15
hello again....

I configured lilo.conf and installed lilo. That was good experiance and its works good. But I would like to install Grub, I don't like Lilo boot manager with simple booting menu.

I was enable to boot XP/Slackware/Fedora all. So I booted fedora Linux with lilo, and then installed Grub, I also configerd grub.conf before installing Grub.
This is my /boot/grub/grub.conf's infomation..............

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,8)
# kernel /vmlinuz-version ro root=/dev/hda8
# initrd /initrd-version.img
#boot=/dev/hda
default=2
timeout=5
splashimage=(hd0,8)/grub/splash.xpm.gz
title Fedora Linux Core-1 (2.4.22-1.2115.nptl)
root (hd0,8)
kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdd=ide-scsi rhgb
initrd /initrd-2.4.22-1.2115.nptl.img
title Slackware Linux ver:9.0
root (hd0,10)
kernel /vmlinuz-ide-2.4.20 ro root=/dev/hda10
title WindowsXP Home Edition
rootnoverify (hd0,0)
chainloader +1

And this is my fdisk -l ............

Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2550 20482843+ c Win95 FAT32 (LBA)
/dev/hda2 2551 9964 59552955 f Win95 Ext'd (LBA)
/dev/hda5 2551 5738 25607578+ b Win95 FAT32
/dev/hda6 5739 8543 22531131 b Win95 FAT32
/dev/hda7 8544 8608 522081 82 Linux swap
/dev/hda8 8609 9568 7711168+ 83 Linux
/dev/hda9 9569 9581 104391 83 Linux
/dev/hda10 9582 9964 3076416 83 Linux

Ok, On hda8 I have Fedora Linux and on hda10 is Slackware and hda9 is /boot.....right
I Can boot into Fedora, I can boot WindowsXP but I can't boot Slackware with Grub boot manager... When I hit into boot Slackware Linux menu I receiver this error....

Error 20: Partition not exits
press any key to Main menu......

Dear can you solve this problem with Grub....???? Thanks a lot
 
Old 03-02-2004, 04:34 PM   #5
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
There's a number wrong. Grub counts from 0 so hda10 is (hd0,9), so the bit for Slack in your grub.conf should be
Code:
title Slackware Linux ver:9.0
root (hd0,9)
kernel /vmlinuz-ide-2.4.20 ro root=/dev/hda10
Do you see how Fedora boots with (hd0,8) when the boot partition is hda9 and windows boots with (hd0,0) when it's on hda1?
 
Old 03-03-2004, 07:03 AM   #6
avols143
Member
 
Registered: Jan 2004
Location: Oslo, Norway
Posts: 57

Original Poster
Rep: Reputation: 15
Hello Andrew..........

I don't know that but Fedora and WindowsXP are booting well, Can u tell me about how can I un-install Grub. Is it the following command....

Grub-uninstall /dev/hda? Or Grub-install --erase /dev/hda?
 
  


Reply



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
Problem in recovering GRUB ilyushin Linux - Newbie 1 07-07-2005 11:55 PM
Installation Questions: GRUB / LILO / RAID Config & MBR Zaphod98 Linux - General 1 09-09-2004 12:32 PM
lilo and grub config problem slyguyr3 Linux - Software 3 11-07-2003 12:58 PM
Recovering Linux config after disk corruption and new motherboard hungrybuffalo Linux - Software 0 08-07-2003 03:44 PM
recovering root password in rh using lilo farhan Linux - General 1 03-01-2003 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:28 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