LinuxQuestions.org
Register a domain and help support LQ
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 06-12-2003, 11:28 AM   #16
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46

Your /etc/lilo.conf file should contain something similar to the following at the end (ignore the code text, it's auto inserted by the forum):
Code:
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/hda12
  label = Linux
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking

image = /boot/winxp
  root = /dev/hda12
  label = DOS
  read-only # Non-UMSDOS filesystems should be mounted read-only for checking
Just change the line label = DOS to label = Windows_XP

Avoid using spaces, it can break lilo.

If you're new to vi, here are some useful tips:

to navigate, you should be able to use the arrow keys.

to delete characters, move your cursor on it, and press x.

to insert text, move the cursor to where you want to type, pressi once, and begin typing. when you're done, press the Escape key.

to save your document and exit type :wq!.

if you made a mistake and want to quit without saving type :q!

After you're done, and at the prompt, type /sbin/lilo... see whether there are any errors printed out. If there isn't any, then you're OK, and can reboot to see your changes

Hope this helps

Last edited by Azmeen; 06-12-2003 at 11:31 AM.
 
Old 06-12-2003, 01:04 PM   #17
linux_guy2003
Member
 
Registered: Jun 2003
Posts: 30

Rep: Reputation: 15
well btw if lilo doesn't work type
/sbin/lilo
followed by hitting enter
 
Old 06-12-2003, 03:44 PM   #18
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
I did'nt know it can break a boot loader. I always use spaces. I have to break that habbit. Every time i come here i'm learning more. I use spaces with grub and try to use spaces with lilo. I'm going to try /sbin/lilo right now. Thanks guys. I'm glad and happy that Azmeen is helping me now. After that thread.
 
Old 06-12-2003, 05:16 PM   #19
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
no that did not work. When i restart there is still DOS not Windows_XP. I will post my output for the vi and what it did when i typed in /sbin/lilo.

prompt
timeout=50
default=DOS
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/vmlinuz-2.4.18-14
label=linux
initrd=/boot/initrd-2.4.18-14.img
read-only
append="hdd=ide-scsi root=LABEL=/"

other=/dev/hda1
optional
label=Windows_XP
~


[dsanta@localhost dsanta]$ su
Password:
[root@localhost dsanta]# vi /etc/lilo.conf
[root@localhost dsanta]# /sbin/lilo
Added linux
Added Windows_XP
Fatal: No images have been defined.
[root@localhost dsanta]#


What does that message mean with fatal?? It sounds like an error to me. Please reply back. Thanks.
 
Old 06-12-2003, 08:31 PM   #20
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Hi Derek,

No problem, I took no offense for that particular thread, I'm just making sure I didn't upset you or anything... Anyway, I'll help you with this one since I'm much more familiar with linux then openbsd anyway.

Code:
prompt
timeout=50
default=DOS  --------> change this to default = Windows_XP
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/vmlinuz-2.4.18-14
label=linux
initrd=/boot/initrd-2.4.18-14.img
read-only
append="hdd=ide-scsi root=LABEL=/"

other=/dev/hda1
optional
label=Windows_XP
If you're unclear about anything here, please post, and I'll try to help you again

Last edited by Azmeen; 06-12-2003 at 08:35 PM.
 
Old 06-12-2003, 08:47 PM   #21
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
ok let me give that a try. You did'nt upset but i did'nt like what i wrote because then some people don't want to help me. Thanks for your help.
 
Old 06-12-2003, 09:01 PM   #22
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
Thank You... I got it. It says Windows_XP at boot up. I'm thinking about either getting Mandrake or slackware. Which one is better??

I have another question for you. I know jon only made a few posts on this forum. Do you personally know jon?? I think he had take his computer to dell. Do you know any chance that he got his computer back. When he get it back he is going to help me with my modem in Redhat. His name is on here is jong357. Do you know him?? This question is for Azmeen. Please reply back. Thanks.

Last edited by dsantamassino; 06-12-2003 at 09:20 PM.
 
Old 06-12-2003, 09:26 PM   #23
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
Hi Azmeen. I got something for you to read that came from http://www.bsdforums.org.

With all respect:

Since NetBSD, OpenBSD and FreeBSD work on most common hardware known to humankind, if you can't sort out your issues, you are one or more of the following:

a) not patient (seems obvious)
b) not trying very hard
c) lacking certain basic problem determination and troubleshooting skills
d) trying to run these O/S's on very, very, obscure hardware, perhaps under a tinfoil cone or something

In any case, repeatedly asking the same question, on the same day, and wandering all over the map have already set you up as a marked person here.

In a community like this, the key thing to remember is that people want to help people that want to help themselves.

Advice: Go back to Net/Open/FreeBSD and keep at it until you make it work. If you can't then run Windows.

Recommended reading: How to Ask Questions The Smart Way
 
Old 06-12-2003, 09:42 PM   #24
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Quote:
Originally posted by dsantamassino
Thank You... I got it. It says Windows_XP at boot up. I'm thinking about either getting Mandrake or slackware next. Which one is better??

I have another question for you. I know jon only made a few posts on this forum. Do you personally know jon?? I think he had take his computer to dell. Do you know any chance that he got his computer back. When he get it back he is going to help me with my modem in Redhat. His name is on here is jong357. Do you know him?? This question is for Azmeen. Please reply back. Thanks.
Hi Derek,

I've used Mandrake before, and now I'm using Slackware. Here are pros and cons...

Good things about Mandrake (9.1)
  • Incredibly easy to install
  • Almost everything is done for you
  • Highly recommended for newbies

Not so good things about Mandrake (9.1)
  • Too Windows-like for me, somehow I feel many things are already decided for me.
  • Not fully compliant with normal Linux standards, some apps are not at their proper places.
  • Many programs that require you to compile them won't work because of reason #2
  • If you like to play with KDE window decorations/themes, many of them couldn't be compiled also because of reason #2 above

Good things about Slackware
  • Everything is on one CD. However, if you buy the boxed CD set, you will get extra stuff on a few more CDs.
  • The OS is truly yours, it's built exactly the way you want it.
  • Makes you understand Linux more thoroughly, because many, many things you have to configure yourself.
  • The packaging system (which uses .tgz file) are MUCH better then the RPMs.
  • You learn more things faster using Slack, I've used Mandrake for almost 3 years and discovered that I really know nothing about Linux administration!
  • The community is a little bit aggressive, but believe me, these people at the Slack forums are very knowledgable, helpful, and highly resourceful! Check this thread
  • Many, many questions or problems about Slackware has been answered in this forum, you just need to use the search feature to find them.

Not so good things about Slackware
  • Tough to install, but not as tough as OpenBSD though, I believe you can do it quite easily... however, it did took me more than 3 attempts to get a working installation!
  • Can scare off newbies at first, but f you love freedom, you'll love slack
  • You have to configure many things! But this part is what makes you understand Linux.

As for jon, I don't know him personally. In fact, I haven't even seen any of his posts here... but from reading your threads, it seems that you really consider him to be a good friend and helper.
 
Old 06-13-2003, 12:01 AM   #25
chakkerz
Member
 
Registered: Dec 2002
Location: Brisbane, Australia
Distribution: RedHat (RHEL, FC, CentOS), openSuSE, Mac OS X
Posts: 653

Rep: Reputation: 32
LOL ... yeah Slackware is excellent. Debian teaches you alot about linux too ... but it seemed more like a baseball bat to the head, than a ruler on the fingers (Slackware being the ruler).

Although debian is great, it does raise the issues of .deb being closer to rpm than to tgz. The other problem is that debian really doesn't like java.
 
Old 06-13-2003, 02:23 AM   #26
TheDanLayerOSI
LQ Newbie
 
Registered: May 2003
Posts: 28

Rep: Reputation: 15
wuurrrdddd!!!!!
 
Old 06-13-2003, 03:19 AM   #27
dsantamassino
Member
 
Registered: May 2003
Location: Dallas, PA
Distribution: Windows XP and Redhat Linux 8
Posts: 283

Original Poster
Rep: Reputation: 30
Thanks Amzeen. I think i'm going to try Mandrake Linux 9.1 first.

I can give you one good thing about Mandrake and slackware. I hope it will recognize my internal winmodem. I'm going to use Getright download manager to download the 3 CD's for Mandrake. If it comes down to installing Slackware. I will be looking for you to help me. You seem like a nice guy that would help me. Thanks.
 
Old 06-13-2003, 06:12 AM   #28
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
No prob Derek... Good luck with Mandrake! Many things are basically the same with all Linux distribution. If you do encounter any problems with your modem just start a thread in the Newbie forum, and after that click on my Email button and paste the URL there, I'll try my best to help you.

 
  


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
lilo says command not found prozac Linux - General 1 10-25-2005 06:51 AM
Booting to DOS command line from LILO ninadb Linux - General 4 08-12-2004 12:26 PM
What this command do? lilo -v -v -v && lilo blackzone Linux - General 1 07-06-2004 04:15 AM
LILO error on run at command line HappyFunBall Linux - General 4 08-31-2003 11:27 PM
command lilo niton Linux - Newbie 10 07-17-2002 10:39 AM


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

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