PDA

View Full Version : [ubuntu] Boot Info



Robitron
July 28th, 2012, 10:22 PM
Hi there. Apparently I am having an issue with the installation of ubuntu. I was told to post my bootinfo in here. So, here goes:


Boot Info Script 0.61 [1 April 2012]


============================= Boot Info Summary: ===============================

=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos7)/boot/grub on this drive.

sda1: __________________________________________________ ________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /BOOTMGR /BOOT/BCD

sda2: __________________________________________________ ________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD

sda3: __________________________________________________ ________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe /wubildr
/ubuntu/winboot/wubildr /wubildr.mbr
/ubuntu/winboot/wubildr.mbr

sda4: __________________________________________________ ________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________ ________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 2048.
Operating System:
Boot files:

sda6: __________________________________________________ ________________________

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

sda7: __________________________________________________ ________________________

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

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

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 2,048 25,167,871 25,165,824 27 Hidden NTFS (Recovery Environment)
/dev/sda2 * 25,167,872 25,372,671 204,800 7 NTFS / exFAT / HPFS
/dev/sda3 25,372,672 857,415,679 832,043,008 7 NTFS / exFAT / HPFS
/dev/sda4 857,417,726 976,771,071 119,353,346 f W95 Extended (LBA)
/dev/sda5 857,417,728 917,094,399 59,676,672 7 NTFS / exFAT / HPFS
/dev/sda6 973,107,200 976,771,071 3,663,872 82 Linux swap / Solaris
/dev/sda7 917,096,448 973,105,151 56,008,704 83 Linux


"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 B21CD0EA1CD0AB1D ntfs PQSERVICE
/dev/sda2 30A0D16FA0D13C52 ntfs SYSTEM RESERVED
/dev/sda3 0A98D2C898D2B205 ntfs eMachines
/dev/sda5 BCB4C284B4C2411E ntfs Ubuntu
/dev/sda6 1f1b3000-e347-4256-86bf-37da78339897 swap
/dev/sda7 f6861521-d76e-4166-bbff-a7f032f8010d ext4
/dev/sr0 iso9660 Ubuntu 12.04 LTS i386

================================ Mount points: =================================

Device Mount_Point Type Options

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


=========================== sda7/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by 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
set have_grubenv=true
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
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root f6861521-d76e-4166-bbff-a7f032f8010d
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root f6861521-d76e-4166-bbff-a7f032f8010d
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="$1"
if [ "$1" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 3.2.0-23-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root f6861521-d76e-4166-bbff-a7f032f8010d
linux /boot/vmlinuz-3.2.0-23-generic-pae root=UUID=f6861521-d76e-4166-bbff-a7f032f8010d ro quiet splash $vt_handoff
initrd /boot/initrd.img-3.2.0-23-generic-pae
}
menuentry 'Ubuntu, with Linux 3.2.0-23-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root f6861521-d76e-4166-bbff-a7f032f8010d
echo 'Loading Linux 3.2.0-23-generic-pae ...'
linux /boot/vmlinuz-3.2.0-23-generic-pae root=UUID=f6861521-d76e-4166-bbff-a7f032f8010d ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-23-generic-pae
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root f6861521-d76e-4166-bbff-a7f032f8010d
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos7)'
search --no-floppy --fs-uuid --set=root f6861521-d76e-4166-bbff-a7f032f8010d
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Recovery Environment (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root B21CD0EA1CD0AB1D
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Windows 7 (loader) (on /dev/sda2)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set=root 30A0D16FA0D13C52
chainloader +1
}
### 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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda7/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' 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/sda7 during installation
UUID=f6861521-d76e-4166-bbff-a7f032f8010d / ext4 errors=remount-ro 0 1
# swap was on /dev/sda6 during installation
UUID=1f1b3000-e347-4256-86bf-37da78339897 none swap sw 0 0
--------------------------------------------------------------------------------

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

GiB - GB File Fragment(s)

= boot/grub/core.img 1
= boot/grub/grub.cfg 1
= boot/initrd.img-3.2.0-23-generic-pae 3
= boot/vmlinuz-3.2.0-23-generic-pae 1
= initrd.img 3
= vmlinuz 1

========= Devices which don't seem to have a corresponding hard drive: =========

sdb sdc

=============================== StdErr Messages: ===============================

awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in

Shadius
July 28th, 2012, 10:26 PM
What exactly is the problem you're having?

Robitron
July 28th, 2012, 10:35 PM
when I try to boot up my pc, i get the "signal out of range" message. I can't even get to the option to choose ubuntu or windows.

the only way that i can get on at all is if i boot from cd and come in that way. however, when i try to change the settings for the resolution through the terminal then update grub it gives me this error:

/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).

oldfred
July 28th, 2012, 10:56 PM
Are you trying to modify the settings of the liveCD or your install? LiveCD of course cannot be changed.

Resetting an out‐of‐range resolution (does not include grub's set gfxmode=640x480)
https://wiki.ubuntu.com/X/Config/Resolution#Resetting_an_out-of-range_resolution
Repair grub's video mode and other settings
https://launchpad.net/grub-customizer

Robitron
July 28th, 2012, 11:01 PM
I have not tried to change anything on the cd. As for the graphics, I was told to uncomment the gfxmode=640x480 so I did do that. However, when i try to run the sudo update-grub command from the terminal, i get the error /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).

So I don't even think that the changes I made to the gfxmode were updated. I've tried to install ubuntu at least three times, hoping to get it to work right but it's to no avail.

By the way, I am no coder, so I have no idea what the coding does or is or anything. So please, keep it dummied down for me. lol

Robitron
July 28th, 2012, 11:38 PM
Are you trying to modify the settings of the liveCD or your install? LiveCD of course cannot be changed.

Resetting an out‐of‐range resolution (does not include grub's set gfxmode=640x480)
https://wiki.ubuntu.com/X/Config/Resolution#Resetting_an_out-of-range_resolution
Repair grub's video mode and other settings
https://launchpad.net/grub-customizer

Okay, I checked out these links and have no idea where to enter this data. However, I did go into the Displays and set the res down. However, it does no good since ubuntu isn't saving any of my changes since i'm not able to load the hdd version of it. (at least that's my guess) so is there something else i can do?

I have good picture when i run ubuntu from the cd. so I don't think it's my vid card or my monitor. it has to be something in the boot up of ubuntu. Otherwise, I wouldn't be able to be in here at all.

oldfred
July 28th, 2012, 11:51 PM
You cannot run the sudo update-grub from the liveCD as that is trying to update liveCD, not your install. That command is run from inside your install. Worst case there is a procedure to chroot or CHange ROOT to boot from liveCD but then switch to your install to run commands.

But installing grub-customerizer into your liveCD will be a lot easier as it handles all of that.

Robitron
July 28th, 2012, 11:58 PM
Ah, I see what you're saying. So now that I have it downloaded and extracted, do i need to run it from the terminal? Sorry but I see very little in the grub customizer site that explains how to use it exactly.

In the read file all it says is:

To compile this you have to install libgtkmm-2.4-dev, cmake and cmake Then run: cmake . make sudo make install

And I have no idea what libgtkmm is or where to install it from.

oldfred
July 29th, 2012, 01:17 AM
You should not have to compile from scratch. It is precompiled if you add the repository to get the compiled for Ubuntu version.

See this:
https://launchpad.net/~danielrichter2007/+archive/grub-customizer
And then click on install.

Also here:
HOWTO: Grub Customizer Updated for grub 1.99
http://ubuntuforums.org/showthread.php?t=1664134

Robitron
July 29th, 2012, 02:00 AM
yeah, I'd read the one that talks about the unsupported apps from the untrusted PPA.

as for the other one, I just started reading it and it's been good so far, however it's now telling me that my new file is found in some directory that i can not find.

ubuntu really is set up a lot differently than i'm used to so navigation is a problem. how, exactly am i supposed to find the gui:applications folder? i've tried the ubuntu search engine, looking through what few folders i have been able to easily find and copying the location as it's posted in that thread but to no avail.

i know that this may come easy to some but to others, this is not so easy.

so please be patient with me.

Robitron
July 29th, 2012, 02:14 AM
Okay, nvm, i found the terminal entry and used it. lol

So, after changing my resolution to 1024x768, I saved it. Now, I guess all that's left is to reboot and cross my fingers.

Robitron
July 29th, 2012, 02:38 AM
That solved the "signal out of range" issue! woohoo!

However, now when I click on the ubuntu OS, without the cd in the drive, it says it can't find a file with the live something or other in it then sits there blinking at me.

So what am I still missing?

oldfred
July 29th, 2012, 03:26 AM
Do you get grub menu. Or if you hold shift key from BIOS until menu appears does it appear?

It still may be a video issue if you can get to grub menu. If not then it is a boot issue of some sort.

If video:
How to set NOMODESET and other kernel boot options in grub2
http://ubuntuforums.org/showthread.php?t=1613132
https://help.ubuntu.com/community/BootOptions

If a boot issue, run the BootInfo report and post link, so we can see details:
Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:
https://help.ubuntu.com/community/Boot-Repair
You can repair many boot issues with this or 'Create BootInfo' report (Other Options) & post the link it creates, so we can see your exact configuration.

Robitron
July 29th, 2012, 03:31 AM
Umm, I posted my boot info report as the first post on here. Would it have changed since I really only changed the resolution?

I'll try the nomodeset too though. but just wanted to throw it out there about my boot info report in case you didn't see my first post. ;)

Robitron
July 29th, 2012, 04:07 AM
Umm, okay I do get the grub menu. I can select ubuntu or windows as my OS. However, when I select ubuntu, it always says "completing installation"

if i don't have my cd in, it says can't find file with live version or something like that,
if i do have my cd in, it seems to install but no changes seem to take place.

i did the boot repair link and when i ran the boot info thing from there, it gave me this url to post:
http://paste.ubuntu.com/1116745/

I hope this helps.

Robitron
July 29th, 2012, 05:12 AM
I went ahead and ran the boot repair and it says this:
Boot successfully repaired.

Please write on a paper the following URL:
http://paste.ubuntu.com/1116822/

In case you still experience boot problem, indicate this URL to:
boot.repair@gmail.com or to your favorite support forum.

You can now reboot your computer.



The boot files of [Ubuntu 12.04 LTS] are far from the start of the disk. Your BIOS may not detect them. You may want to retry after creating a /boot partition (EXT4, >200MB, start of the disk). This can be performed via tools such as gParted. Then select this partition via the [Separate /boot partition:] option of [Boot Repair]. (https://help.ubuntu.com/community/BootPartition)

So is it saying that I need to create yet another partition? :confused:

oldfred
July 29th, 2012, 05:28 AM
Some computers have boot issues. It is known with older BIOS that only boot from the first 137GB. But we are finding it in newer computers. I have always believed it to be a BIOS setting, but some just cannot make it work without a small /boot partition at the front of the drive. Yanni added that to his Boot-Repair as he has seen it a lot also.

If you get grub menu, it is more likely the video issue, but some also require other boot parameters.

If nomodeset on linux line in place of splash quiet does not work post specs on computer. And what video card.

Also can you boot recovery mode? I think that has the nomodeset built in, but it takes you to a repair menu, if it can.

Robitron
July 29th, 2012, 03:09 PM
I did the Grub Customizer and got rid of the signal out of range message. However, when I try to boot up, the only way that I can get to the nomodeset option, that i can find, is by booting from cd. So, I set it and then what am I supposed to do?

Am I supposed to install ubuntu or am i supposed to try ubuntu? I have no idea which.

The instructions get me only to the menu that has the nomodeset option and if i try to press shift while booting from the hdd, i get a different menu completely with no <f> commands at all. So is it supposed to be in there somewhere as well?

oldfred
July 29th, 2012, 03:23 PM
Once installed the instructions are different to add the nomodeset.

I have to use nomodeset on first boot, then I install the nVidia driver and never use nomodeset again.

Boot from hard drive and get grub menu. Press e for edit and scroll to linux line. Replace splash quiet with nomodeset. If other boot options are required, you can also add them.

How to set NOMODESET and other kernel boot options in grub2
http://ubuntuforums.org/showthread.php?t=1613132
https://help.ubuntu.com/community/BootOptions

Robitron
July 29th, 2012, 04:21 PM
I changed it to nomodeset and now all it does is scrolls down this line:

/init: line 7: can't open /dev/sdb: no media found

Robitron
July 29th, 2012, 05:14 PM
Okay, I think I may have figured out the problem but I'm not sure. First of all, there are 6 options to choose from the first menu during boot up. They are:

Ubuntu, with Linux 3.2.0-23-generic-pae
Ubuntu, with Linux 3.2.0-23-generic-pae (recovery mode)
Memory Test (memtest86t)
Memory Test (memtest86t,serial console 115200)
Windows Recovery Environment (loader) (on /dev/sda1)
Windows 7 (loader) (on /dev/sda2)

First time I tried to load, I chose option 1 (Ubuntu, with Linux 3.2.0-23-generic-pae) and all it did was sit there and blink at me. I pressed escape and just got some symbol, so I thought this could not be the correct option. I ctrl+alt+del out and reboot.

Second time I tried to load, I chose option 6 (Windows 7 (loader) (on /dev/sda2)) which opened a new window from which I chose Ubuntu.

Since that seemed more likely to be the right course, I continued using that through out all of this. However, I just tried option 1 again (Ubuntu, with Linux 3.2.0-23-generic-pae) and waited a few seconds and it finally loaded up. Even bringing me to my enter password screen. LOL I actually sat here for a second with a dumb look on my face as I watched the screen waiting for me.

So, it appears that option 1 is the correct option. However, what is the GENERIC-PAE?

oldfred
July 30th, 2012, 01:23 AM
Pae is the extensions to use more than 3GB of RAM with the 32 bit version.

Linus does not like PAE or 32 bit.
http://cl4ssic4l.wordpress.com/2011/05/24/linus-torvalds-about-pae/

The boot script you have showed a wubi install inside Windows. If you are booting Windows 7 and get the second menu with Windows & Ubuntu, you then are booting wubi not you new partitioned install.