LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-14-2011, 11:10 PM   #1
tandlj
LQ Newbie
 
Registered: Aug 2002
Location: Canberra (Australia)
Posts: 3

Rep: Reputation: 0
Linux distros install but then don't complete boot


I have installed several Linux distros (eg latest SuSE, Mint, Ubuntu, Kubuntu, Xubuntu, Fedora) in a PC which also runs Windows 7 as dual boot.

All install OK and then reboot, displaying the Grub menu and then going nowhere (ie stopping on an empty, or coloured page, or one with a flickering prompt at the top left corner).

The PC has the Gigabyte GA-MA785GPMT-UD2H board, an AMD Athlon II X4 620 2.6Ghz processor and 4GB memory.
__________________
Cheers, Joseph
 
Old 11-15-2011, 12:53 AM   #2
thinmintaddict
LQ Newbie
 
Registered: Apr 2011
Location: Austin, TX
Distribution: Arch Linux
Posts: 12

Rep: Reputation: 6
booting to windows from grub works correctly though? If not, you may not have installed grub correctly.

Does booting from a live cd work properly? If not, there may be some sort of hardware incompatability (most likely the graphics card)

If the answer to both questions is yes, then you most likely have issues with your menu.lst (or grub.cfg if you're using grub2). It's still possible that your graphics drivers aren't installed properly, or you have bad framebuffer settings etc.
 
Old 11-15-2011, 02:13 AM   #3
tandlj
LQ Newbie
 
Registered: Aug 2002
Location: Canberra (Australia)
Posts: 3

Original Poster
Rep: Reputation: 0
The answer to both questions is yes.

What I don't get is that it happens with each distro - does this point to something that has to do with the BIOS, or similar?

---
Cheers, Joseph
 
Old 11-15-2011, 02:45 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Do you get the flashing cursor right away, or does the system seem to start booting up first?

There are different possibilities.
A) a kernel boot parameter may be needed to allow you to boot (try safe mode and see if it boots)
B) you have more than one disk drive, and pre-boot, grub sees a different drive as the first one, than what the kernel does post boot. This can cause updating the MBR to fail. I had this happen on my old desktop. The solution is to edit the /boot/grub/device.map file to map which device is hd0 and which is hd1. This may entail just swapping the values already present in the file.
Code:
(hd0)   /dev/disk/by-id/ata-TOSHIBA_MK2049GSY_48CYT01OT
(hd1)   /dev/disk/by-id/ata-WDC_WD3200BEKT-00F3T0_WD-WXC0Av8966517
You may also be able to change the boot order of the drives in your BIOS.

Try entering the kernel and initrd lines manually in grub and enter the "boot" command. The grub command line has tab completion, which allows you to find the drive and partition that has the kernel and initrd file.
eg
kernel (hd0[press tab key]

You will be shown which partitions are present, as in (hd0,3) or (hd0,4). Then add a slash to see the directories present. If /boot is on the root directory of the 3rd partition of the first disk: kernel (hd0,2)/boot/vml[TABKEY]
Do the same for the "initrd ..." line.

Here is a howto on booting from the grub cli mode. It may explain it better than I have:
http://members.iinet.net/~herman546/...LI%20Mode.html

Good Luck!
 
Old 11-15-2011, 09:16 PM   #5
tandlj
LQ Newbie
 
Registered: Aug 2002
Location: Canberra (Australia)
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jschiwal View Post
Do you get the flashing cursor right away, or does the system seem to start booting up first?

There are different possibilities.
A) a kernel boot parameter may be needed to allow you to boot (try safe mode and see if it boots)
B) you have more than one disk drive, and pre-boot, grub sees a different drive as the first one, than what the kernel does post boot.

Good Luck!
Thank you.

I only have one disk drive, so I have not done anything about your suggestions under B).

I have however attempted to boot in recovery mode, where the process fairly quickly stopped at these lines:
ACPI: Power Button [PWRF]
ACPI: processor limited to max C-state 1

Then, returning to the PC after a while and reviving the display with lifting and moving the mouse, the screen showed different lines:
udevd: '/sbin/modprobe -bv pci [some numbers], terminated by signal 9 (killed)
udevd: '/sbin/modprobe -bv acpi [some numbers], terminated by signal 9 (killed)
udevd: PNP0700 -bv pci [some numbers], terminated by signal 9 (killed)
and some more lines, all similar to this one:
[602.375404] logitech 0003:0460:c517:input,hiddev0, hidraw 1:USB HID V1.10 Mouse[Logitech USB Receiver] on usb-0000:00:12.0-3/input1
to which was added after a little while:
INFO: rcu_sched_state detected stall on CPU0 (t=16219, jiffies)
INFO: rcu_sched_state detected stalls on CPUs/tasks {0} (detected by 1, t=16219, jiffies)
_______________
Cheers, Joseph
 
Old 11-16-2011, 03:28 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
So, the problem isn't with grub not starting the boot process. It does look like a BIOS problem. Please post the kernel versions of the OS on the hard drive, and your live distro. Including both the kernel version and your motherboard model may help in a Google search.

If the live distro has the same kernel version, check what the boot options are. Either from /boot/grub/menu.lst. or "cat /proc/cmdline". Using the same boot options may help. Try those options even if the kernel versions are different, however, different kernel versions may have different kernel boot options, but it's worth a try.

I wonder how along the boot process you get when trying to boot to the hard drive. Some distro's will write a boot log in the initrd environment, and then copy this file to /var/log/boot.msg when pivoting to the disk. If you get beyond this point, you might try booting up normally, then boot up with your live disc. Then see if /var/log/boot.msg is available on the HD, from when you tried to boot. Error messages there may indicate the problem.

Another option is to boot up to the live distro, and then running dmesg. Maybe errors shown when booting with the live distro will point to a solution.

----

This one is really punting. My old desktop would sometimes refuse to boot. It wouldn't even get into the post mode. Turned out unplugging unnecessary USB devices would allow it to boot. However, this was an intermittent problem, and prevented any booting. BIOSes used to have a enable ACPI OS, which had the opposite effect from what you would think. Turning it off, makes the OS do it's own ACPI probing IIRC, perhaps bypassing a buggy ACPI information. This is going back to the Windows98 era, so you might not have this.

----

Run a memory test. I probably should have suggested this in my first response. The live distro may have a menu option to do this.

Last edited by jschiwal; 11-16-2011 at 03:34 AM.
 
Old 11-16-2011, 05:02 AM   #7
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by jschiwal View Post
Turned out unplugging unnecessary USB devices would allow it to boot. .

Run a memory test. I probably should have suggested this in my first response. The live distro may have a menu option to do this.
Too late with this advice but unplug all usb except keyboard, especially any sticks or flash cards. Video is another consideration but will need a log report to spot.
 
  


Reply



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
Complete List of Linux Netbook Specific Distros undoIT Linux - Laptop and Netbook 50 08-25-2010 12:00 PM
install boot log for 3 distros vendtagain Linux - Newbie 4 09-17-2009 04:32 PM
NetWork card works after complete install, then when I reboot it don't work anymore. rowebil Linux - Networking 5 08-15-2009 02:52 PM
Distros will install but not boot from a SATA drive. CitizenCCW Linux - General 6 11-05-2008 07:57 PM
Can't complete install or boot mngmd Linux - Hardware 8 12-22-2005 09:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration