LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 05-15-2004, 06:01 AM   #1
neri
LQ Newbie
 
Registered: Mar 2004
Posts: 16

Rep: Reputation: 0
Booting problems: grub and lilo


I have two hard disks: hda with Win2000 and hdb with Fedora. As I installed fedora i had to install grub (seems lilo is not available, is that right?). But Grub won't load win2000. Due to a previous Linux installation on hda now win2000 won't load even by itself (that is, if i power off hdb , now I get a nice Lilo L 99 99 99... error this is my roughly sketched situation, I don't pretend to be exaustive.

Now, the questions:
-how do I find out where (which dev) is grub installed, eventually how do I remove it without wiping out partition tables?
-how do I repair lilo without deleting MBR? I have no idea how to write lilo.conf, and I want to be sure NOT to make ANY mistake. I guess I could also remove lilo and write it back anew.
-I downloaded and installed (with synaptic) lilo, which (again) seems not to be available with fedora. But this doesn't mean that lilo is installed as bootloader, rrright?

Really, I tried to read man lilo, man grub, info grub, man lilo.conf, but the problem is newbies like me require step by step instructions. It doesn't mean that I need someone to do the work for me, but it means that I don't even know where to start from (and MBR is a pretty delicate stuff to just try and hack it

I hope someone will have the patience to read this and give me simple instructions

Thanks folks,
neri
 
Old 05-15-2004, 06:42 AM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Im no expert but I can get you started as I have done it a few times,and I was nervous also,I had xp so I booted with the install disk and pressed r for recovery,then it will ask something and you want command line,there you can ask for help,but I typed \c fix mbr or something close to that,that will fix the mbr,next you need to install grub from the fedora cd and you are back,search this site as there are lots of imformation as it is common.I am going to stick with what I have now,and try to stop experimenting with new dist. because sometimes the mbr gets messed up,one time I could not boot at all unless I unpluged my hard drive after a fedora test install,good luck david
 
Old 05-15-2004, 06:43 AM   #3
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Do you boot into Fedora by setting hdb as the first boot device in bios?
 
Old 05-15-2004, 09:44 AM   #4
neri
LQ Newbie
 
Registered: Mar 2004
Posts: 16

Original Poster
Rep: Reputation: 0
I boot into fedora, but hdb is NOT the first boot device. It goes CD, floppy, and then C (hda). Comprookie, I didn't understand very much what you said

Btw, don't I erase the partition table if I make fdisk /MBR?
 
Old 05-15-2004, 09:47 AM   #5
neri
LQ Newbie
 
Registered: Mar 2004
Posts: 16

Original Poster
Rep: Reputation: 0
What happens if I remove GRUB and install LILO? Here is the lilo.conf i made, but I don't dare to try it...

boot = /dev/hda
delay = 1000
compact
vga = normal
root = /dev/hdb1
read-only
image = /boot/vmlinuz-2.4.22-1.2115.nptl
label = fedORA
other = /dev/hda1
label = win2000
table = /dev/hda


Will the hard disks explode in furious rage? Or just laugh in my face?
 
Old 05-15-2004, 09:52 AM   #6
neri
LQ Newbie
 
Registered: Mar 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Oh, and I made a big mistake: I uninstalled a linux distro without uninstalling lilo.
 
Old 05-15-2004, 10:04 AM   #7
neri
LQ Newbie
 
Registered: Mar 2004
Posts: 16

Original Poster
Rep: Reputation: 0
this is my actual grub conf...

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,0)
# kernel /boot/vmlinuz-version ro root=/dev/hdb1
# initrd /boot/initrd-version.img
#boot=/dev/hdb1
default=1
timeout=10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title Fedora Core (2.4.22-1.2115.nptl)
root (hd1,0)
kernel /boot/vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/ hdd=ide-scsi rhgb
initrd /boot/initrd-2.4.22-1.2115.nptl.img
title DOS
rootnoverify (hd0,0)

hope it helps...
 
Old 05-15-2004, 10:07 AM   #8
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
looks alright to me, doesn Fedora use an initrd?
 
Old 05-15-2004, 10:19 AM   #9
neri
LQ Newbie
 
Registered: Mar 2004
Posts: 16

Original Poster
Rep: Reputation: 0
do you mean something like /boot/initrd-2.4.22-1.2115.nptl.img ?
 
Old 05-15-2004, 11:59 AM   #10
neri
LQ Newbie
 
Registered: Mar 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Hey, don't stop the feedback, please! Really, even if it SEEMS alright, it's not booting windows. I guess the mbr is all messed by the previous lilo installation.
 
Old 05-17-2004, 10:17 AM   #11
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
is there "chainloader +1" after
Code:
title DOS
rootnoverify (hd0,0)
?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting of raw ISO from GRUB/LILO (though preferably GRUB) Orkie Linux - Software 28 12-15-2013 09:37 PM
lilo vs grub, dual-booting binkgle Ubuntu 6 05-16-2005 01:39 AM
Floppy Booting without Lilo or Grub MBR crazihouse Linux - Newbie 4 02-24-2005 01:12 AM
Booting Options with lilo or grub RancidWannaRiot Mandriva 2 12-05-2003 09:37 AM
Booting GRUB through LILO? TheOneAndOnlySM Linux - Newbie 5 08-01-2003 08:50 PM


All times are GMT -5. The time now is 09:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration