Thread: Windows 7 is not showing in grub
ok, heres problem, running latest ubuntu on hard drive, , had windows 7 before, going fine until bit more can chew , started playing around partitions, because ubuntu 1 limited 1 gig. ill looked around , stuff see , can offer you.
any chance of help? did little tinkering ended weird results, on dell, doesnt come windows 7 dvd, had download iso of windows 7 recovery disc "repair computer section"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 (,msdos1)/boot/grub on drive. sda1: __________________________________________________________________________ file system: ext4 boot sector type: - boot sector info: operating system: ubuntu 11.04 boot files: /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 boot parameter block. operating system: windows 7 boot files: /bootmgr /boot/bcd /windows/system32/winload.exe sda3: __________________________________________________________________________ file system: vfat boot sector type: unknown boot sector info: no errors found in boot parameter block. operating system: ms-dos boot files: /io.sys /msdos.sys /command.com ============================ 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 390,625,279 390,623,232 83 linux /dev/sda2 * 939,907,072 974,725,119 34,818,048 7 ntfs / exfat / hpfs /dev/sda3 974,725,120 976,771,071 2,045,952 c w95 fat32 (lba) "blkid" output: ________________________________________________________________ device uuid type label /dev/sda1 d4b0b4bf-91ec-4f50-91f6-a23a1aa110f1 ext4 /dev/sda2 d21a925d1a923f03 ntfs /dev/sda3 f85c-5fed vfat ^_^ ================================ mount points: ================================= device mount_point type options /dev/sda1 / ext4 (rw,errors=remount-ro,commit=600) =========================== sda1/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 video_bochs insmod video_cirrus } insmod part_msdos insmod ext2 set root='(/dev/sda,msdos1)' search --no-floppy --fs-uuid --set=root d4b0b4bf-91ec-4f50-91f6-a23a1aa110f1 if loadfont /usr/share/grub/unicode.pf2 ; set gfxmode=auto load_video insmod gfxterm fi terminal_output gfxterm insmod part_msdos insmod ext2 set root='(/dev/sda,msdos1)' search --no-floppy --fs-uuid --set=root d4b0b4bf-91ec-4f50-91f6-a23a1aa110f1 set locale_dir=($root)/boot/grub/locale set lang=en_gb 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 if background_color 44,0,30; clear fi ### end /etc/grub.d/05_debian_theme ### ### begin /etc/grub.d/10_linux ### if [ ${recordfail} != 1 ]; if [ -e ${prefix}/gfxblacklist.txt ]; if hwmatch ${prefix}/gfxblacklist.txt 3; if [ ${match} = 0 ]; 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" ]; load_video; fi menuentry 'ubuntu, linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail set gfxpayload=$linux_gfx_mode insmod part_msdos insmod ext2 set root='(/dev/sda,msdos1)' search --no-floppy --fs-uuid --set=root d4b0b4bf-91ec-4f50-91f6-a23a1aa110f1 linux /boot/vmlinuz-2.6.38-8-generic root=uuid=d4b0b4bf-91ec-4f50-91f6-a23a1aa110f1 ro quiet splash vt.handoff=7 initrd /boot/initrd.img-2.6.38-8-generic } menuentry 'ubuntu, linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail set gfxpayload=$linux_gfx_mode insmod part_msdos insmod ext2 set root='(/dev/sda,msdos1)' search --no-floppy --fs-uuid --set=root d4b0b4bf-91ec-4f50-91f6-a23a1aa110f1 echo 'loading linux 2.6.38-8-generic ...' linux /boot/vmlinuz-2.6.38-8-generic root=uuid=d4b0b4bf-91ec-4f50-91f6-a23a1aa110f1 ro single echo 'loading initial ramdisk ...' initrd /boot/initrd.img-2.6.38-8-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='(/dev/sda,msdos1)' search --no-floppy --fs-uuid --set=root d4b0b4bf-91ec-4f50-91f6-a23a1aa110f1 linux16 /boot/memtest86+.bin } menuentry "memory test (memtest86+, serial console 115200)" { insmod part_msdos insmod ext2 set root='(/dev/sda,msdos1)' search --no-floppy --fs-uuid --set=root d4b0b4bf-91ec-4f50-91f6-a23a1aa110f1 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)" --class windows --class os { insmod part_msdos insmod ntfs set root='(/dev/sda,msdos2)' search --no-floppy --fs-uuid --set=root d21a925d1a923f03 chainloader +1 } ### end /etc/grub.d/30_os-prober ### ### begin /etc/grub.d/40_custom ### # file provides easy way add custom menu entries. type # menu entries want add after comment. careful not change # 'exec tail' line above. ### end /etc/grub.d/40_custom ### ### begin /etc/grub.d/41_custom ### if [ -f $prefix/custom.cfg ]; source $prefix/custom.cfg; fi ### end /etc/grub.d/41_custom ### -------------------------------------------------------------------------------- =============================== sda1/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 /dev/sda1 / ext4 errors=remount-ro 0 1 -------------------------------------------------------------------------------- =================== sda1: location of files loaded grub: ==================== gib - gb file fragment(s) 52.135513306 = 55.980081152 boot/grub/core.img 1 114.272605896 = 122.699276288 boot/grub/grub.cfg 1 113.135356903 = 121.478164480 boot/initrd.img-2.6.38-8-generic 2 52.133792877 = 55.978233856 boot/vmlinuz-2.6.38-8-generic 1 113.135356903 = 121.478164480 initrd.img 2 52.133792877 = 55.978233856 vmlinuz 1 ======================== unknown mbrs/boot sectors/etc: ======================== unknown bootloader on sda3 00000000 eb 58 90 4d 53 57 49 4e 34 2e 31 00 02 08 21 00 |.x.mswin4.1...!.| 00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 00 20 19 3a |........?.... .:| 00000020 00 38 1f 00 cb 07 00 00 00 00 00 00 6c 01 00 00 |.8..........l...| 00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000040 80 00 29 ed 5f 5c f8 4e 4f 20 4e 41 4d 45 20 20 |..)._\.no name | 00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | fat32 3.....| 00000060 7b 8e c1 8e d9 bd 00 7c 88 4e 02 8a 56 40 b4 41 |{......|.n..v@.a| 00000070 bb aa 55 cd 13 72 10 81 fb 55 aa 75 0a f6 c1 01 |..u..r...u.u....| 00000080 74 05 fe 46 02 eb 2d 8a 56 40 b4 08 cd 13 73 05 |t..f..-.v@....s.| 00000090 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f b6 d1 80 e2 |.....f...@f.....| 000000a0 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 c9 66 f7 e1 |?.......af...f..| 000000b0 66 89 46 f8 83 7e 16 00 75 38 83 7e 2a 00 77 32 |f.f..~..u8.~*.w2| 000000c0 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 01 00 e8 2b |f.f.f..........+| 000000d0 00 e9 2c 03 a0 fa 7d b4 7d 8b f0 ac 84 c0 74 17 |..,...}.}.....t.| 000000e0 3c ff 74 09 b4 0e bb 07 00 cd 10 eb ee a0 fb 7d |<.t............}| 000000f0 eb e5 a0 f9 7d eb e0 98 cd 16 cd 19 66 60 80 7e |....}.......f`.~| 00000100 02 00 0f 84 20 00 66 6a 00 66 50 06 53 66 68 10 |.... .fj.fp.sfh.| 00000110 00 01 00 b4 42 8a 56 40 8b f4 cd 13 66 58 66 58 |....b.v@....fxfx| 00000120 66 58 66 58 eb 33 66 3b 46 f8 72 03 f9 eb 2a 66 |fxfx.3f;f.r...*f| 00000130 33 d2 66 0f b7 4e 18 66 f7 f1 fe c2 8a ca 66 8b |3.f..n.f......f.| 00000140 d0 66 c1 ea 10 f7 76 1a 86 d6 8a 56 40 8a e8 c0 |.f....v....v@...| 00000150 e4 06 0a cc b8 01 02 cd 13 66 61 0f 82 75 ff 81 |.........fa..u..| 00000160 c3 00 02 66 40 49 75 94 c3 42 4f 4f 54 4d 47 52 |...f@iu..bootmgr| 00000170 20 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 | ............| 00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 42 4f |..............bo| 000001b0 4f 54 4d 47 52 20 69 73 20 6d 69 73 73 69 6e 67 |otmgr missing| 000001c0 ff 0d 0a 44 69 73 6b 20 65 72 72 6f 72 ff 0d 0a |...disk error...| 000001d0 50 72 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f |press key to| 000001e0 20 72 65 73 74 61 72 74 0d 0a 00 00 00 00 00 00 | restart........| 000001f0 00 00 00 00 00 00 00 00 00 ac c1 ce 00 00 55 aa |..............u.| 00000200 =============================== stderr messages: =============================== unlzma: decoder error
did stuff fix "mbr" , bootsectors. <--- http://neosmart.net/wiki/display/ebc...r+from+the+dvd <--- link stuff did, (i did option 1 , 2, did not nuclear holocaust option)
did sudo grub update thing, , came windows 7 when booted had non of files/applications etc, , had weird applications ive never seen before "usb config", looked factory windows 7. noted when loading, said windows 7 ultimate tho copy home premium.
helping hand welcomed. =d xx
after more use of thing on shoulders think problem mount point?
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Windows 7 is not showing in grub
Ubuntu

Comments
Post a Comment