LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 08-05-2008, 03:32 PM   #1
ultra81
LQ Newbie
 
Registered: Aug 2008
Posts: 10

Rep: Reputation: 0
boot loader install failure


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:

333 MHz Celeron processor
64 MB RAM
4 GB hard drive

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.

Thanks for your help!
 
Old 08-05-2008, 03:47 PM   #2
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
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...

DragonM15
 
Old 08-05-2008, 03:47 PM   #3
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
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....
 
Old 08-05-2008, 03:50 PM   #4
ultra81
LQ Newbie
 
Registered: Aug 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by DragonM15 View Post
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".
 
Old 08-05-2008, 03:51 PM   #5
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,474

Rep: Reputation: 155Reputation: 155
Here is an explanation of the "1" error code:

0x01
``Illegal command''. This shouldn't happen, but if it does, it may indicate an attempt to access a disk which is not supported by the BIOS.

http://www.linuxhelp.net/forums/lofi...php/t1438.html

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.

Last edited by jailbait; 08-05-2008 at 03:54 PM.
 
Old 08-05-2008, 03:52 PM   #6
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
Quote:
Originally Posted by irishbitte View Post
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.

DragonM15
 
Old 08-05-2008, 03:53 PM   #7
ultra81
LQ Newbie
 
Registered: Aug 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by irishbitte View Post
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.
 
Old 08-05-2008, 03:54 PM   #8
ultra81
LQ Newbie
 
Registered: Aug 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Maybe I should just find someone in Las Vegas who I can pay to install the dang thing. I've been trying to learn as I go, but it's a bit much.
 
Old 08-05-2008, 04:12 PM   #9
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
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!
 
Old 08-05-2008, 04:15 PM   #10
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
Possible Solution........

Actually, try installing lilo to

Code:
/dev/hda
and see if that works? It just might...
 
Old 08-05-2008, 04:21 PM   #11
ultra81
LQ Newbie
 
Registered: Aug 2008
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by irishbitte View Post
Actually, try installing lilo to

Code:
/dev/hda
and see if that works? It just might...
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.
 
Old 08-05-2008, 05:49 PM   #12
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,528

Rep: Reputation: 705Reputation: 705Reputation: 705Reputation: 705Reputation: 705Reputation: 705Reputation: 705
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"?
 
Old 08-05-2008, 05:56 PM   #13
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
Quote:
Originally Posted by ultra81 View Post
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

DragonM15
 
Old 08-05-2008, 06:09 PM   #14
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 82
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?
 
Old 08-06-2008, 10:00 AM   #15
DragonM15
Member
 
Registered: Sep 2003
Location: USA
Distribution: Slackware (Multiple Versions)
Posts: 455

Rep: Reputation: 31
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.

Hope this helps,
DragonM15
 
  


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
How to re-Install the Boot Loader systemhackerz Suse/Novell 7 08-20-2009 06:39 AM
Boot loader won't install in Mandriva 2008 after Windows install eikeland Mandriva 12 05-29-2008 09:30 PM
Need to install a boot loader pruhnke Linux - Software 3 08-24-2005 11:26 AM
RH9 install didnt install boot loader! justin9 Linux - Newbie 5 08-07-2003 03:43 PM


All times are GMT -5. The time now is 10:21 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration