LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-13-2000, 08:38 AM   #1
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67

Alrighty, I am installing Slackware 7.1 on a machine with two harddrives. The first harddrive is a 15gig drive with one NTFS partition for Windows 2000 Professional. The second harddrive is a 34 gig IBM drive with linux running on it. It might be important to note that these Harddrives are on a Promise Ultra66 controller, not the mainboard controller.

Slackware installed fine and I can boot to it just fine using either the CD or a boot floppy. The problem is lilo won't run off the system. I get an L BB BB BB (with the BB's repeating forever). I am using the LBA32 enhanced version of LILO so that there is no cylinder restriction. I first tried installing lilo on the boot sector of the harddrive with linux, that didn't work because it is the second physical harddrive (it just booted straight into windows). I then tried installing Lilo onto the master boot record of the first physical harddrive (the one with Windows on it) and that is when I got the L BB BB BB....message at boot. Anyone have any suggestions? I think I can make it work if reinstall with the 34gig linux drive as the first physical drive and the 15 gig windows drive the second one but I will like to avoid that if possible.

I would also like to avoid getting and installing grub though I am willing to do that if there are no other options.

Thanks for any input you can give me.

-John
 
Old 12-13-2000, 12:29 PM   #2
ssadams
Member
 
Registered: Dec 2000
Location: Toronto Canada
Distribution: slackware 7.1
Posts: 95

Rep: Reputation: 15
why dont you post your /etc/lilo.conf file here so we can take a look at it to see if there are any errors.You dont need to reinstall.
 
Old 12-13-2000, 12:50 PM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892

Original Poster
Blog Entries: 1

Rep: Reputation: 67
#LILO Config file....
lba32 #beats 1024cyl. restrict., includes linear
boot = /dev/hde
timeout = 1200
delay = 10
vga=normal
map=/boot/map
image = /boot/vmlinuz-2.4.0-test12
append = "ide2=0x1410,0x1404 ide3=0x1408,0x1400" #Ultra66
root = /dev/hde2
label = Linux2.4.0test12
read-only
#end file

I am wondering if I need to put in:
disk=/dev/hde
bios=0x80
in the global part of lilo.conf so it can do the Promise card...hmmmm
oh, btw, when I type LILO it adds it just fine.
I haven't added the windows boot stuff because quite frankly I don't care about that. The only reason Windows needs to remain is I couldn't get the DXR3 dvd decoder drives to work well enough in linux to be usable...yet.
 
Old 12-13-2000, 01:41 PM   #4
Arantila
LQ Newbie
 
Registered: Nov 2000
Location: Finland, Haarajoki
Distribution: Ubuntu
Posts: 15

Rep: Reputation: 0
my prob with lilo...

i have this annoying problem with linux-embedded.


lilo tells me that my "boot sector of /dev/hda has a pre-21 LILO signarure" and wont go any further.

now what the hell does this mean?

i really would like to get this work...i hate to allways boot from floppy...

lilo.conf has eaten these:

boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/bzImage
label=linux
root=/dev/hda2
read-only

box of my pc has eaten:
old MS4132 mainboard
I486DX2-66
seagate 200Mb ide-hd (in three cuts -->hda1 hda2=root hda3=swap)
and some other bits and pieces...not needed..i think ..
 
Old 12-13-2000, 08:39 PM   #5
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,597

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
jtshaw,
Last I checked the 2.2.x kernels did not support that card. You can either download the kernel patch from http://www.kernel.org/pub/linux/kern...ck/ide-2.2.17/ or try the ftp://ftp.slackware.com/pub/slackwar...ks.144/ata66.i slackware bootdisk.

Arantila,
You may be able to run lilo -u to restore a good boot sector.
 
Old 12-13-2000, 09:52 PM   #6
Arantila
LQ Newbie
 
Registered: Nov 2000
Location: Finland, Haarajoki
Distribution: Ubuntu
Posts: 15

Rep: Reputation: 0
tried it but didn't work
 
Old 12-14-2000, 08:12 AM   #7
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892

Original Poster
Blog Entries: 1

Rep: Reputation: 67
Jeremy,
Neither the 2.2.x or the 2.4.0 Test kernels appear to support the promise card natively. However, by passing in the ide2=x,x and the ide3=x,x where the x's are memory addresses obtained from lspci concerning the Promise Ultra66 you can get linux to see the hard drives. I have gotten this method to work on the Ultra66, Ultra100, and Fasttrak100 (I can only assume it will work with other promise cards too, since they are all basically the same thing anyway). In fact, last night I even got lilo working...mostly. It will boot linux now just fine, the problem is it will only do it when linux is on the first hard drive connected to the controller. I think the Promise card bios is only perpared to set the first disk as active for booting (which makes sense to me). What doesn't make sense is why I couldn't install LILO on the first drive (the one with windows) and boot off that.

Anyway, I decided to re-install slackware on the first channel of the Promise card (because I didn't want to have to change everything that refered to hdg instead of hde...) and I set up LILO so that Windows doesn't even recognize it is in a different place. Everything is working quite well now, if only LiVid and the dxr3/hw+ drivers would be finished I could have another 15 gigs of linux space.

Thanks for the help,

-John Shaw
 
Old 12-15-2000, 07:28 PM   #8
ssadams
Member
 
Registered: Dec 2000
Location: Toronto Canada
Distribution: slackware 7.1
Posts: 95

Rep: Reputation: 15
crap I wish I came back to this.If you had linux on the second drive on the same chanel as the first drive...then unless the below was a typo it should have read
root=/dev/hdf2 if indeed it was on the second partition of that drive.


quote "root = /dev/hde2
label = Linux2.4.0test12
read-only"
 
Old 12-16-2000, 01:33 PM   #9
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892

Original Poster
Blog Entries: 1

Rep: Reputation: 67
I actually have linux on the second physical drive and the second channel so hde2 was correct. I just ended up changing the fstab file references of hdeX to hdgX, swapped the linux and windows harddrives and used lilo to make Windows think it was in the same place by maping the harddrives for it. It all pretty much works now.

John
 
  


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 issue tbollen Slackware - Installation 3 07-22-2005 03:11 AM
Gentoo install help: LILO issue dreamer_nights Linux - Software 8 06-05-2005 12:38 AM
lilo boot issue oracleofmist Linux - Newbie 2 09-23-2004 05:30 PM
LILO issue. DJ Platano Slackware 6 04-03-2004 06:56 AM
Install Issue - Boot Disk, Lilo & Kernel Swampy Slackware 5 02-07-2003 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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