PDA

View Full Version : [SOLVED] ubuntu wont boot after install.



mrstir57
March 30th, 2011, 03:38 AM
after install ubuntu wont boot and gives me this screen. Any ideas on how to fix this?
http://ubuntuforums.org/picture.php?albumid=2232&pictureid=7546

mrstir57
March 30th, 2011, 03:41 AM
also gave me this when i restarted after installation.
http://ubuntuforums.org/picture.php?albumid=2232&pictureid=7547

collisionystm
March 30th, 2011, 03:44 AM
Any way to burn yourself another CD? What version of ubuntu

mrstir57
March 30th, 2011, 03:47 AM
i guess i can runs fine as a live cd. its 10.04 i forgot to note that i had to hit f6 and set something to nonmenest? because my monitor would go to sleep. also i have used this same disk to install on another box.

Rubi1200
March 30th, 2011, 07:59 AM
Hi,
you need to download and run the boot info script from a LiveCD.

There is a link at the bottom of my post with instructions.

Also, post the specifications especially RAM and graphics card.

mrstir57
March 30th, 2011, 10:57 PM
pre { font-family: "Liberation Serif"; }p { margin-bottom: 0.08in; } Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================

=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #1 for /boot/grub.

sda1: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.04.2 LTS
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda2: __________________________________________________ _______________________

File system: swap
Boot sector type: -
Boot sector info:

sda3: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 20.4 GB, 20416757760 bytes
255 heads, 63 sectors/track, 2482 cylinders, total 39876480 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start End Size Id System

/dev/sda1 * 63 22,523,129 22,523,067 83 Linux
/dev/sda2 22,523,130 25,077,464 2,554,335 82 Linux swap / Solaris
/dev/sda3 25,077,465 39,616,289 14,538,825 83 Linux


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 c8cf5a0b-5f3b-49cc-a54d-7629a12942c8 ext4
/dev/sda2 4066dab8-4e3d-4b87-ae6d-cee07f511c6d swap
/dev/sda3 ca62a668-f495-415a-9300-5d7eb0b61821 ext4
/dev/sda: PTTYPE="dos"

============================ "mount | grep ^/dev output: ===========================

Device Mount_Point Type Options

aufs / aufs (rw)
/dev/sr0 /cdrom iso9660 (ro,noatime)
/dev/loop0 /rofs squashfs (ro,noatime)


=========================== sda1/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}

function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c8cf5a0b-5f3b-49cc-a54d-7629a12942c8
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c8cf5a0b-5f3b-49cc-a54d-7629a12942c8
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c8cf5a0b-5f3b-49cc-a54d-7629a12942c8
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=c8cf5a0b-5f3b-49cc-a54d-7629a12942c8 ro quiet splash
initrd /boot/initrd.img-2.6.32-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c8cf5a0b-5f3b-49cc-a54d-7629a12942c8
echo 'Loading Linux 2.6.32-28-generic ...'
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=c8cf5a0b-5f3b-49cc-a54d-7629a12942c8 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-28-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c8cf5a0b-5f3b-49cc-a54d-7629a12942c8
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set c8cf5a0b-5f3b-49cc-a54d-7629a12942c8
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

=============================== sda1/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=c8cf5a0b-5f3b-49cc-a54d-7629a12942c8 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=ca62a668-f495-415a-9300-5d7eb0b61821 /home ext4 defaults 0 2
# swap was on /dev/sda2 during installation
UUID=4066dab8-4e3d-4b87-ae6d-cee07f511c6d none swap sw 0 0

=================== sda1: Location of files loaded by Grub: ===================


7.0GB: boot/grub/core.img
2.5GB: boot/grub/grub.cfg
7.0GB: boot/initrd.img-2.6.32-28-generic
6.9GB: boot/vmlinuz-2.6.32-28-generic
7.0GB: initrd.img
6.9GB: vmlinuz

mrstir57
March 30th, 2011, 11:08 PM
how do i pull up my systems specs in ubuntu ?

mrstir57
March 30th, 2011, 11:42 PM
bump.

Dutch70
March 30th, 2011, 11:57 PM
To pull up your RAM, open a terminal run...

free -m

For your graphics card...

lspci | grep VGA

mrstir57
March 31st, 2011, 12:27 AM
Processor is amd athlon 64 3800+. here are the specs:
ubuntu@ubuntu:~$ free -m
total used free shared buffers cached
Mem: 938 914 23 0 78 514
-/+ buffers/cache: 321 616
Swap: 1247 0 1247
ubuntu@ubuntu:~$ lspci | grep VGA
00:05.0 VGA compatible controller: nVidia Corporation C51 [GeForce 6150 LE] (rev a2)

Quackers
March 31st, 2011, 12:28 AM
Does the machine boot if you type in "exit" without the quotes and press enter?

mrstir57
March 31st, 2011, 12:29 AM
so any ideal why this thing won't boot? :)

mrstir57
March 31st, 2011, 12:31 AM
Does the machine boot if you type in "exit" without the quotes and press enter?
You mean at this screen?
http://ubuntuforums.org/picture.php?albumid=2232&pictureid=7546

Quackers
March 31st, 2011, 12:34 AM
yes

mrstir57
March 31st, 2011, 12:40 AM
no it just repeats the same message.

Quackers
March 31st, 2011, 12:44 AM
I just noticed something.
The UUID quoted in the error message does not exist on your system.
Have you deleted a partition lately? Even a swap partition?

oldfred
March 31st, 2011, 12:51 AM
Could you run the new testing version of boot script. It is supposed to show the UUID that grub wants from the MBR.

Get last development version of Boot Info Script - is all one line:

wget -O boot_info_script.sh 'http://bootinfoscript.git.sourceforge.net/git/gitweb.cgi?p=bootinfoscript/bootinfoscript;a=blob_plain;f=boot_info_script.sh; hb=HEAD'

This does not yet have a version number at the end.

mrstir57
March 31st, 2011, 12:57 AM
Yes i tried installing kubuntu last night with the same results. so inreinstalled ubuntu 10.04 today. The pic above is from last night and the boot script is from today. I did just have a "kick you self in the but moment" this computer i put together from some known working parts i had and the jumper setting on the hard drive was set to "master" to set it to "single" it said to remove the jumper. Well i did that "with the coputer off" and now it sounds like it might be booting but the display goes to sleep. It flash something right before going to sleep and said "snyc out of range"

landstander
March 31st, 2011, 12:58 AM
Since the program listed on your screen is complaining that it can't find the disk, and the disk that it is complaining about isn't listed in your fstab file, this seems a bit odd.

Can you type
ls -l /dev/disk/*
and provide the output here?

Since the UUID of the disk listed in the error message is not listed in your fstab file, maybe that in connection with the list of all disks and devices connected to your system might help. I'm sorry I can't help much beyond that, because like you I'm still learning about Ubuntu.

Maybe run GParted from a boot disk and use its check disk features to see if that particular UUID is damaged?

oldfred
March 31st, 2011, 01:53 AM
If you are using IDE drives, you have to have a master, slave and some have a master with slave jumper.

If you have the new cable select cables you have to use the cable select jumper.

with pictures:
http://en.wikipedia.org/wiki/Parallel_ATA
http://en.wikipedia.org/wiki/Serial_ATA
Some history:
http://www.pcguide.com/ref/hdd/if/ide/confCS-c.html
If you have the more modern 80 conductor 'cable-select' type of IDE ribbon cables, make sure the blue plug is connected to the motherboard, the grey plug is plugged into your slave drive (if any), and the black plug is plugged into your master hard drive.

If you have the old kind of IDE ribbon cables, check that one hard disk is set as 'master' and the other is set as 'slave' if there's another drive on the same cable.

mrstir57
March 31st, 2011, 02:14 AM
If you are using IDE drives, you have to have a master, slave and some have a master with slave jumper.

If you have the new cable select cables you have to use the cable select jumper.

with pictures:
http://en.wikipedia.org/wiki/Parallel_ATA
http://en.wikipedia.org/wiki/Serial_ATA
Some history:
http://www.pcguide.com/ref/hdd/if/ide/confCS-c.html
If you have the more modern 80 conductor 'cable-select' type of IDE ribbon cables, make sure the blue plug is connected to the motherboard, the grey plug is plugged into your slave drive (if any), and the black plug is plugged into your master hard drive.

If you have the old kind of IDE ribbon cables, check that one hard disk is set as 'master' and the other is set as 'slave' if there's another drive on the same cable.
It is an old ide drive. While i was waiting on a response i reinstalled ubuntu 10.04 again with the jumper conf. set to "single" Which on this drive is to remove the jumper completly. Now ubuntu boots! but with no display. As soon as the boot process starts my monitor goes to sleep. I know it booted because i heard the music. so what now? :lolflag:
edit: i do have the hard drive cable installed corectly.

mrstir57
March 31st, 2011, 02:39 AM
ok here is the message rightbefore it goes to sleep.
[ 19.132315] nForce_smbus 0000:00a.1: Error probing smb1.

mrstir57
March 31st, 2011, 03:17 AM
bump.

oldfred
March 31st, 2011, 05:01 AM
Nvidia?
On first boot after install, press e on getting the GRUB bootloader.
Hold shift from BIOS boot to get menu if only one system installed.
Using arrow keys navigate to and delete quiet and splash and type the word nomodeset in their place
Press Ctrl and X to boot (low graphics mode)


How to set NOMODESET and other kernel boot options in grub2
http://ubuntuforums.org/showthread.php?t=1613132
https://help.ubuntu.com/community/LiveCDBootOptions
http://www.mjmwired.net/kernel/Documentation/kernel-parameters.txt
noapic nolapic noapci noirqpoll nosmp irqpoll

Some nVidia chips has used the Generic setting.

Some other settings:
http://ubuntu-tutorials.com/2010/05/06/ubuntu-10-04-lucid-blank-screen-at-startup-workaround/
* Older Intel video card: i915.modeset=1 or i915.modeset=0
* nVidia: nomodeset
* Generic: xforcevesa or nouveau.modeset=0
* Radeon: radeon.modeset=0

mrstir57
April 1st, 2011, 02:37 AM
Nvidia?
On first boot after install, press e on getting the GRUB bootloader.
Hold shift from BIOS boot to get menu if only one system installed.
Using arrow keys navigate to and delete quiet and splash and type the word nomodeset in their place
Press Ctrl and X to boot (low graphics mode)


How to set NOMODESET and other kernel boot options in grub2
http://ubuntuforums.org/showthread.php?t=1613132
https://help.ubuntu.com/community/LiveCDBootOptions
http://www.mjmwired.net/kernel/Documentation/kernel-parameters.txt
noapic nolapic noapci noirqpoll nosmp irqpoll

Some nVidia chips has used the Generic setting.

Some other settings:
http://ubuntu-tutorials.com/2010/05/06/ubuntu-10-04-lucid-blank-screen-at-startup-workaround/
* Older Intel video card: i915.modeset=1 or i915.modeset=0
* nVidia: nomodeset
* Generic: xforcevesa or nouveau.modeset=0
* Radeon: radeon.modeset=0
Thank you SO much! Boots just fine now. the boot screen looks terrible but i don't mind.
Just to recap for anyone who may read this thread the reason my hard drive would not boot was because i had the jumper set wrong. ](*,) And no display was because of my graphics card. oh and compiz :guitar:!