LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-07-2002, 11:42 PM   #1
black
Member
 
Registered: Jul 2002
Location: nowhere
Distribution: GNU
Posts: 118

Rep: Reputation: 15
Unhappy I got a L ? now


I worried about it but it happed yet. my original OS is win2k server, and I installed linux last weekend, linux works fine after installing. but when I selected the dos to enter win2k the screen had listed this 2 lines and refused to continue:
PHP Code:
loading dos...



what's up ??? Could my win2k OS be available now ???

if any way could solve this problem please let me know, thanx in advance~
 
Old 07-08-2002, 12:12 AM   #2
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Post a copy of your /etc/lilo.conf file.
 
Old 07-08-2002, 12:24 AM   #3
black
Member
 
Registered: Jul 2002
Location: nowhere
Distribution: GNU
Posts: 118

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by linuxcool
Post a copy of your /etc/lilo.conf file.
I didnt touch it after installation. Couldnt linux configure that itself ?

these below are which contained in lilo.conf, sorry I couldnt remember it completely:
PHP Code:
boot=dev/hda
prompt
timeout
=50
default=linux

image
=v***   // sorry I forgot its full name here.
label=linux
root
=dev/hdb

other
=hda5
label
=dos 
 
Old 07-08-2002, 12:43 AM   #4
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
What distro did you say you're using?
If you using Slack rerun (as root) liloconfig

Your lilo boot record got teasted when you installed another
OS
 
Old 07-08-2002, 12:50 AM   #5
black
Member
 
Registered: Jul 2002
Location: nowhere
Distribution: GNU
Posts: 118

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by pickledbeans
What distro did you say you're using?
If you using Slack rerun (as root) liloconfig

Your lilo boot record got teasted when you installed another
OS
it is RedHat7.1 with kernel 2.4.2

and when I rerun lilo it works fine, it shows:
PHP Code:
added linux *
added dos 
but the L ? still exists when restaring.
 
Old 07-08-2002, 12:56 AM   #6
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Is hda5 where w2k is installed? Or is it hda1?
 
Old 07-08-2002, 01:03 AM   #7
pickledbeans
Member
 
Registered: Jun 2002
Location: Bailey, CO
Distribution: Slackware
Posts: 483

Rep: Reputation: 31
The solution is you HAVE to reinstall lilo, it's that simple
And I would suggest starting with a lilo bootdisk to play it safe.
 
Old 07-08-2002, 01:08 AM   #8
black
Member
 
Registered: Jul 2002
Location: nowhere
Distribution: GNU
Posts: 118

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by linuxcool
Is hda5 where w2k is installed? Or is it hda1?
that's just what I got confused.

hda5 was the partition where I placed the software. It should be hda4 where the win2k system files exists. But something was wrong after I fixing it into hda4. when I run lilo, it says: Fatal error
 
Old 07-08-2002, 01:13 AM   #9
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
In what partition did you install w2k? When you install w2k on an empty hard drive, it will install itself in hda1. Are you sure w2k is installed in hda4?
 
Old 07-08-2002, 01:41 AM   #10
black
Member
 
Registered: Jul 2002
Location: nowhere
Distribution: GNU
Posts: 118

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by linuxcool
In what partition did you install w2k? When you install w2k on an empty hard drive, it will install itself in hda1. Are you sure w2k is installed in hda4?
I am not sure. So I tested it with mount.

partition C should be where the files of win2k sys is and partition D is for softwares for windows. I had mouinted partition D with this line:

PHP Code:
mount dev/hda5 mnt/win 
isnt it a hint partition C should be hda 4 ?

Last edited by black; 07-08-2002 at 01:46 AM.
 
Old 07-08-2002, 01:45 AM   #11
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
No. Try hda1 in lilo.conf. Like this:

other=/dev/hda1
label=dos

Then run lilo again and see if it boots w2k.
 
Old 07-08-2002, 01:57 AM   #12
black
Member
 
Registered: Jul 2002
Location: nowhere
Distribution: GNU
Posts: 118

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by linuxcool
No. Try hda1 in lilo.conf. Like this:

other=/dev/hda1
label=dos

Then run lilo again and see if it boots w2k.
all at your order,sir~ I'll check it when back home.

by the way, why linux choose hda5 automatically here ? As I said it is the partition where I placed softwares.
 
Old 07-08-2002, 02:20 AM   #13
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
I don't know why linux chose hda5 as where w2k is installed.

You need to have lilo point to where w2k is installed. Not where w2k's programs are stored. hda5 is your software partition and the code to boot w2k is not there. Try hda1 and see if that works.
 
Old 07-08-2002, 02:48 AM   #14
black
Member
 
Registered: Jul 2002
Location: nowhere
Distribution: GNU
Posts: 118

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by linuxcool
I don't know why linux chose hda5 as where w2k is installed.

You need to have lilo point to where w2k is installed. Not where w2k's programs are stored. hda5 is your software partition and the code to boot w2k is not there. Try hda1 and see if that works.
it also surprised me, I never met this when installing linux before.

and I also hope these 2 lines below would have no conflicts.
other=dev/hda1
boot=dev/hda
 
Old 07-08-2002, 05:04 AM   #15
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
I have an idea as to how linux would think your software partition was where dos was located. When you installed w2k, it probably created an ntfs type partition. Then when you created your software partition, you made it a fat type partition. When linux was installed, it ignored the ntfs partition, saw the fat partition and thought it was where dos was and added it to your lilo.conf file.

There won't be any conflict between the two lines. The other=/dev/hda1 just tells lilo where another operating system is located. The boot=/dev/hda tells lilo where to install itself. In this case, it will install itself in the MBR ( Master Boot Record ) of drive hda.
 
  


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




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