can not load ubuntu it gets stuck after a while

Asked by tutankamon

Hi All;

What I have:
- Lg E200 Laptop with 160GB hard drive, Intel Core Duo 1.6 GHz CPU, 2 Gb RAM, 128MB ATI Video Adapter
- Hard drive is partitioned such that Win XP uses its 40Gb and 110GB partitions- 10 GB of partition is reserved for UBUNTU
- I downloaded Ubuntu 7.10

What I want:
- Install ubuntu on my laptop

Who I am:
- I have installed and used various linux releases to a number of different machines in the past (meaning I am not a newby to Linux however I am not an expert)
- I am an experienced windows user and a mid level programmer, I have installed various windows releases to a lot of PCs

What my problem is:
- I start up the system with my UBUNTU CD
- It starts loading the system
- It comes to a point where it gets stuck/ it does not proceed further. It feels as if it waits there for ages
- The step at which I get stuck is given below: (Last few lines before it gets stuck)
...
starting kernel log daemon
starting system message bus dbus
starting network connection manager networkmanager
starting network events dispatcher networkmanagerdispatcher
starting system tools backends system-tools-backends
starting hardware abstraction layer hald
starting common unix printing system: cupsd
starting powernowd
starting consolekit daemon console-kit-daemon
starting avahi mDNS/DNS-SD daemon avahi-daemon
starting DHCP D-Bus daemon dhcdbd
starting blue tooth services
starting gnome display manager
starting deferred execution scheduler atd
starting periodic command scheduler crond
checking battery state
running local boot scripts (/etc/rc.local)

>>> and that is where it gets stuck: no actitivy on hard drive, no actitivy on DVD drive

What I seek:
Any help to get around this problem is welcome.

Thanks in advance

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
tutankamon
Solved:
Last query:
Last reply:
Revision history for this message
Harvey Muller (hlmuller) said :
#1

tutankamon,

That looks familiar. I have an nvidia graphics based laptop, which exhibited that behavior also. Please try this, and then report back and let me know if it allows your installation to continue:

1. When the splash screen comes up asking you to select the type of installation, hit the [F6] key
2. Delete "quiet splash" from the kernel boot parameter line
3. Start the installation

If all goes well, the LiveCD should continue to boot up, and eventually bring you up into the graphical environment.

Please let me know if this resolves your question, or if you require more information.

Regards,

Harvey

Revision history for this message
tutankamon (turevus) said :
#2

Dear Harvey

At first I was very excited that this would solve the problem- but unfortunately it did not help. What happened is that, it stopped again at the same line, I just hit "enter" after a while of no activity then it displayed the prompt "ubuntu@ubuntu:~$". It did not display any graphical environment. Seems as if a linux environment is working however I am not really sure if this is the way it was supposed to be. I mean I do not want to run it from CD, I want to install it on my hard drive and as I said no graphical environment appears...

Cheers

Gokhan

Revision history for this message
Harvey Muller (hlmuller) said :
#3

Gokhan,

Ok. Please confirm two things, and let me know the results. We are going to check to make sure the LiveCD is not the problem.

1. Check the md5sum for the livecd iso. This should check out ok.
2. Run the self check option when the LiveCD splash comes up. This should check out ok.

If you need more information on how to do either of the above please let me know. Both tests should take less than 10 to 15 minutes. This will rule out a problem with the LiveCD itself.

Based on the information you gave on your hardware, I don't think that is the issue. Please run the above and report the results back here.

Thanks,

Harvey

Revision history for this message
tutankamon (turevus) said :
#4

Harvey

I performed the second check, it passed OK.
I do not know how to perform md5sum check for the iso. Can you advise?

Thanks

Gokhan

Revision history for this message
Harvey Muller (hlmuller) said :
#5

Gokhan,

This is an example of how to check the md5sum:

    $ md5sum hardy-desktop-amd64.iso (use the name of your *.iso)

This would print out an md5 value, which you would compare against the value which is published where you downloaded the LiveCD.

But if the second test passed, the first one probably will too.

Would you please report here, the name of the iso file you downloaded to burn your LiveCD?

Thanks,

Harvey

Revision history for this message
tutankamon (turevus) said :
#6

Harvey

I downloaded, burned and tried following files:

- ubuntu-7.10-desktop-i386.iso
- ubuntu-7.10-desktop-amd64.iso
- kubuntu-7.10-desktop-i386.iso

Gokhan

Revision history for this message
Harvey Muller (hlmuller) said :
#7

Gokhan,

I think X is not autoconfiguring correctly. Here's what I would like you to try. Use the ubuntu i386 iso first, it is the most likely candidate that will be successful initially:

1. As before, remove "quiet splash" from the kernel boot parameters using [F6]. This time add "single" where "quiet splash" used to be. Then boot.

1.a. First try the "xfix" option, and see if it boots to the graphical user interface. If this doesn't fix it try the next.

1.b. This time try the "root" option, dropping you to a root shell. Once you are in the root shell enter the following:

    # dpkg-reconfigure xserver-xorg

Follow the instructions, entering the information as best you can. When you are finished, type:

    # exit

and you will be back to the recovery menu, select "resume" to continue booting.

Either of those should work.

If neither of those work, we have one more thing to try:

1. Print or write down an /etc/X11/xorg.conf that is known to work on your machine.

2. Boot the i386 livecd, hit [F6], remove "quiet splash", insert "single".

3. At the Recovery Menu, select "root"

4. at the resulting command line enter the following:

    # nano /etc/X11/xorg.conf

5. manually replace whatever is there, with the text in the known good xorg.conf.

6. type "exit" at the command line to return to Recovery Menu and select "resume" to resume normal boot.

Please try all of the above, and report back here which, if any, resolves the issue.

Thanks,

Harvey

Revision history for this message
Harvey Muller (hlmuller) said :
#8

tutankamon,

Just checking to see if this resolved your question, or if you needed more information.

Regards,

Harvey

Revision history for this message
tutankamon (turevus) said :
#9

Dear Harvey

Thanks for checking back to see the progress. The reason I did not report was; I did partly as you prescribed (managing the configuration file manually) but it did not work. Unfortunately I have not installed another Linux edition before on the machine I am trying to install ubuntu. So, for the part of your prescription to carry on with the installation with a config file known to be working, I need to install another Linux edition. I have found one, now and I am gonna install it. If everything goes well and if I can install a different Linux edition I will try to find where the problem is with UBUNTU- and I am planning to report back the full story here. So I am on it... It is cumbersome and annoying but I will do it anyway.

Thanks

Gokhan

Revision history for this message
Harvey Muller (hlmuller) said :
#10

tutankamon,

An easy way to get a working copy of xorg.conf may be to download the Knoppix LiveCD. If it boots up, then it will have created a working xorg.conf. Then you can copy the xorg.conf to a usb flashdrive to use test in Ubuntu. You could also print it out, and use nano in ubuntu to modify the Ubuntu xorg.conf to match.

Please report back here your results, and any additional questions.

Thanks,

Harvey

Revision history for this message
Harvey Muller (hlmuller) said :
#11

tutankamon,

I'm just checking in. Please report back to launchpad if your question has been solved, or if you require further information.

Thanks,

Harvey

Revision history for this message
tutankamon (turevus) said :
#12

Dear Harvey

I am on it, I tried to boot with Mandriva however it did not work. I am now downloading knoppix Live iso. I have started to think that there is some hardware problem with my machine which prevents me to install Linux. Will let you know once I try with knoppix. If it does not solve at all, it may be worth trying new version of ubuntu. I will report back the results.

Thanks

Gokhan

Revision history for this message
Dougie Richardson (dougierichardson) said :
#13

tutankamon,

Many HP laptops have problems, predominantly relating to power management. Try the following from the boot menu on the Live CD:

Select F6 and add the following lines to the kernel:
noapic acpi_irq_balance irqfixup irqdebug pci=biosirq pci=nomsi acpi_osi="!Linux" acpi_os_name="Windows 2006" noirqdebug

If this works, then we can identify which parameter is at fault, if not then we have ruled out power management. If this is an ACPI issue you will have problems with all distros.

Cheers,

Dougie

Revision history for this message
Harvey Muller (hlmuller) said :
#14

Dougie,

Those are great points. Keep in mind, the laptop he owns is not an HP, but an LG E200 (Korean made). There aren't any of those listed on linux-laptops. And your interest and recommendations are appreciated.

Gokhan,

Please continue the test with Knoppix and report whether you can boot into it successfully or not.

If you are unable to boot into Knoppix, then attempt all of Dougie's recommendations and report back on them.

Thanks,

Harvey

Revision history for this message
tutankamon (turevus) said :
#15

Guys

Knoppix boots perfectly fine. I will try to use the config file generated by Knoppix to boot ubuntu...
Apparently, there is a significant difference. May be most of these differences do not matter however it is not possible to check one by one and insert by hand. So I will try to use the whole file by copying it somewhere...

Will let you know the results...

Cheers

Revision history for this message
Harvey Muller (hlmuller) said :
#16

Gokhan,

Reason to celebrate, you are a big step closer. If the Knoppix based xorg.conf fails bring you to X, along with the report, please post the xorg.conf, and /var/log/Xorg.0.log here also.

Thanks,

Harvey

Revision history for this message
tutankamon (turevus) said :
#17

Guys

Just to let you know, it did not work. I was waiting for the new version of ubuntu. I tried with that and again failed. I am pretty sure the problem is with display drivers. That is why X can not configure. Anyway, will try to play around and will let you know if there is any progress...

Thanks

Gokhan

Revision history for this message
Harvey Muller (hlmuller) said :
#18

Gokhan,

Can you post a copy of the /etc/X11/xorg.conf and /var/log/Xorg.0.log that are generated? The ones that you get from Knoppix. Without those, I will not be able to provide any more suggestions.

And did you attempt to use the Knoppix xorg.conf with Hardy?

Thanks,

Harvey

Revision history for this message
Gianfranco (gianfranco-alongi) said :
#19

Hi there!

I hope this is not too late.

I have an LG E200 laptop with the similar settings, and I experienced a similar problem (not possible to
install ubuntu due to X server problems. I have an ATI Radeon Xpress 1250 card.

My solution:

1) I downloaded the alternate desktop CD from ubuntu (non graphical install)
2) Installed normaly (partitioned and all ; dualbooting)

After install the X server failed to start (which was a bit expected), so I figured the problem was due to the ATI card, and I found this page.

http://www.thinkwiki.org/wiki/Fglrx

At the time, I installed ubuntu 8.04 , thus following this link

http://wiki.cchtml.com/index.php?title=Ubuntu_Hardy_Installation_Guide

Hope this helps you.

Best regards
Gianfranco Alongi

Revision history for this message
tutankamon (turevus) said :
#20

Guys

After a long break, I focused this problem again. With some further investigation on the net I came up with the following solution which finally worked. My solution is somewhat similar to the one given in the link above however it is relatively simple (since the steps in the link above messed up things further for some reason). So here is my solution to finalize this post:

1. I downloaded ati-driver-installer-8-8-x86.x86_64.run (see ATI web site)
2. I installed UBUNTU 8.04 alternate-i 386 (non graphical install)
3. After install, rebooting the machine gave me the option to start "Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)"
(Note the recovery mode was chosen and not the normal one)
4. I copied ati-driver-installer-8-8-x86.x86_64.run to /home directory
5. Now in order to run this file in /home directory I issued the following command (in the /home directory)

chmode +x ati-driver-installer-8-8-x86.x86_64.run

and then

./ati-driver-installer-8-8-x86_64.run

which ran flawlessly. (Infact my revolutionary step was finding out about chmode command- to be honest I did not know I could files this way, well I did not know chmode command anyway)

6. After this process, all I needed to do was to reboot the machine in normal way- and there I had ubuntu graphical interface in front of me prompting me for the password! phew! that was relief...

It works fine now, apart from the fact that the screensaver gets frozen for some reason which I did not investigate yet. It is even like a miracle to see ubuntu working on this laptop...

The solution finalizes this post I believe- thanks for all support.

Gokhan