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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all. I appreciate your help and I'm sorry if this is a duplicate, I've searched everywhere and can't find an answer that I can understand. I am total newbie and just following instructions as best I can.
I am attempting to install ubuntu 8.04 on a very old system, to use as a word processor. The specs are:
I had DSL successfully installed but couldn't make it work properly (not user-friendly enough for me.) So I downloaded Ubuntu in the hopes that I could figure it out. I don't understand code, I'm totally new to this whole thing.
I have successfully installed the base system and software.
Now when I try to install either GRUB or LILO it fails.
I told it to install LILO to the MBR (/dev/sda) and tried installing it into the Ubuntu partition too (/dev/sda6). The error message I get for LILO is:
The LILO package failed to install into /target/.
When I tell it to continue anyway, it says:
Running "/sbin/lilo" failed with error code "1".
Trying to install GRUB gives me the same message:
The "grub" package failed to install into /target/.
I know I could select "continue without the boot loader" but I wouldn't have the slightest idea how to manually install one later.
well, this might be a stupid question, but when you installed lilo did you run liloconfig after you installed lilo, or grubconfig after installing grub respectively?
Could you please give a more descriptive explanation of the steps you took to install? Perhaps it was just a missed step...
I'm guessing that Ubuntu is over the top for your system spec. E.g., SDA refers to the first SATA disk in your system, however, you have an IDE disk I would think. It would be referred to as HDA.
Have you thought about something like slackware? Probably will run better on that system....
well, this might be a stupid question, but when you installed lilo did you run liloconfig after you installed lilo, or grubconfig after installing grub respectively?
Um, I'm just clicking on the menu selection. I have the Ubuntu installer main menu open, and I'm clicking on "install the LILO boot loader on a hard disk".
You might try looking in your BIOS and see if the BIOS description of your hard drive corresponds to what you actually have installed.
------------------
Steve Stites
P.S. An alternative explanation along the same lines is the one given by irishbitte that Ubuntu's description of your hard drive does not correspond to what you actually have.
Have you thought about something like slackware? Probably will run better on that system....
I agree with you. Although if possible more RAM would be preferred, but disk space is fine. Slackware 12 might not be the way to go... io have 10.2/11 on a similar system.
I'm guessing that Ubuntu is over the top for your system spec. E.g., SDA refers to the first SATA disk in your system, however, you have an IDE disk I would think. It would be referred to as HDA.
Have you thought about something like slackware? Probably will run better on that system....
I don't really understand this. I'm sorry, I always considered myself quite the expert in Windows but it turns out that all I knew was how to get around Windows' quirks!
When I had DSL installed before, it did name my disks HDA. I don't know what IDE is.
I'm not familiar with Slackware. I picked Ubuntu because everyone told me it was the easiest for a moron to use.
Don't lose heart! Think of how good it will feel when you have installed everything!
OK, IDE means Integrated Drive Electronics.
SATA means Serial Advanced Technology Attachment.
Basically, IDE is nineties tech, and SATA is new tech. Don't worry about the difference. What is important is that ubuntu 'pretends' everything is SATA, but when GRUB or LILO comes along, it pretends nothing, it looks at the hardware, and tells you that the 'target', that is, SDA, does not physically exist.
I suggest you try an old flavour of slackware, 10 or 10.2 are good distros. They are a little more difficult to install than ubuntu, but they will work!
Keep asking the questions, loads of people around here to help!
I tried that, but it still fails. I don't konw how to look and see what the partitions are really named. Especially without closing the menu which means I would have to start all over again!
Maybe if I "continue without boot loader" and then try something else?
Thank you for the help! Most of the time when people answer questions I don't understand the answer or don't know how to execute it.
The part about "hda" or "sda" is inconsequential as some newer distros now label everything (IDE or SATA) sda, sdb, etc. If you're installing Ubuntu to sda6, what else do you have on the computer. Are you able to use the CD to get to a command line to post results of "sudo fdisk -l"?
Thank you for the help! Most of the time when people answer questions I don't understand the answer or don't know how to execute it.
No problem, that is what we are here for. Also alot of people have their msn/aol/yahoo accounts shown so you may be able to talk to someone directly, however if you talk to someone directly then there wont be information on a great forum like LQ
Yancek just hit on something there I think. The boot partition of your OS needs to be mounted in a primary partition, that is, one of the first five partitions. You must have something else running on the PC?
SDA6 is an 'extended partition'. I know that sounds like gibberish, but don't worry for the moment about that. I reckon you have nothing else on there, but are trying to install using an extended partition for some reason.
If and ONLY IF, you have nothing else on your computer, try a full disk install, that is, use the complete hard drive, and allow ubuntu to use automatic partitioning when it gets that far. I bet GRUB or Lilo will install then! By the way, GRUB is the standard at this stage, why are you trying to use LILO?
I had a problem similar to this with my dell laptop now that I think of it. With my dell laptop if I ran my laptop without dma support (which was how it was by default) the hard drive would be hda, but with some kernel modification (NOT saying you need to do this, just part of the story) I could get it to use DMA with my hardware. The only thing is is the modifications I made to the kernel 1. obviously required a reboot to start the new kernel and 2. Changed all hda's to sda's. If you edit lilo to account for the sda's while the system is still in the previous kernel where it thinks the devices are hda lilo will error out and tell you you don't have and sda device.
In your case it is slightly different, however do you have a live linux distro? Live linux distro's are linux distributions that can be run completely off of CD without ANY modifications to the hard drive. I used PHLAK, however as of I think 2 years ago that distro has been discontinued, but your laptop is old, so support should be good. There are many other live distro's out there. Download one, burn it to CD, edit your lilo.conf/grub.conf while booted into the live distro, and run lilo/grub to apply the changed settings.
I am not entirely sure this will help you, but that is what helped me when I was in a "similar" predicament.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.