Lilo issue? Boots to startup floppy fine, not to HD
Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Lilo issue? Boots to startup floppy fine, not to HD
I have a Toshiba Satellite Pro 410CDT laptop that I'm trying to get Slackware V11 working on. (Pentium 90) I installed a new 60G HD. Install went fine. Partitions are 4G Linux, 1G Linux Swap, and the rest another Linux partition (mounted to /home) if that matters. The 4G partition is set bootable and is where Slackware is installed.
I originally set up Lilo in the MBR with the vga mode at normal. When I try to boot the system, it goes through the memory test, and then puts out about 6 lines of "40 40 40 40 40 40 40 40 40" and then stops. Nothing else works at this point except ctrl-alt-delete. I created boot disks during installation, and using one of those and allowing it to boot the 4g linux partition seems to work fine to the extent that I tested it. Suspecting a video setting issue with Lilo, I've edited lilo.config and tried both vga=ask and vga=771 which I thought would give me 800x600x256 which is what the display is supposed to be capable of. Yes, I remembered to run lilo after editing the file. After running lilo I get "Added Linux *". Linux is what I called the partition, so I think this is kosher.
Thats all the details I can think of at this point. Ideas?
Your HD may be larger than your old BIOS can support. This makes no difference to Linux because Linux does not use the BIOS to access hard drives. The exception is LILO. LILO uses the BIOS to access the hard drive. If your kernel is beyond the limit of your BIOS's ability to address then you will get the LILO 40 40 error.
Assuming that this is the problem then the thing to do is creat a small /boot partition at the beginning of the drive and then put the rest of Slackware in a second partition.
I thought about the bios limitation, which is why I just put a 4G partition at the start for Linux to reside in. Do you think even 4G is too big? I can't remember any more what the addressing limit was for those old systems, and I didn't have much luck with google.
To add another thought on the partition size suggestion, the research I did with google suggested the two drive size limitations were 504 MB and 8G depending on "era" of the PC. This particular PC came with an 800MB drive standard, and was available with up to a 2G. The one I replaced was 1.3G so the 504MB limit doesn't apply, and my Linux partition is 4G which is below the 8G I found as another possible limit. Since the CD in the thing is a 1x, it takes hours to load Linux. I don't really want to do _another_ partition change unless there are no other suggestions.
Thanks Steve. In anticipation of your answer, I tried reinstalling (again) with a /boot partition of 1G but that still didn't work. Problem is, I'm not sure if I did the install correctly. When I went through the setup process, I made the 1G boot partition the first one, followed by a 4G partition which I chose for /root, next a 1G swap partition, and the rest a partition mounted to /home. I'm worried that I didn't do the /boot partition correctly. I formatted it reiserfs like the rest, and mounted it to /boot. Then Lilo to the MBR. Is this right, or do I need to install Lilo to hda1 which is the partition I intended for /boot. And.. if so, how do I clear out the MBR?
I have avoided the multiple partition installation. Every Linux I installed is always in a single partition where /boot, /home, /etc and everything else are just subdirectories to the single partition mounted as /.
In this way I have only one partition to boot to. It is a lot easier to maintain, to boot and ultimately to migrate.
If you want the Linux booted up automatically you put Lilo in the MBR.
You should only put Lilo in the root partition if there is another boot loader already in the MBR and you desire the new Linux to be "chainloaded".
With a Live CD you can put Lilo anywhere you want after the installation. Just take a look at the last link of my signature.
Saikee, thanks for your thoughts. I did look over the booting tips link and theres lots of interesting information there. I hope to try to make sense of some of it. The problem I have is that I don't have the luxury of a single partition installation. I tried that initially. I have a 60G harddrive on a bios that evidently doesn't support it. I know that Linux doesn't access the hard drives through the bios, but evidently Lilo does, thus, I have to boot to a partition that is small enough for the bios in the old PC to handle... or so I'm told anyway (see the posts above)
I must admit the way you described it look like the 1024 cylinder limit well documented in the past. I never met it myself and believe that is history with the modern kernels.
To me if your hard disk can be read or use to the full capacity by an operating system then you should be able to boot to any position in the hard disk. The "lba32" is provided sometime in the past to assist older Lilo. I have Lilo 22.5.9 booted in hda55 and Lilo 22.7.2 booted hda62 at the end of a 300Gb disk.
Lilo is no different to Grub except that you must compile /etc/lilo.conf each time it has been amended, by command lilo -b /dev/hdxy.
What I am aware of the installation of Lilo is generally one of the most buggy part of any installation and I generally just restore Lilo after an installation. Many times I had to write my own lilo.conf because the installer failed miserably.
If your problem persists I would install Grub to take over Lilo. Post here the output of the terminal command
From reading over the documentation I've found so far, it sounds like Grub doesn't use the bios to access the hard drives either. I'm going to try things one more time, and if I can't get it to fly, I think I'm going to try switching to Grub and see if I can get there that way. This is incredibly frustrating. I'm sure this is the 1024 cylinder limit problem, but I'm not sure if I'm configuring the boot partition properly to work around the bios limitation... arrrrrrg!