PDA

View Full Version : [ubuntu] Ubuntu 10.10 is not booting-help



hoboy
January 24th, 2011, 08:20 PM
I have wel working dual booting ubuntu 10.10 an windows 7
windows was installed first then ubuntu, in separated partition.
you know windows I was hi by some virus I only use windows for visual studio programming.
Then I have formated the partition windows was installed, then reinstalled windows 7.
Now when I boot ubuntu not visible. the dualbooting is not working

Rubi1200
January 24th, 2011, 08:25 PM
We need to get a better overview of your current setup.

Please do the following:

Boot the Ubuntu Live CD/USB. Choose the option "Try Ubuntu without any changes." Once the desktop loads come back here and do the following:

1. Download the boot info script. There is a link in my signature.
2. Once downloaded, move the boot info script to the desktop.
3. Open a terminal and run the command


sudo bash ~/Desktop/boot_info_script*.sh

This will create a RESULTS.txt file on the desktop. Paste the entire contents of that file back here in a new post. Once pasted highlight all text and click the # sign on the toolbar to place code tags around the text.

hoboy
January 24th, 2011, 08:57 PM
Boot Info Script 0.55 dated February 15th, 2010

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

=> Windows is installed in the MBR of /dev/sda

sda1: __________________________________________________ _______________________

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

sda5: __________________________________________________ _______________________

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

sda2: __________________________________________________ _______________________

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

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

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 640.1 GB, 640135028736 bytes
255 heads, 63 sectors/track, 77825 cylinders, total 1250263728 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 457,129,982 1,250,263,039 793,133,058 5 Extended
/dev/sda5 457,129,984 1,250,263,039 793,133,056 83 Linux
/dev/sda2 * 18,876,416 457,128,135 438,251,720 7 HPFS/NTFS


blkid -c /dev/null: __________________________________________________ __________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1: PTTYPE="dos"
/dev/sda2 9A5002AC50028EE7 ntfs
/dev/sda5 83f61dc9-4680-4fa0-904c-5c6f2e0240ae 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)


=========================== sda5/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 part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 83f61dc9-4680-4fa0-904c-5c6f2e0240ae
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 83f61dc9-4680-4fa0-904c-5c6f2e0240ae
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.35-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 83f61dc9-4680-4fa0-904c-5c6f2e0240ae
linux /boot/vmlinuz-2.6.35-24-generic root=UUID=83f61dc9-4680-4fa0-904c-5c6f2e0240ae ro ipv6.disable=1 quiet splash
initrd /boot/initrd.img-2.6.35-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 83f61dc9-4680-4fa0-904c-5c6f2e0240ae
echo 'Loading Linux 2.6.35-24-generic ...'
linux /boot/vmlinuz-2.6.35-24-generic root=UUID=83f61dc9-4680-4fa0-904c-5c6f2e0240ae ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-24-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 83f61dc9-4680-4fa0-904c-5c6f2e0240ae
linux /boot/vmlinuz-2.6.35-23-generic root=UUID=83f61dc9-4680-4fa0-904c-5c6f2e0240ae ro ipv6.disable=1 quiet splash
initrd /boot/initrd.img-2.6.35-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 83f61dc9-4680-4fa0-904c-5c6f2e0240ae
echo 'Loading Linux 2.6.35-23-generic ...'
linux /boot/vmlinuz-2.6.35-23-generic root=UUID=83f61dc9-4680-4fa0-904c-5c6f2e0240ae ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 83f61dc9-4680-4fa0-904c-5c6f2e0240ae
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=83f61dc9-4680-4fa0-904c-5c6f2e0240ae ro ipv6.disable=1 quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 83f61dc9-4680-4fa0-904c-5c6f2e0240ae
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=83f61dc9-4680-4fa0-904c-5c6f2e0240ae ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-25-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 83f61dc9-4680-4fa0-904c-5c6f2e0240ae
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=83f61dc9-4680-4fa0-904c-5c6f2e0240ae ro ipv6.disable=1 quiet splash
initrd /boot/initrd.img-2.6.32-25-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 83f61dc9-4680-4fa0-904c-5c6f2e0240ae
echo 'Loading Linux 2.6.32-25-generic ...'
linux /boot/vmlinuz-2.6.32-25-generic root=UUID=83f61dc9-4680-4fa0-904c-5c6f2e0240ae ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-25-generic
}
### 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,msdos5)'
search --no-floppy --fs-uuid --set 83f61dc9-4680-4fa0-904c-5c6f2e0240ae
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 83f61dc9-4680-4fa0-904c-5c6f2e0240ae
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda2)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos2)'
search --no-floppy --fs-uuid --set 3c2c74d32c748a22
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 ###

=============================== sda5/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
/dev/sda5 / ext4 errors=remount-ro 0 1

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


504.8GB: boot/grub/core.img
505.0GB: boot/grub/grub.cfg
237.4GB: boot/initrd.img-2.6.32-25-generic
235.1GB: boot/initrd.img-2.6.35-22-generic
235.2GB: boot/initrd.img-2.6.35-23-generic
463.3GB: boot/initrd.img-2.6.35-24-generic
505.1GB: boot/vmlinuz-2.6.32-25-generic
505.0GB: boot/vmlinuz-2.6.35-22-generic
505.1GB: boot/vmlinuz-2.6.35-23-generic
505.0GB: boot/vmlinuz-2.6.35-24-generic
463.3GB: initrd.img
235.2GB: initrd.img.old
505.0GB: vmlinuz
505.1GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda1

00000000 00 00 00 41 89 c5 44 0f 45 e9 41 b8 00 00 00 00 |...A..D.E.A.....|
00000010 b9 03 00 00 00 ba 16 00 00 00 be 09 00 00 00 4c |...............L|
00000020 89 f7 41 ff 97 d0 00 00 00 49 63 d4 48 89 04 d3 |..A......Ic.H...|
00000030 41 ff c4 44 89 e9 83 e1 01 48 85 c0 b8 00 00 00 |A..D.....H......|
00000040 00 41 89 c5 44 0f 45 e9 41 b8 00 00 00 00 b9 03 |.A..D.E.A.......|
00000050 00 00 00 ba 17 00 00 00 be 01 00 00 00 4c 89 f7 |.............L..|
00000060 41 ff 97 c8 00 00 00 49 63 d4 48 89 04 d3 41 ff |A......Ic.H...A.|
00000070 c4 44 89 e9 83 e1 01 48 85 c0 b8 00 00 00 00 41 |.D.....H.......A|
00000080 89 c5 44 0f 45 e9 41 b8 00 00 00 00 b9 03 00 00 |..D.E.A.........|
00000090 00 ba 19 00 00 00 be 06 00 00 00 4c 89 f7 41 ff |...........L..A.|
000000a0 97 c8 00 00 00 49 63 d4 48 89 04 d3 41 ff c4 44 |.....Ic.H...A..D|
000000b0 89 e9 83 e1 01 48 85 c0 b8 00 00 00 00 41 89 c5 |.....H.......A..|
000000c0 44 0f 45 e9 41 b8 00 00 00 00 b9 03 00 00 00 ba |D.E.A...........|
000000d0 1a 00 00 00 be 03 00 00 00 4c 89 f7 41 ff 97 c8 |.........L..A...|
000000e0 00 00 00 49 63 d4 48 89 04 d3 41 ff c4 44 89 e9 |...Ic.H...A..D..|
000000f0 83 e1 01 48 85 c0 b8 00 00 00 00 41 89 c5 44 0f |...H.......A..D.|
00000100 45 e9 41 b8 01 00 00 00 b9 03 00 00 00 ba 1b 00 |E.A.............|
00000110 00 00 be 0f 00 00 00 4c 89 f7 41 ff 97 c0 00 00 |.......L..A.....|
00000120 00 49 63 d4 48 89 04 d3 41 ff c4 44 89 e9 83 e1 |.Ic.H...A..D....|
00000130 01 48 85 c0 b8 00 00 00 00 41 89 c5 44 0f 45 e9 |.H.......A..D.E.|
00000140 41 b8 01 00 00 00 b9 03 00 00 00 ba 1b 00 00 00 |A...............|
00000150 be 0a 00 00 00 4c 89 f7 41 ff 97 d0 00 00 00 49 |.....L..A......I|
00000160 63 d4 48 89 04 d3 41 ff c4 44 89 e9 83 e1 01 48 |c.H...A..D.....H|
00000170 85 c0 b8 00 00 00 00 41 89 c5 44 0f 45 e9 41 b8 |.......A..D.E.A.|
00000180 01 00 00 00 b9 03 00 00 00 ba 1b 00 00 00 be 04 |................|
00000190 00 00 00 4c 89 f7 41 ff 97 c8 00 00 00 49 63 d4 |...L..A......Ic.|
000001a0 48 89 04 d3 41 ff c4 44 89 e9 83 e1 01 48 85 c0 |H...A..D.....H..|
000001b0 b8 00 00 00 00 41 89 c5 44 0f 45 e9 41 b8 00 fe |.....A..D.E.A...|
000001c0 ff ff 83 fe ff ff 02 00 00 00 00 40 46 2f 00 00 |...........@F/..|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200

Quackers
January 24th, 2011, 11:54 PM
You need to install grub to the mbr of your hard drive.
If you boot from a live cd and choose "try ubuntu" and when the desktop loads open up a terminal and run these commands

sudo mount /dev/sda5 /mnt
sudo grub-install --root-directory=/mnt /dev/sda
Then reboot and Ubuntu should boot directly. From the Ubuntu desktop open up a terminal and run
sudo update-grub
As grub/cfg is run, you should see the Windows Loader appear. If it does, reboot and you should get the option to boot both systems on the grub menu.

hoboy
January 25th, 2011, 08:26 AM
You need to install grub to the mbr of your hard drive.
If you boot from a live cd and choose "try ubuntu" and when the desktop loads open up a terminal and run these commands

sudo mount /dev/sda5 /mnt
sudo grub-install --root-directory=/mnt /dev/sda
Then reboot and Ubuntu should boot directly. From the Ubuntu desktop open up a terminal and run
sudo update-grub
As grub/cfg is run, you should see the Windows Loader appear. If it does, reboot and you should get the option to boot both systems on the grub menu.

I have done what you have mentioned, now when I start the computer I get dark screen with a blinking on the left corner of the screen