LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 08-11-2003, 10:06 PM   #1
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Slack 10.2, Slack 12, Suse 10.0, DSL 2.2, Xubuntu 7.04
Posts: 920

Rep: Reputation: 30
phantom drive disallowing lilo reconfiguration


Hi.
I think this post might explain some of the case history here. Still in the process of figuring out that missing hard drive problem, but this seems to be another one.

lilo.conf:
Code:
boot=/dev/hda
map=/boot/map
vga=normal
default=linux
keytable=/boot/us.klt
prompt
nowarn
timeout=100
message=/boot/message
menu-scheme=wb:bw:wb:bw
disk=/dev/hde bios=0x81
disk=/dev/hdg bios=0x82
image=/boot/vmlinuz
	label=linux
	root=/dev/hda5
	initrd=/boot/initrd.img
	append="quiet devfs=mount hdd=ide-scsi hdb=ide-scsi"
	vga=788
	read-only
image=/boot/vmlinuz
	label=linux-nonfb
	root=/dev/hda5
	initrd=/boot/initrd.img
	append="devfs=mount hdd=ide-scsi hdb=ide-scsi"
	read-only
image=/boot/vmlinuz
	label=failsafe
	root=/dev/hda5
	initrd=/boot/initrd.img
	append="failsafe devfs=nomount hdd=ide-scsi hdb=ide-scsi"
	read-only
other=/dev/hda1
	label=NT
	table=/dev/hda
other=/dev/fd0
	label=floppy
	unsafe
My problem is twofold:
1. One problem line is the one up there at the top, involving /dev/hde: when I run /sbin/lilo, it tells me that there is no /dev/hde, which is quite correct. My question is this: If I were to comment out that /dev/hde line, what would happen? And how has my system booted so far if lilo should be screwed up by this non-working line in its config file??
2. I recently wiped windows, which meant deleting the windows boot partition on /dev/hda (fdisk -d), recreating it (fdisk -n) and reformatting it with mke2fs. All of this has worked perfectly, my system is hunky-dory, and the new partition is happily mounted and contains the DocumentRoot of my apache web server.
Will the absense of an NT partition screw with that

other=/dev/hda1
label=NT
table=/dev/hda

section of lilo.conf, also? Merely trying to anticipate problems when I reboot

Thanks so much, all who've taken the time to read this!
 
Old 08-12-2003, 07:10 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,542

Rep: Reputation: 676Reputation: 676Reputation: 676Reputation: 676Reputation: 676Reputation: 676
Nothing ...

The BIOS assigns a number to each drive. By default
1st drive - 0x80
2nd drive - 0x81
etc...

If you have an unusual setup of multiple disks you can manualy change it by assigning a drive to and id number like in your lilo.conf. Since you don't have an /dev/hde or probably a /dev/hdg either then you were reasigning a nonexistent drive. So go ahead and comment out or delete the two lines.

You also can delete the other line = config since there isn't an NT anymore
 
Old 08-12-2003, 07:11 AM   #3
geoff_f
Member
 
Registered: May 2003
Location: Canberra, Australia
Distribution: openSUSE 11.3
Posts: 445

Rep: Reputation: 31
I'm not certain about this, but someone else will probably jump in and correct me if I'm wrong. I think the answer to both is that there would not be (and hasn't been) a problem, probably because they have not been selected to boot from. Ie, none of the entries mention booting from /dev/hde, so you could have been using this particular lilo.conf all the time without actually calling upon the /dev/hde drive (phantom as it is). Similarly, provided you now don't select 'NT' from lilo's boot menu, then you won't cause a problem. It would be better to remove the lines altogether, or comment them out as a first step if you feel safer with that. After doing that, you should get no adverse reaction from lilo; in fact, it should be better, as lilo should then stop complaining about /dev/hde not being there, and it should then let you reconfigure.
 
Old 08-12-2003, 08:44 AM   #4
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Slack 10.2, Slack 12, Suse 10.0, DSL 2.2, Xubuntu 7.04
Posts: 920

Original Poster
Rep: Reputation: 30
Great, thanks guys! I really appreciate the help
 
  


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
a phantom file in my home dir microsoft/linux Debian 16 11-05-2005 10:54 PM
phantom nic tzonga1 Linux - Networking 0 06-15-2004 07:44 PM
The Phantom Dir. krome Red Hat 3 11-09-2003 05:41 PM
Disallowing root login in SSH cire Linux - Networking 3 08-06-2003 09:29 PM
Disallowing apache to use cgi and perl cannus Linux - General 8 12-21-2002 05:51 PM


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