LILO, it's time to get this thing working...
Ok, I have been running Slackware 9.1 for nearly a month now. Now please don't laugh (I'll admit this is kinda pathetic), the only way I have been able to boot into Linux is by using the Slackware boot diskette I created during installation. I have a dual boot system, I have 2 hard drives, an 80GB and a 200GB. Windows XP Pro is installed on the 80GB (just one partition), and Linux is installed on the 200GB (4 partitions, linux is number 4). So Windows is on hde1 and Slackware Linux is on hdf4. If I boot my computer without the Slackware boot diskette then my computer boots straight into Windows XP Professional. How can I install LILO so that I don't need a boot diskette and when I start-up my computer I am welcomed with a menu asking which operating system I would like to boot into?
:Pengy: Thanks, Erik |
I'd say instead of rewriting howto's here, lets start with the already existing ones out on the net for reading pleasure, start here: http://www.ibiblio.org/pub/Linux/doc...ngle/LILO.html
And then if you run into anything that doesn't work or your not sure of, ask your detailed questions here. :) |
Ok I'll give that a look, thankyou very much! :)
|
uh-oh
I must be doing something really bad, b/c I am getting a lot of errors when I "Check Configuration"
Here is my LILO setup: Code:
# LILO configuration file http://img35.photobucket.com/albums/...LILOerror2.png That's a lot of errors.... :( |
Could you post some details of your setup, like the contents of /etc/fstab, and what types of hard drives you're running?
Do you have an ATA RAID or something? /dev/hde and /dev/hdf usually indicate an IDE controller card, serial ATA, or something similar. |
take out the line that says linear and run /sbin/lilo again
|
Yes I do have an Ultra100 TX2 (from Promise) which both of my hard drives are connected to.
My /etc/fstab file: Code:
/dev/hdf3 swap swap defaults 0 0 mount /dev/hde1 /home/Mount -o loop So I know that the Windows drive is recognized one way or another... |
Quote:
http://img35.photobucket.com/albums/...LILOerror3.png Thoughts? Thanks, Erik |
If you change
Code:
boot="/dev/hde1" Code:
boot="/dev/hde" |
Ok I changed it to /dev/hde but what is this error: "Warning: LBA32 addressing assumed"??? That seems to be my main error.
|
That's easier to fix. Instead of linear, you'd put in LBA32
BTW, does your system have an /etc/lilo.conf.example file? You can use that in conjunction with the howto |
Ok, that fixed the LBA32 problem, but I still have this strange error: "Fatal: geo_query_dev HDIO_GETGEO (dev 0x2100): Inappropriate ioctl for device" LOL what the heck does that mean?
Thanks, Erik |
Oh and I don't see a lilo example file...
|
geometry of hdd's
Also, don't know if this information helps, but I ran:
hdparm -g /dev/hde1 Code:
/dev/hde1: Code:
/dev/hdf4: |
Also, I'm very sorry for all the replies I have made (LOL) but I do know that LILO is capable of working in my system b/c when I had Windows and SuSE 9.0 installed (the difference was that they were both on the same hard drive with their seperate partitions, on drive /dev/hde) LILO worked fine. So I know it is possible.
|
All times are GMT -5. The time now is 07:35 AM. |