LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-20-2003, 11:45 AM   #1
Jano_64
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
Unhappy Lilo Grub will not start Linux does not boot


Really a newbie! When I try to boot, I get a message like "Invalid hard drive partition, enter command (e.g. C:/Windows/command.com) C> "
Lilo does not start. I've also tried GRUB, but get the same message. It seems like LILO/GRUB are not found and never start. I am able to boot from floppy.

I have Adaptec SCSI controller with/BIOS.
SCSI ID=0, 4.3G HD with WIN98SE
SCSI ID=1, 4.3G HD with LINUX
MASTER IDE, 2.5G HD w/no OS (just user files)

My MB BIOS is set to boot from SCSI. When the SCSI BIOS is set to boot from ID=0, WIN98SE runs just fine. When I change to ID=1, fails.

I have installed LILO several times on SCSI1 (MBR)...on IDE (MBR)...on SCSI1 /root. All the while changing my MB BIOS to boot from IDE...SCSI...all with no results. I have tried every configuration imaginable and all with the same message. "Invalid hard drive partition, enter command (e.g. C:/Windows/command.com) C> "

I looked at the grub/lilo conf files. Nothing looks to weird. But I don't think I'm to that step yet since I can't even get them to start.

Please help!

Jano
 
Old 11-20-2003, 11:49 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Tried installing to the mbr of SCSI0, while pointing the grub root to SCSI1, and set bios to boot from SCSI0?
 
Old 11-20-2003, 12:16 PM   #3
Jano_64
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Original Poster
Rep: Reputation: 0
If I install LILO or GRUB on SCSI0 MBR and it is screwed up, how then do I get WIN98SE to run? How do I return the MBR to its original state? I don't even want to start having to re-install WIN98SE.

I'm scared!!!

Last edited by Jano_64; 11-20-2003 at 12:17 PM.
 
Old 11-20-2003, 12:50 PM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
No, what happens if you install lilo/grub into SCSI0 mbr is that it will replace a standard MBR that does nothing but load the bootsector of the active partition, which is the win98 partition in your case. The MBR is programable thus it is possible to load a more sophisticated bootloader, such as lilo/grub, into it. Lilo/GRUB of course is also able to load the win9x bootsector(which is actually a bootloader as well) through the means of chainloading(which is something even nt os loader used in nt/2k/xp is not capable of).
for lilo a typical lilo.conf entry looks like this

other = /dev/hda1
label = win98se

of course you want to subsitude /dev/hda1 with your scsi device

for GRUB:

title Win98
rootnoverify (hd0,0)
chainloader +1

grub is not particular concerned about the type of device, but the order which the bios sees the drives, so if you set the bios to boot from scsi0, the first scsi harddisk will most likely be (hd0), the second zero in the above example is the partition number, which similar to the drive number which starts on 0 in grub naming convention.

Oh and in order to restore that standard MBR which I mentioned, all you have to do is boot with a dos bootdisk(just use the one created in win98) then do a fdisk /mbr.

Last edited by Demonbane; 11-20-2003 at 10:12 PM.
 
Old 11-20-2003, 03:15 PM   #5
Jano_64
LQ Newbie
 
Registered: Nov 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Dang, you are good! That's exactly what I wanted to know. Installing RH9 is really a hobby/learning process and it very new to me. Thanks!

If anyone else can add anything please reply!!!!
 
  


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
boot 2 linux distros with grub/lilo blas Linux - General 4 11-18-2005 11:22 PM
GRUB or LILO won't boot linux!!! for ANY distro stelmate Linux - Hardware 12 05-27-2005 07:42 PM
Linux will not boot (LILO doesn't start) SpecialK5106 Linux - Newbie 15 10-05-2003 10:42 PM
Start Linux from Bootmagic..No Lilo No Grub iamhigh Linux - Newbie 1 09-30-2003 04:54 AM
can linux boot without lilo or grub? murshed Linux - General 13 06-01-2002 06:39 AM


All times are GMT -5. The time now is 10:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration