Thread: Ubuntu 10.10 and Windows 7 Grub Problem
hello everybody! happy can join big ubuntu family!
encounter:
- have laptop win 7 installed first , ubuntu 10.10;
- ok, grub set dual boot , worked;
- few days ago "update-manager" grub update , installed it. since windows 7 wont boot. when select win7 option says me: "_" , return grub choice list.
forgot add did:
- chmod -x 30_os-prober
- chmod -x 40_custom
- create new file 11_win7 , added this:
code:menuentry "windows 7" { set root='(hd0,msdos1)' chainloader +1 }
here boot_info_script output:
please me manage problem! thank in advancecode:boot info script 0.60 17 may 2011 ============================= boot info summary: =============================== => grub2 (v1.97-1.98) installed in mbr of /dev/sda , looks @ sector 1 of same hard drive core.img. core.img @ location , looks in partition 6 (,msdos6)/boot/grub. sda1: __________________________________________________________________________ file system: ntfs boot sector type: grub2 (v1.97-1.98) boot sector info: grub2 (v1.97-1.98) installed in boot sector of sda1 , looks @ sector 456529840 of same hard drive core.img. core.img @ location , looks in partition 6 (,msdos6)/boot/grub. no errors found in boot parameter block. operating system: boot files: /bootmgr /boot/bcd sda2: __________________________________________________________________________ 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 sda3: __________________________________________________________________________ file system: ntfs boot sector type: windows vista/7 boot sector info: no errors found in boot parameter block. operating system: boot files: sda4: __________________________________________________________________________ file system: extended partition boot sector type: unknown boot sector info: sda5: __________________________________________________________________________ file system: swap boot sector type: - boot sector info: sda6: __________________________________________________________________________ file system: ext4 boot sector type: - boot sector info: operating system: ubuntu 10.10 boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img ============================ drive/partition info: ============================= drive: sda _____________________________________________________________________ disk /dev/sda: 250.1 gb, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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 206,847 204,800 7 ntfs / exfat / hpfs /dev/sda2 206,848 61,442,047 61,235,200 7 ntfs / exfat / hpfs /dev/sda3 61,442,048 389,122,047 327,680,000 7 ntfs / exfat / hpfs /dev/sda4 389,124,094 488,396,799 99,272,706 5 extended /dev/sda5 482,537,472 488,396,799 5,859,328 82 linux swap / solaris /dev/sda6 389,124,096 482,535,423 93,411,328 83 linux "blkid" output: ________________________________________________________________ device uuid type label /dev/sda1 2060d92360d90108 ntfs system reserved /dev/sda2 a0fc0c59fc0c2c5a ntfs /dev/sda3 a6b412e3b412b5b1 ntfs /dev/sda5 b01146d7-593f-413c-aac2-e7c9e9c1872d swap /dev/sda6 d98c1471-bd39-49ae-b74c-c4166dfc9d50 ext4 ================================ mount points: ================================= device mount_point type options /dev/sda6 / ext4 (rw,errors=remount-ro,commit=0) =========================== 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="0" 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 part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set d98c1471-bd39-49ae-b74c-c4166dfc9d50 if loadfont /usr/share/grub/unicode.pf2 ; set gfxmode=640x480 load_video insmod gfxterm fi terminal_output gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set d98c1471-bd39-49ae-b74c-c4166dfc9d50 set locale_dir=($root)/boot/grub/locale set lang=en insmod gettext 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 ### end /etc/grub.d/05_debian_theme ### ### begin /etc/grub.d/10_linux ### menuentry 'ubuntu, linux 2.6.35-28-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set d98c1471-bd39-49ae-b74c-c4166dfc9d50 linux /boot/vmlinuz-2.6.35-28-generic root=uuid=d98c1471-bd39-49ae-b74c-c4166dfc9d50 ro quiet splash initrd /boot/initrd.img-2.6.35-28-generic } menuentry 'ubuntu, linux 2.6.35-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set d98c1471-bd39-49ae-b74c-c4166dfc9d50 echo 'loading linux 2.6.35-28-generic ...' linux /boot/vmlinuz-2.6.35-28-generic root=uuid=d98c1471-bd39-49ae-b74c-c4166dfc9d50 ro single echo 'loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-28-generic } menuentry 'ubuntu, linux 2.6.35-25-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set d98c1471-bd39-49ae-b74c-c4166dfc9d50 linux /boot/vmlinuz-2.6.35-25-generic root=uuid=d98c1471-bd39-49ae-b74c-c4166dfc9d50 ro quiet splash initrd /boot/initrd.img-2.6.35-25-generic } menuentry 'ubuntu, linux 2.6.35-25-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set d98c1471-bd39-49ae-b74c-c4166dfc9d50 echo 'loading linux 2.6.35-25-generic ...' linux /boot/vmlinuz-2.6.35-25-generic root=uuid=d98c1471-bd39-49ae-b74c-c4166dfc9d50 ro single echo 'loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-25-generic } menuentry 'ubuntu, linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set d98c1471-bd39-49ae-b74c-c4166dfc9d50 linux /boot/vmlinuz-2.6.35-22-generic root=uuid=d98c1471-bd39-49ae-b74c-c4166dfc9d50 ro quiet splash initrd /boot/initrd.img-2.6.35-22-generic } menuentry 'ubuntu, 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,msdos6)' search --no-floppy --fs-uuid --set d98c1471-bd39-49ae-b74c-c4166dfc9d50 echo 'loading linux 2.6.35-22-generic ...' linux /boot/vmlinuz-2.6.35-22-generic root=uuid=d98c1471-bd39-49ae-b74c-c4166dfc9d50 ro single echo 'loading initial ramdisk ...' initrd /boot/initrd.img-2.6.35-22-generic } ### end /etc/grub.d/10_linux ### ### begin /etc/grub.d/11_win7 ### adding windows 7 grub 2 menu menuentry "windows 7" { set root='(hd0,msdos2)' chainloader +1 } eof ### end /etc/grub.d/11_win7 ### ### 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,msdos6)' search --no-floppy --fs-uuid --set d98c1471-bd39-49ae-b74c-c4166dfc9d50 linux16 /boot/memtest86+.bin } menuentry "memory test (memtest86+, serial console 115200)" { insmod part_msdos insmod ext2 set root='(hd0,msdos6)' search --no-floppy --fs-uuid --set d98c1471-bd39-49ae-b74c-c4166dfc9d50 linux16 /boot/memtest86+.bin console=ttys0,115200n8 } ### end /etc/grub.d/20_memtest86+ ### -------------------------------------------------------------------------------- =============================== sda6/etc/fstab: ================================ -------------------------------------------------------------------------------- # /etc/fstab: static file system information. # # use 'blkid -o value -s uuid' 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=d98c1471-bd39-49ae-b74c-c4166dfc9d50 / ext4 errors=remount-ro 0 1 # swap on /dev/sda5 during installation uuid=b01146d7-593f-413c-aac2-e7c9e9c1872d none swap sw 0 0 -------------------------------------------------------------------------------- =================== sda6: location of files loaded grub: ==================== gib - gb file fragment(s) 217.690414429 = 233.743302656 boot/grub/core.img 1 210.346805573 = 225.858162688 boot/grub/grub.cfg 2 217.701545715 = 233.755254784 boot/initrd.img-2.6.35-22-generic 1 217.710693359 = 233.765076992 boot/initrd.img-2.6.35-25-generic 1 217.729148865 = 233.784893440 boot/initrd.img-2.6.35-28-generic 1 217.694541931 = 233.747734528 boot/vmlinuz-2.6.35-22-generic 1 217.802829742 = 233.864007680 boot/vmlinuz-2.6.35-25-generic 1 217.714694977 = 233.769373696 boot/vmlinuz-2.6.35-28-generic 1 217.729148865 = 233.784893440 initrd.img 1 217.710693359 = 233.765076992 initrd.img.old 1 217.714694977 = 233.769373696 vmlinuz 1 217.802829742 = 233.864007680 vmlinuz.old 1 ======================== unknown mbrs/boot sectors/etc: ======================== unknown bootloader on sda4 00000000 97 ec 50 1c fa 80 6b 72 d7 48 d3 d5 59 96 dd 17 |..p...kr.h..y...| 00000010 bf 1e b4 d7 a8 9b 5a 9c 80 87 6d b3 13 c1 ae 0b |......z...m.....| 00000020 50 20 48 de d5 eb 7a 9c 11 43 19 08 78 af 24 d4 |p h...z..c..x.$.| 00000030 86 66 61 c5 27 d0 22 51 8b 6f de 39 ad 48 59 40 |.fa.'."q.o.9.hy@| 00000040 19 ac a8 55 59 b0 ed 8c 56 c2 c5 64 17 9b 8f c2 |...uy...v..d....| 00000050 96 e5 26 91 69 66 40 38 a8 da 7c 92 47 6a a1 29 |..&.if@8..|.gj.)| 00000060 81 1b f7 12 31 a5 42 08 c7 ad 4b 8a 5a 95 7b 97 |....1.b...k.z.{.| 00000070 16 42 4e 05 4c ac 41 35 50 00 a0 62 a4 8d 86 4e |.bn.l.a5p..b...n| 00000080 7b 54 d9 21 c7 53 42 23 92 33 53 c8 0f 6a ab 09 |{t.!.sb#.3s..j..| 00000090 a9 5d ca e3 38 a8 9f 33 e8 5a 6e c4 d1 dd b4 2d |.]..8..3.zn....-| 000000a0 c9 ad eb 3d 5e 32 40 6c 73 5c 5c 92 6e 24 fa d5 |...=^2@ls\\.n$..| 000000b0 61 33 23 82 09 e2 b5 a5 15 14 65 55 df a1 eb f0 |a3#.......eu....| 000000c0 5c c7 28 1b 5b af 5c d5 b0 79 07 22 bc cf 56 |\.(.[.\..y."...v| 000000d0 91 0e 18 f4 ae c2 c3 57 8a 48 d4 31 07 35 71 e8 |.......w.h.1.5q.| 000000e0 88 4b 43 a3 27 3d 14 64 d2 8f bb 93 9e 6a 38 64 |.kc.'=.d.....j8d| 000000f0 42 37 2b f5 a9 58 9d a4 83 54 bd 09 e5 f3 1e 15 |b7+..x...t......| 00000100 4a 75 a5 e1 46 00 cd 46 b9 00 7b d4 f9 e7 18 1c |ju..f..f..{.....| 00000110 d2 63 5d ec 42 46 e1 f4 a7 04 da 32 69 48 ec 7b |.c].bf.....2ih.{| 00000120 53 4f 3c 73 f3 53 b6 88 6d d9 5e c0 1b b1 a5 05 |so<s.s..m.^.....| 00000130 49 c6 d3 c5 28 55 ed 4f e4 63 18 e6 94 63 71 11 |i...(u.o.c...cq.| 00000140 4b 82 8f 91 5e 51 e2 15 5f 30 b2 f7 af 51 bb b8 |k...^q.._0...q..| 00000150 5b 78 cb 37 18 af 1e d6 ef c5 cc ec a8 06 06 69 |[x.7...........i| 00000160 32 97 a1 82 4f 63 51 8c 53 88 e9 40 19 a4 31 9c |2...ocq.s..@..1.| 00000170 fa d3 90 12 71 8e b4 a1 7d 2a 74 e0 f6 a6 03 c4 |....q...}*t.....| 00000180 6a 89 f3 55 23 cb 1c 55 d9 a4 f9 02 ad 54 40 7a |j..u#..u.....t@z| 00000190 d2 01 31 c6 4d 2a fb 1a 79 00 8e 94 a3 d0 0a 03 |..1.m*..y.......| 000001a0 a0 e5 cb 71 c7 15 34 71 8c e6 91 54 8c 63 bd 4e |...q..4q...t.c.n| 000001b0 99 53 9c 51 71 c5 13 c4 a1 78 23 ad 59 c2 00 fe |.s.qq....x#.y...| 000001c0 ff ff 82 fe ff ff 02 60 91 05 00 68 59 00 00 fe |.......`...hy...| 000001d0 ff ff 05 fe ff ff 01 00 00 00 01 58 91 05 00 00 |...........x....| 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![]()
a few people have reported similar symptoms after update grub.
has happened grub has been installed sda1 windows boot partition. has trashed (just boot-loader, not windows os). think have use windows cd repair it.
out of interest, when update occurred notified or asked questions new grub put?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [SOLVED] Ubuntu 10.10 and Windows 7 Grub Problem
Ubuntu
Comments
Post a Comment