Thread: Ubuntu No Longer in Grub Menu
i have 11.10 dual-booting windows 7.
decided log-in on ubuntu partition , update it, haven't used in month. updates installed, , decided restart system. however, after restarting computer, grub menu @ boot shows windows 7. oneiric installs found.
how fix this? i'd start using ubuntu again
so ran boot-info script, , these results:
sdb1 looks external hard-drive that's plugged in, , sdc1 usb drive i'm running livecd from.
code:boot info script 0.60 17 may 2011 ============================= boot info summary: =============================== => grub2 (v1.99) installed in mbr of /dev/sda , looks @ sector 1 of same hard drive core.img. core.img @ location , looks on drive. => no boot loader installed in mbr of /dev/sdb. => syslinux mbr (4.04 , higher) installed in mbr of /dev/sdc. sda1: __________________________________________________________________________ file system: vfat boot sector type: dell utility: fat16 boot sector info: no errors found in boot parameter block. operating system: boot files: /dellbio.bin /dellrmk.bin /command.com sda2: __________________________________________________________________________ file system: ntfs boot sector type: windows vista/7 boot sector info: no errors found in boot parameter block. operating system: boot files: /bootmgr /boot/bcd sda3: __________________________________________________________________________ file system: ntfs boot sector type: windows vista/7 boot sector info: no errors found in boot parameter block. operating system: windows 7 boot files: /windows/system32/winload.exe sda4: __________________________________________________________________________ file system: extended partition boot sector type: unknown boot sector info: sda5: __________________________________________________________________________ file system: ntfs boot sector type: windows vista/7 boot sector info: no errors found in boot parameter block. operating system: boot files: sda6: __________________________________________________________________________ file system: ext4 boot sector type: - boot sector info: operating system: ubuntu 11.10 boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img sda7: __________________________________________________________________________ file system: swap boot sector type: - boot sector info: sdb1: __________________________________________________________________________ file system: ntfs boot sector type: windows xp boot sector info: no errors found in boot parameter block. operating system: boot files: sdc1: __________________________________________________________________________ file system: vfat boot sector type: syslinux 4.04 20110518 boot sector info: syslinux looks @ sector 1474440 of /dev/sdc1 second stage. syslinux installed in directory. integrity check of adv area failed. no errors found in boot parameter block. operating system: boot files: /syslinux/syslinux.cfg /ldlinux.sys ============================ drive/partition info: ============================= drive: sda _____________________________________________________________________ disk /dev/sda: 160.0 gb, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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 63 305,234 305,172 de dell utility /dev/sda2 * 307,200 511,999 204,800 7 ntfs / exfat / hpfs /dev/sda3 512,000 170,495,999 169,984,000 7 ntfs / exfat / hpfs /dev/sda4 170,498,046 312,576,704 142,078,659 5 extended /dev/sda5 205,326,828 312,576,704 107,249,877 7 ntfs / exfat / hpfs /dev/sda6 170,498,048 196,950,015 26,451,968 83 linux /dev/sda7 196,952,064 205,326,335 8,374,272 82 linux swap / solaris drive: sdb _____________________________________________________________________ disk /dev/sdb: 500.1 gb, 500107861504 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773167 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/sdb1 63 976,768,064 976,768,002 7 ntfs / exfat / hpfs drive: sdc _____________________________________________________________________ disk /dev/sdc: 4007 mb, 4007624704 bytes 32 heads, 63 sectors/track, 3882 cylinders, total 7827392 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/sdc1 * 63 7,826,111 7,826,049 b w95 fat32 "blkid" output: ________________________________________________________________ device uuid type label /dev/loop0 squashfs /dev/loop1 dd8c66a5-68e9-4fb3-9514-a8033fa5f719 ext3 /dev/sda1 07d9-0417 vfat dellutility /dev/sda2 d8144ce4144cc6ea ntfs system reserved /dev/sda3 4aba552bba5514b3 ntfs /dev/sda5 0b8bd09b2b8ced42 ntfs /dev/sda6 75d4f900-c2d0-4df3-9782-18d32a3e65b7 ext4 /dev/sda7 b1b9dce0-be7f-4d8b-9f9d-ca4089b3ae6b swap /dev/sdb1 36308026307feaef ntfs freeagent goflex drive /dev/sdc1 0418-13ec vfat hp v125w ================================ mount points: ================================= device mount_point type options /dev/loop0 /rofs squashfs (ro,noatime) /dev/sdb1 /media/freeagent goflex drive fuseblk (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) /dev/sdc1 /cdrom vfat (rw,relatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) =========================== sda6/boot/grub/grub.cfg: =========================== -------------------------------------------------------------------------------- # # not edit file # # automatically generated grub-mkconfig using templates # /etc/grub.d , settings /etc/default/grub # ### begin /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; set have_grubenv=true load_env fi set default="windows 7 (loader) (on /dev/sda2)" if [ "${prev_saved_entry}" ]; 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}" ]; saved_entry="${chosen}" save_env saved_entry fi } function recordfail { set recordfail=1 if [ -n "${have_grubenv}" ]; if [ -z "${boot_once}" ]; 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,msdos6)' search --no-floppy --fs-uuid --set=root 75d4f900-c2d0-4df3-9782-18d32a3e65b7 if loadfont /usr/share/grub/unicode.pf2 ; set gfxmode=auto load_video insmod gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set=root 75d4f900-c2d0-4df3-9782-18d32a3e65b7 set locale_dir=($root)/boot/grub/locale set lang=en_us insmod gettext fi terminal_output gfxterm if [ "${recordfail}" = 1 ]; 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; clear fi ### end /etc/grub.d/05_debian_theme ### ### begin /etc/grub.d/10_linux_proxy ### ### end /etc/grub.d/10_linux_proxy ### ### begin /etc/grub.d/20_os-prober_proxy ### 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 d8144ce4144cc6ea chainloader +1 } ### end /etc/grub.d/20_os-prober_proxy ### -------------------------------------------------------------------------------- =============================== sda6/etc/fstab: ================================ -------------------------------------------------------------------------------- # /etc/fstab: static file system information. # # use 'blkid' print universally unique identifier # device; may used uuid= more robust way name devices # works if disks added , removed. see fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / on /dev/sda6 during installation uuid=75d4f900-c2d0-4df3-9782-18d32a3e65b7 / ext4 errors=remount-ro 0 1 # swap on /dev/sda7 during installation uuid=b1b9dce0-be7f-4d8b-9f9d-ca4089b3ae6b none swap sw 0 0 -------------------------------------------------------------------------------- =================== sda6: location of files loaded grub: ==================== gib - gb file fragment(s) = boot/grub/core.img 1 = boot/grub/grub.cfg 1 = boot/initrd.img-3.0.0-12-generic 1 = boot/initrd.img-3.0.0-12-generic-pae 2 = boot/initrd.img-3.0.0-13-generic 2 = boot/initrd.img-3.0.0-13-generic-pae 2 = boot/vmlinuz-3.0.0-12-generic 1 = boot/vmlinuz-3.0.0-12-generic-pae 2 = boot/vmlinuz-3.0.0-13-generic 1 = boot/vmlinuz-3.0.0-13-generic-pae 1 = vmlinuz 1 = vmlinuz.old 1 ========================= sdc1/syslinux/syslinux.cfg: ========================== -------------------------------------------------------------------------------- # d-i config version 2.0 include menu.cfg default vesamenu.c32 prompt 0 timeout 50 ui gfxboot bootlogo -------------------------------------------------------------------------------- ================= sdc1: location of files loaded syslinux: ================== gib - gb file fragment(s) ?? = ?? ldlinux.sys 1 ?? = ?? syslinux/chain.c32 1 ?? = ?? syslinux/gfxboot.c32 1 ?? = ?? syslinux/syslinux.cfg 1 ?? = ?? syslinux/vesamenu.c32 1 ============== sdc1: version of com32(r) files used syslinux: =============== syslinux/chain.c32 : com32r module (v4.xx) syslinux/gfxboot.c32 : com32r module (v4.xx) syslinux/vesamenu.c32 : com32r module (v4.xx) ======================== unknown mbrs/boot sectors/etc: ======================== unknown bootloader on sda4 00000000 b5 67 96 de 05 30 2f 41 78 12 ff 38 d1 00 f9 55 |.g...0/ax..8...u| 00000010 2f 99 b6 5a 22 8f 1a b5 9c 24 56 40 01 9e 1f 01 |/..z"....$v@....| 00000020 ad e4 51 2e 01 81 45 98 6b d6 9a 0a 7e 7d 95 07 |..q...e.k...~}..| 00000030 ad a7 f9 3a 2e e3 dc 94 e8 8d 2b a4 05 f3 1d 71 |...:......+....q| 00000040 ff b0 f1 a0 a6 8c 89 4d 8a bd af a9 75 69 1c 01 |.......m....ui..| 00000050 c0 1b 6c cf 48 9c 88 e7 5a 70 6d b5 14 e4 5c 9f |..l.h...zpm...\.| 00000060 ef ac ca 06 45 ce 6d 0d b0 51 bf d8 d6 f6 a0 a8 |....e.m..q......| 00000070 05 5e 93 e9 82 77 08 7c 44 42 34 1a 10 22 77 02 |.^...w.|db4.."w.| 00000080 60 39 80 c4 4f 99 04 a2 05 14 12 c1 6e 07 c2 cf |`9..o.......n...| 00000090 d3 2a 05 4b 21 66 3c 2a 2f fe 03 4f 63 55 99 00 |.*.k!f<*/..ocu..| 000000a0 8b 4d 27 c5 38 a0 35 51 ff e5 06 0c 8e 1f 08 6a |.m'.8.5q.......j| 000000b0 93 ef ae 68 e3 db 50 5b 9c 78 cc de c5 cf 09 ee |...h..p[.x......| 000000c0 72 ac 7c 36 59 82 e4 c1 fb 54 40 68 90 3d 67 bc |r.|6y....t@h.=g.| 000000d0 19 e9 e2 5a c3 51 ad 0f 06 dc 21 4d 25 4d 52 95 |...z.q....!m%mr.| 000000e0 55 73 7d 88 b5 ae 40 a6 6d 96 55 d1 c2 66 a0 46 |us}...@.m.u..f.f| 000000f0 b5 55 ea d5 05 62 dc 02 26 53 2d 54 d6 83 07 54 |.u...b..&s-t...t| 00000100 6d 41 84 5d 09 10 62 e5 ef ba 31 87 a4 7a d2 ac |ma.]..b...1..z..| 00000110 f9 5a bf e5 e2 06 3a 0c 13 ca f0 36 86 69 71 60 |.z....:....6.iq`| 00000120 38 14 d7 8a 68 30 15 a0 c1 22 49 7c 10 2d 9b f1 |8...h0..."i|.-..| 00000130 d3 3a 0a e5 60 f9 d0 03 91 54 24 30 ac b8 3c 6f |.:..`....t$0..<o| 00000140 bd e9 59 65 81 52 f4 0f 65 9b ed 6e f3 9c ed 6b |..ye.r..e..n...k| 00000150 60 bf a7 6d ae aa 2d 7b 7a a5 45 de 2e 8a 26 e4 |`..m..-{z.e...&.| 00000160 a6 5d c0 ab 84 70 5b 16 0a 3c 66 bb d4 d3 b4 d6 |.]...p[..<f.....| 00000170 f6 d5 ef fb a3 25 08 de 33 8d 1e 8e 11 ea c5 |......%..3......| 00000180 44 7b 94 64 26 7b ed 67 df 5b 95 ec 66 1e 92 62 |d{.d&{.g.[..f..b| 00000190 a7 d7 29 bc 60 fb eb 64 cd 67 95 fe 65 80 18 05 |..).`..d.g..e...| 000001a0 3f ca af 58 34 24 09 58 10 c1 95 0f 95 8f 08 |?..x4$.x........| 000001b0 73 da 24 7c 49 93 2d ba cc a6 4a 96 68 e0 00 fe |s.$|i.-...j.h...| 000001c0 ff ff 07 fe ff ff ee 71 13 02 d5 80 64 06 00 fe |.......q....d...| 000001d0 ff ff 05 fe ff ff 01 00 00 00 01 a0 93 01 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 =============================== stderr messages: =============================== unlzma: decoder error awk: cmd. line:36: math support not compiled in awk: cmd. line:36: math support not compiled in awk: cmd. line:36: math support not compiled in awk: cmd. line:36: math support not compiled in awk: cmd. line:36: math support not compiled in awk: cmd. line:36: math support not compiled in awk: cmd. line:36: math support not compiled in awk: cmd. line:36: math support not compiled in awk: cmd. line:36: math support not compiled in awk: cmd. line:36: math support not compiled in awk: cmd. line:36: math support not compiled in awk: cmd. line:36: math support not compiled in /home/ubuntu/desktop/boot_info_script.sh: line 1579: [: 2.73495e+09: integer expression expected
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Ubuntu No Longer in Grub Menu
Ubuntu
Comments
Post a Comment