LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-20-2003, 04:31 PM   #1
HappyFunBall
LQ Newbie
 
Registered: Aug 2003
Location: Pflugerville, TX
Posts: 4

Rep: Reputation: 0
Question LILO error on run at command line


Warning! Newbie post!

I have just installed Debian 3 onto a partition on a drive shared w/ WinXP (hda). As I am new to Linux I wanted to set LILO to boot to Windoze as default until I get my feet wet in Linux-land. I vi'd into lilo.conf and changed the default line to:

default=WinXP(hda1)

based on the lines I saw in lilo.conf that said:

other=/dev/hda1
label="WinXP(hda1)"

I then saved in vi and got out to the command line and ran lilo -v at the prompt to read the changes. Here is where I get my error:

LILO version 22.2 (yadda, yadda, yadda)
MAX_IMAGES = 27

Reading boot sector from /dev/hda
Merging with /boot/boot-menu.b
Fatal : read /dev/hda: No such file or directory

Any thoughts on where the error lies? I have tried a few more things on my own, but am at a loss. I did change the label in both from the default label LILO assigns of WinNT(hda1), but I assume that I could put almost anything in the label field, correct? Thanks for the help!

Last edited by HappyFunBall; 08-20-2003 at 06:32 PM.
 
Old 08-20-2003, 04:51 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Can you post your whole lilo.conf file?
 
Old 08-21-2003, 07:08 AM   #3
HappyFunBall
LQ Newbie
 
Registered: Aug 2003
Location: Pflugerville, TX
Posts: 4

Original Poster
Rep: Reputation: 0
Certainly! This is copied by hand because I have yet to figure out how to export a nicely formatted version of it....

Lilo.conf: (commented lines removed)

lba32

boot=/dev/hda

root=/dev/hda5

install=/boot/boot-menu.b

map=/boot/map

delay=20

prompt
timeout=100

vga=normal

default=WinXp(hda1)

image=/vmlinuz
label=Linux
read-only

image=/vmlinuz.old
label=LinuxOLD
read-only
optional

other=/dev/hda1
label="WinXP(hda1)"

---------------

Thanks for taking a look.
 
Old 08-31-2003, 10:13 PM   #4
HappyFunBall
LQ Newbie
 
Registered: Aug 2003
Location: Pflugerville, TX
Posts: 4

Original Poster
Rep: Reputation: 0
FYI, I have this same install on a tower PC and am not seeing this issue, however I am seeing it in the laptop this is installed on...a Dell C600. Don't know if that helps at all, but the change executed perfectly on the similar desktop install.

Thanks!
 
Old 08-31-2003, 10:27 PM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
don't you need
table=/dev/hda
after the line other=/dev/hda1?
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can i run a javascript from the command line ? nephish Linux - Software 2 11-08-2005 07:04 AM
how can I run a command on each line of a file eantoranz Programming 6 06-02-2005 02:00 PM
What can/can't run from the command line? redhat beginer Red Hat 4 04-20-2005 10:26 AM
how to run XF86Config from the command line Pacemaker Linux - Newbie 5 04-04-2004 04:39 AM
How to run XF86Config from command line Pacemaker Red Hat 2 04-03-2004 04:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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