LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-19-2012, 08:42 AM   #1
vishal gautam
LQ Newbie
 
Registered: Aug 2010
Posts: 5

Rep: Reputation: 0
Unhappy grub loader


i had ubuntu 11.04 installed inside window 7 in my dell computer,then i upgraded it to 11.10. But now at initial start it show menu of window 7 and ubuntu. when i select ubuntu then it no more show any option of grub loader like recovery option and boot silently in ubuntu after taking too much time . i edited /etc/default/grup and then command "update-grub" but resulted in nothing..
 
Old 07-19-2012, 02:59 PM   #2
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
well, this is confusing - if you had Ubuntu INSIDE Windoze, were you using a virtual machine?

otherwise, what's the problem? when you select Linux, you're booting into Linux, aren't you? Ubuntu doesn't show any kernel messages while booting, just after a while the Ubuntu logo on a purplish sort of screen, with the red dots going by.....
 
Old 07-19-2012, 04:37 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,332

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
wubi install?? You need to clarify whether this was a wubi or whether you were running it in a virtual machine. If you upgraded to a more recent version, you probably got a new kernel. It seems you are able to boot but don't have the options on the boot menu you expect, is that correct? Have you used the down arrow on the keyboard to see if you are at the end of the menu? More specifics would help someone to help you.
 
Old 07-20-2012, 09:44 AM   #4
vishal gautam
LQ Newbie
 
Registered: Aug 2010
Posts: 5

Original Poster
Rep: Reputation: 0
i am not using virtual machine. i have installed ubuntu side by side to window.At startup, system shows option for window 7 and ubuntu. but when i select ubuntu .system immediately boot into ubuntu after taking much time without any showing option of kernels image through wich you may want to boot..generally when a system have linux, at startup, system show many option of recovery and kernel image...in my system recovery option is not coming..thats it
 
Old 07-20-2012, 11:30 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,332

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
When you update a kernel or do an upgrade, a new kernel is generally added and the grub.cfg menu is changed. What does your grub.cfg file look like? What do you mean by update-grub resulted in nothing? Did you not get any output? You should have seen it on the screen. You did prefix the command with sudo?

You might go to the site below and download and run the bootinfoscript according to the instructions and post the results.txt output here:

http://sourceforge.net/projects/bootinfoscript/
 
Old 07-21-2012, 01:06 AM   #6
vishal gautam
LQ Newbie
 
Registered: Aug 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Boot Info Script 0.61 [1 April 2012]


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

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

sda1: __________________________________________________________________________

File system: vfat
Boot sector type: Dell Utility: FAT16
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /DELLBIO.BIN /DELLRMK.BIN /COMMAND.COM

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 /ubuntu/disks/root.disk
/ubuntu/disks/swap.disk

sda3/Wubi: _____________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

File system: ntfs
Boot sector type: Windows XP: NTFS
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 63.
Operating System:
Boot files:

sda6: __________________________________________________________________________

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

sda7: __________________________________________________________________________

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

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

Drive: sda _____________________________________________________________________
GNU Fdisk 1.2.4
Copyright (C) 1998 - 2006 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful,

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 63 80,324 80,262 de Dell Utility
/dev/sda2 * 81,920 24,383,487 24,301,568 7 NTFS / exFAT / HPFS
/dev/sda3 24,383,488 349,560,831 325,177,344 7 NTFS / exFAT / HPFS
/dev/sda4 349,574,400 625,139,711 275,565,312 f W95 Extended (LBA)
/dev/sda5 349,574,463 419,441,084 69,866,622 7 NTFS / exFAT / HPFS
/dev/sda6 419,446,784 501,366,783 81,920,000 7 NTFS / exFAT / HPFS
/dev/sda7 501,368,832 625,139,711 123,770,880 7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/loop0 35183a21-056d-4fa5-8084-4f8dd1a36111 ext4
/dev/sda1 5450-4444 vfat DellUtility
/dev/sda2 F474FE4474FE095E ntfs RECOVERY
/dev/sda3 E416023C16020FEA ntfs OS
/dev/sda5 01CD608A19E19560 ntfs A
/dev/sda6 DA66F02366F00255 ntfs Study
/dev/sda7 0670CAAE70CAA3B1 ntfs Entertainment

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

Device Mount_Point Type Options

/dev/loop0 / ext4 (rw,errors=remount-ro)
/dev/sda3 /host fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


======================== sda3/Wubi/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 ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root E416023C16020FEA
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root E416023C16020FEA
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
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 ###
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_lupin ###
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-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root E416023C16020FEA
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-3.2.0-27-generic root=UUID=E416023C16020FEA loop=/ubuntu/disks/root.disk ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.2.0-27-generic
}
menuentry 'Ubuntu, with Linux 3.2.0-27-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root E416023C16020FEA
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
echo 'Loading Linux 3.2.0-27-generic ...'
linux /boot/vmlinuz-3.2.0-27-generic root=UUID=E416023C16020FEA loop=/ubuntu/disks/root.disk ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.2.0-27-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 3.0.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root E416023C16020FEA
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-3.0.0-23-generic root=UUID=E416023C16020FEA loop=/ubuntu/disks/root.disk ro quiet splash vt.handoff=7
initrd /boot/initrd.img-3.0.0-23-generic
}
menuentry 'Ubuntu, with Linux 3.0.0-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root E416023C16020FEA
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
echo 'Loading Linux 3.0.0-23-generic ...'
linux /boot/vmlinuz-3.0.0-23-generic root=UUID=E416023C16020FEA loop=/ubuntu/disks/root.disk ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.0.0-23-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-15-generic' --class ubuntu --class gnu-linux --class gnu --class os {
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root E416023C16020FEA
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /boot/vmlinuz-2.6.38-15-generic root=UUID=E416023C16020FEA loop=/ubuntu/disks/root.disk ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-15-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root E416023C16020FEA
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
echo 'Loading Linux 2.6.38-15-generic ...'
linux /boot/vmlinuz-2.6.38-15-generic root=UUID=E416023C16020FEA loop=/ubuntu/disks/root.disk ro recovery nomodeset
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-15-generic
}
}
### END /etc/grub.d/10_lupin ###

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

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if sleep --verbose --interruptible 5 ; then
set timeout=0
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 ###

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

============================= sda3/Wubi/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
/host/ubuntu/disks/root.disk / ext4 loop,errors=remount-ro 0 1
/host/ubuntu/disks/swap.disk none swap loop,sw 0 0
--------------------------------------------------------------------------------

================= sda3/Wubi: Location of files loaded by Grub: =================

GiB - GB File Fragment(s)

28.196262360 = 30.275506176 boot/grub/grub.cfg 1
23.590053558 = 25.329627136 boot/initrd.img-2.6.38-15-generic 2
23.654788971 = 25.399136256 boot/initrd.img-3.0.0-23-generic 3
25.628070831 = 27.517931520 boot/initrd.img-3.2.0-27-generic 2
15.258121490 = 16.383283200 boot/vmlinuz-2.6.38-15-generic 1
15.847656250 = 17.016291328 boot/vmlinuz-3.0.0-23-generic 2
16.848274231 = 18.090696704 boot/vmlinuz-3.2.0-27-generic 2
25.628070831 = 27.517931520 initrd.img 2
23.654788971 = 25.399136256 initrd.img.old 3
16.848274231 = 18.090696704 vmlinuz 2
15.847656250 = 17.016291328 vmlinuz.old 2

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda4

00000000 41 bc 62 61 05 a9 6a 27 4c 16 75 6b 19 48 2d a1 |A.ba..j'L.uk.H-.|
00000010 57 bf f2 14 24 5f 3a b5 64 d2 75 4f 26 e2 22 88 |W...$_:.d.uO&.".|
00000020 07 75 92 4c 06 6a d1 75 53 e1 0b 88 9c 8c 24 e5 |.u.L.j.uS.....$.|
00000030 02 ca 44 02 d6 2f 70 ba 12 a2 74 5d 93 b7 62 0b |..D../p...t]..b.|
00000040 49 31 61 a2 f9 40 e1 80 5a 68 14 d7 84 05 e9 1c |I1a..@..Zh......|
00000050 32 01 7f 09 3d 1d c7 b3 77 a3 05 96 45 b6 97 c4 |2...=...w...E...|
00000060 3a c6 3c 61 66 7b 2f 61 9f b9 a0 b0 a1 99 3e 94 |:.<af{/a......>.|
00000070 73 cd 34 9a 19 74 5a 63 21 70 bd 72 ff b2 93 8b |s.4..tZc!p.r....|
00000080 68 df 59 2c cf 45 57 d1 13 33 41 72 96 e2 f7 a0 |h.Y,.EW..3Ar....|
00000090 f9 b5 1b c4 38 18 58 f4 77 eb c8 c8 a2 a9 d5 c3 |....8.X.w.......|
000000a0 e2 12 1c 6c d2 03 7c cb 6f c2 5d 1f ff 6d c7 f5 |...l..|.o.]..m..|
000000b0 9d 38 a6 90 78 e4 c5 c7 04 8e 77 38 81 f0 4b 42 |.8..x.....w8..KB|
000000c0 95 2c be 8d 6c 0b e3 ef fe 5b 81 bf a0 ab 67 08 |.,..l....[....g.|
000000d0 b6 8d e5 fd a1 c4 2d 72 58 0e 2b 4b 25 21 1a 37 |......-rX.+K%!.7|
000000e0 a4 df 0c 8a 2a d7 9f 50 72 b1 4c 24 05 67 22 b3 |....*..Pr.L$.g".|
000000f0 dd 17 16 2c 78 78 2f 37 bb fc 72 7a f7 37 a8 23 |...,xx/7..rz.7.#|
00000100 f6 1e 12 44 51 85 b4 5c d6 ff fc 3a cc af 35 39 |...DQ..\...:..59|
00000110 c1 03 95 de e8 94 9d 0b ba 99 10 bd 7e 44 a5 a2 |............~D..|
00000120 44 c4 d8 cc 36 ca b3 6c 54 b3 4c f9 78 c5 4d 30 |D...6..lT.L.x.M0|
00000130 b2 ad 61 50 5f f3 67 98 23 a9 25 18 9e 53 80 95 |..aP_.g.#.%..S..|
00000140 47 70 97 ef 88 c8 cb 46 9c e2 07 e4 89 93 81 b8 |Gp.....F........|
00000150 d1 33 27 b0 24 12 e4 27 4d 7f c0 b5 2b 19 58 a4 |.3'.$..'M...+.X.|
00000160 01 04 86 3b 7d 31 1e 2f ff 7a fb 31 93 b3 b5 eb |...;}1./.z.1....|
00000170 59 1c d4 c2 5f f7 c6 41 1b c5 2e 37 64 4c 19 fb |Y..._..A...7dL..|
00000180 57 94 b9 f8 db a4 bd 60 85 65 72 bb 18 c8 01 09 |W......`.er.....|
00000190 00 68 f3 cb e7 02 3c 0c fe df 15 4e 8b 1e 9d bf |.h....<....N....|
000001a0 b3 f4 f5 3a 3d 68 53 d6 7f f3 f6 29 56 a0 e7 77 |...:=hS....)V..w|
000001b0 b7 fe 85 25 d8 fa 92 b1 9b 00 39 91 b8 5b 00 fe |...%......9..[..|
000001c0 ff ff 07 fe ff ff 3f 00 00 00 7e 14 2a 04 00 fe |......?...~.*...|
000001d0 ff ff 05 fe ff ff c1 2a 2a 04 3f 00 e2 04 00 00 |.......**.?.....|
000001e0 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
 
Old 07-21-2012, 09:36 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,332

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
Your bootinfoscript shows windows installed in the master boot record of your drive. It also shows Ubuntu as a wubi install on sda3 which is a windows partition. I've never used wubi but someone else more familiar should be able to help. You could probably install the Ubuntu Grub2 bootloader to the mbr or use something like EasyBCD to modify the windows bootloader to boot Ubuntu. Or you could do a search here at LQ for boot Ubuntu wubi from windows.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Grub Loader -> Grub Page - > Linux Starts Up -> Erorrrrrrrrrr... Doesn't Start Up! Hi_This_is_Dev Linux - Server 5 09-07-2009 02:39 PM
Unable to boot into GRUB loader: GRUB command shell boots up: urgent issue wombat53 Linux - Software 9 09-04-2009 07:20 AM
How to change from grub boot loader to lilo boot loader linuxjamil Linux - Software 1 05-27-2008 02:47 PM
How to change my Grub Loader to Lilo loader in REDHAT LINUX 9.0 skumar.v Linux - Newbie 3 04-04-2008 11:38 AM

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

All times are GMT -5. The time now is 11:05 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration