Announcement

Collapse
No announcement yet.

Linux installation problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Linux installation problem

    I'm having a problem with the installation of my Linux machine and am asking for help. I have an computer setup that has a motherboard that is using the i440bx chipset. I've disabled the onboard IDE, and am attempting to use an add-on IDE card from Promise.

    I can boot with the boot disk that I made (bare.i) and am using the color.gz root disk. I'm to the point were I need to format the hard drive. You know setup root , swap, and home partitions. But if i run the command:

    fdisk /dev/hda

    it says it cannot open the device. The IDE card is working, and It recognizes my drive. Could it be that Linux has it classified as something other than /dev/hda? Because it's an add-on IDE card? I've tried /dev/sda and any others that I know about. But I don't know about alot. So any help would be apreciated.

    Also what is the best way to clear off a drive. I mean no linux files or partitions. Also no Windows files or DOS partitions?

    Just remove the partions with fdisk under Linux?

    Thanks

  • #2
    This promise card, is it a raid card?
    p-two.net

    Comment


    • #3
      Nope, it's just an add-on IDE card that does UDMA 66. Rather than the onboard IDE that does UDMA 33.

      Now I was searching on google and found a couple of pieces of information that the hard drive may be named /dev/hde. And that there was an issue with Linux detecting the onboard IDE even though it is disabled. Does that sound right?

      I'm gonna try /dev/hde and see what goes on.

      Tell me if the information located here seems right.

      Any help would be appreciated.

      Comment


      • #4
        Try hde to hdh, one of them should be the right one.
        p-two.net

        Comment


        • #5
          Ok, I got that problem resolved. I had already tried /dev/hde through dev/hdh and it just wouldn't access it.

          So I did some more searching and found that the kernel that I had on the boot disk (2.2.something) didn't support the Ultra66 IDE controller. I either had to patch or use another kernel. So I looked on my Slackware CDs and there was a 4.4.5 kernel. I made that boot disk and now it allows me to access the drive under /dev/hde. I can fdisk it and everything.

          But the next problem is that after I use the Slackware install to format those partitions, and move onto the install. I get CRC errors when copying from the CD. Is it possible that the Promise IDE controller doesn't reliably support ATAPI devices? I'm gonna install with the CD hooked up to the onboard IDE.

          Thx for the help. Plz keep an eye here.

          Comment


          • #6
            D'oh, that unregistered was me.

            Ok, I got past the CRC errors. By putting the CD-ROM on the onboard IDE channel. It appears as thought the add-on IDE card didn't reliably support the CD-ROM.

            Anyway I got Linux fully installed. I have LILO loaded in the root and have that partition /dev/hde1 set as bootable. and now it boots off of that hard drive. But it hangs when running LILO. it just does "LI". I can't figure out what is going on. I used the kernel off of the boot floppy. Any ideas?

            Comment


            • #7
              Lilo error messages....
              LI = The first stage boot loader was able to load the second stage boot loader, but has failed to execute it. This can either be caused by a geometry mismatch or by moving /boot/boot.b without running the map installer.
              From http://sdb.suse.de/sdb/en/html/kgw_lilo_errmsg.html
              p-two.net

              Comment


              • #8
                ok, so it seems that I may have installed lilo after the 1024 cylinder boundary? How do I check.

                Also when partitioning the hard drive using fdisk there weren't overlaps in my partitions. And the same partitions worked on the onboard IDE. I don't believe it's a geometry issue.

                I'm going to re-install lilo and see what goes on.

                ...or by moving /boot/boot.b without running the map installer.
                I know that I didn't move that. But, what is it talking about, the "map installer"? Maybe it needs to be run? But how?

                Comment


                • #9
                  You need to run the "map installer" before you reboot following any change to your lilo.conf, and you do that by doing "/sbin/lilo"
                  Lilo should be on the MBR, the 1024 thing has to do with old versions of lilo not being able to boot a kernel that resides above cylinder 1024, all new versions of lilo don't have this problem. The latest is 22.2.
                  p-two.net

                  Comment


                  • #10
                    Ok, I'm gonna try a newer version of LILO, because the lilo.conf looks good, and I was running /sbin/lilo before rebooting if i made any changes. I didn't know that was the "map installer", lol. It's all a learning experience. At least I know how to access the floppy. I'm just gonna figure out how to expand these files so i can install. I will take care of this problem like this -->

                    Comment


                    • #11
                      Yay, I got it. Thanks Bern. What I did was uninstall my current version of lilo (using pkgtool) and downloaded the latest version 22.2, copied it to a folder, decompressed it, and installed it.

                      It did alot, but it ended with "cannot ditermine what the first drive is." And it said it was a fatal error. But I checked etc/lilo.conf and it was pointing to the correct drive. I then ran sbin/lilo, and rebooted. And it booted on it's own. So I think I'll be good.

                      Thanks again.

                      Comment


                      • #12
                        Your welcome FA-MAS, glad I could help :)
                        p-two.net

                        Comment


                        • #13
                          Bwhahahah, add another Linux user to the mass. I'm hooked on this OS. Just the problems I had to diagnose and overcome made it much fun. I'm looking forward to much Linux usage.

                          Later

                          Comment

                          Working...
                          X