Thread: no dual boot menu (boots straight to Ubuntu)
i put ubuntu 11.10 on dads desktop hp pavilion slimline; after installed it boots straight ubuntu.
triedcode:sudo update-grubcode: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. sda1: __________________________________________________________________________ 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 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: extended partition boot sector type: - boot sector info: sda5: __________________________________________________________________________ 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 sda6: __________________________________________________________________________ file system: boot sector type: - boot sector info: mounting failed: mount: unknown filesystem type '' sda4: __________________________________________________________________________ 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 ============================ drive/partition info: ============================= drive: sda _____________________________________________________________________ disk /dev/sda: 320.1 gb, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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 364,731,682 364,524,835 7 ntfs / exfat / hpfs /dev/sda3 364,732,414 600,100,863 235,368,450 5 extended /dev/sda5 364,732,416 591,978,495 227,246,080 83 linux /dev/sda6 591,980,544 600,100,863 8,120,320 82 linux swap / solaris /dev/sda4 600,100,864 625,139,711 25,038,848 7 ntfs / exfat / hpfs "blkid" output: ________________________________________________________________ device uuid type label /dev/mapper/cryptswap1 4b2bfe8d-d8a5-4b04-8979-0918863d8506 swap /dev/sda1 4468814268813428 ntfs system /dev/sda2 fe44c9fb44c9b6a5 ntfs hp /dev/sda4 caf4b130f4b1201d ntfs factory_image /dev/sda5 3adf10ea-0afb-457d-bdb4-f6fe52a3d6c1 ext4 ========================= "ls -r /dev/mapper/" output: ========================= /dev/mapper: control cryptswap1 ================================ mount points: ================================= device mount_point type options /dev/sda5 / ext4 (rw,errors=remount-ro,commit=0) =========================== sda5/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='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 3adf10ea-0afb-457d-bdb4-f6fe52a3d6c1 if loadfont /usr/share/grub/unicode.pf2 ; set gfxmode=auto load_video insmod gfxterm insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 3adf10ea-0afb-457d-bdb4-f6fe52a3d6c1 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 ### 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 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os { recordfail set gfxpayload=$linux_gfx_mode insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 3adf10ea-0afb-457d-bdb4-f6fe52a3d6c1 linux /boot/vmlinuz-3.0.0-12-generic root=uuid=3adf10ea-0afb-457d-bdb4-f6fe52a3d6c1 ro quiet splash vt.handoff=7 initrd /boot/initrd.img-3.0.0-12-generic } menuentry 'ubuntu, linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os { recordfail insmod gzio insmod part_msdos insmod ext2 set root='(hd0,msdos5)' search --no-floppy --fs-uuid --set=root 3adf10ea-0afb-457d-bdb4-f6fe52a3d6c1 echo 'loading linux 3.0.0-12-generic ...' linux /boot/vmlinuz-3.0.0-12-generic root=uuid=3adf10ea-0afb-457d-bdb4-f6fe52a3d6c1 ro recovery nomodeset echo 'loading initial ramdisk ...' initrd /boot/initrd.img-3.0.0-12-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=root 3adf10ea-0afb-457d-bdb4-f6fe52a3d6c1 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=root 3adf10ea-0afb-457d-bdb4-f6fe52a3d6c1 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/sda1)" --class windows --class os { insmod part_msdos insmod ntfs set root='(hd0,msdos1)' search --no-floppy --fs-uuid --set=root 4468814268813428 chainloader +1 } menuentry "windows recovery environment (loader) (on /dev/sda4)" --class windows --class os { insmod part_msdos insmod ntfs set root='(hd0,msdos4)' search --no-floppy --fs-uuid --set=root caf4b130f4b1201d drivemap -s (hd0) ${root} 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 ### -------------------------------------------------------------------------------- =============================== sda5/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/sda5 during installation uuid=3adf10ea-0afb-457d-bdb4-f6fe52a3d6c1 / ext4 errors=remount-ro 0 1 # swap on /dev/sda6 during installation #uuid=6535261e-b664-4d94-9f7e-5fd3e8cc84a3 none swap sw 0 0 /dev/mapper/cryptswap1 none swap sw 0 0 -------------------------------------------------------------------------------- =================== sda5: 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/vmlinuz-3.0.0-12-generic 1 = initrd.img 1 = vmlinuz 1 ========= devices don't seem have corresponding hard drive: ========= sdc =============================== stderr messages: =============================== 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
personally, i'm kinda fond 'a wanda...
oh, , boot repair of course http://sazeit.com/articles/repair-or...th-boot-repair
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] no dual boot menu (boots straight to Ubuntu)
Ubuntu
Comments
Post a Comment