Skip to main content

Thread: can't choose between OS (No grub?!)


hi all,
installed ubuntu 10.04 inside windows vista un-installed , created extended partition , created inside 2 partitions 1 of them ext4 size 10 gb , other size 3 gb swap.
installation done when boot system couldn't have option of choosing os
opens ubuntu .
tried fix mbr using vista recovery disc. , succeeded (windows installed in mbr)
same problem windows
system boot windows
used ubuntu life cd
, got info boot files , dirs
code:
                boot info script 0.55    dated february 15th, 2010                      ============================= boot info summary: ==============================   => windows installed in mbr of /dev/sda  sda1: _________________________________________________________________________      file system:       ntfs     boot sector type:  windows vista/7     boot sector info:  no errors found in boot parameter block.     operating system:       boot files/dirs:   /bootmgr /boot/bcd /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 vista     boot files/dirs:   /bootmgr /boot/bcd /windows/system32/winload.exe                         /boot/grub/core.img  sda3: _________________________________________________________________________      file system:       ntfs     boot sector type:  windows vista/7     boot sector info:  no errors found in boot parameter block.     operating system:       boot files/dirs:     sda4: _________________________________________________________________________      file system:       extended partition     boot sector type:  -     boot sector info:    sda5: _________________________________________________________________________      file system:       ext4     boot sector type:  -     boot sector info:       operating system:  ubuntu 10.04 lts     boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img  sda6: _________________________________________________________________________      file system:       swap     boot sector type:  -     boot sector info:    =========================== drive/partition info: =============================  drive: sda ___________________ _____________________________________________________  disk /dev/sda: 120.0 gb, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors units = sectors of 1 * 512 = 512 bytes sector size (logical/physical): 512 bytes / 512 bytes  partition  boot         start           end          size  id system  /dev/sda1    *          2,048    24,578,047    24,576,000  27 hidden hpfs/ntfs /dev/sda2          24,578,048   106,498,047    81,920,000   7 hpfs/ntfs /dev/sda3         106,498,048   207,174,239   100,676,192   7 hpfs/ntfs /dev/sda4         207,174,301   234,436,544    27,262,244   5 extended /dev/sda5         207,174,303   228,139,064    20,964,762  83 linux /dev/sda6         228,139,128   234,436,544     6,297,417  82 linux swap / solaris   blkid -c /dev/null: ____________________________________________________________  device           uuid                                   type       label                           /dev/loop0                                              squashfs                                  /dev/sda1        9ad0fbfdd0fbdd87                       ntfs       winre                          /dev/sda2        2e64e23464e1fe89                       ntfs                                      /dev/sda3        0e5ee59e5ee57eb9                       ntfs                                      /dev/sda4: pttype="dos"  /dev/sda5        36865e8b-618f-4e6a-89c6-15b3472f4c1a   ext4                                      /dev/sda6        0236cdd4-1d7d-4888-a3f0-c61005024e63   swap                                      /dev/sda: pttype="dos"   ============================ "mount | grep ^/dev  output: ===========================  device           mount_point              type       options  aufs             /                        aufs       (rw) /dev/sr0         /cdrom                   iso9660    (ro,noatime) /dev/loop0       /rofs                    squashfs   (ro,noatime) /dev/sda3        /media/0e5ee59e5ee57eb9  fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) /dev/sda2        /media/2e64e23464e1fe89  fuseblk    (rw,nosuid,nodev,allow_other,blksize=4096,default_permissions) /dev/sda5        /mnt/root                ext4       (rw) /dev             /mnt/root/dev            none       (rw,bind)   =================== sda1: location of files loaded grub: ===================       ??gb: boot/grub/core.img  =================== sda2: location of files loaded grub: ===================       ??gb: boot/grub/core.img  =========================== sda5/boot/grub/grub.cfg: ===========================  # # not edit file # # automatically generated /usr/sbin/grub-mkconfig using templates # /etc/grub.d , settings /etc/default/grub #  ### begin /etc/grub.d/00_header ### if [ -s $prefix/grubenv ];   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 } insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set 36865e8b-618f-4e6a-89c6-15b3472f4c1a if loadfont /usr/share/grub/unicode.pf2 ;   set gfxmode=640x480   insmod gfxterm   insmod vbe   if terminal_output gfxterm ; true ; else     # backward compatibility versions of terminal.mod don't     # understand terminal_output     terminal gfxterm   fi fi insmod ext2 set root='(hd0,5)' search --no-floppy --fs-uuid --set 36865e8b-618f-4e6a-89c6-15b3472f4c1a 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.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {     recordfail     insmod ext2     set root='(hd0,5)'     search --no-floppy --fs-uuid --set 36865e8b-618f-4e6a-89c6-15b3472f4c1a     linux    /boot/vmlinuz-2.6.32-21-generic root=uuid=36865e8b-618f-4e6a-89c6-15b3472f4c1a ro   quiet splash     initrd    /boot/initrd.img-2.6.32-21-generic } menuentry 'ubuntu, linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {     recordfail     insmod ext2     set root='(hd0,5)'     search --no-floppy --fs-uuid --set 36865e8b-618f-4e6a-89c6-15b3472f4c1a     echo    'loading linux 2.6.32-21-generic ...'     linux    /boot/vmlinuz-2.6.32-21-generic root=uuid=36865e8b-618f-4e6a-89c6-15b3472f4c1a ro single      echo    'loading initial ramdisk ...'     initrd    /boot/initrd.img-2.6.32-21-generic } ### end /etc/grub.d/10_linux ###  ### begin /etc/grub.d/20_memtest86+ ### menuentry "memory test (memtest86+)" {     insmod ext2     set root='(hd0,5)'     search --no-floppy --fs-uuid --set 36865e8b-618f-4e6a-89c6-15b3472f4c1a     linux16    /boot/memtest86+.bin } menuentry "memory test (memtest86+, serial console 115200)" {     insmod ext2     set root='(hd0,5)'     search --no-floppy --fs-uuid --set 36865e8b-618f-4e6a-89c6-15b3472f4c1a     linux16    /boot/memtest86+.bin console=ttys0,115200n8 } ### end /etc/grub.d/20_memtest86+ ###  ### begin /etc/grub.d/30_os-prober ### if [ ${timeout} != -1 ];   if keystatus;     if keystatus --shift;       set timeout=-1     else       set timeout=0     fi   else     if sleep --interruptible 3 ;       set timeout=0     fi   fi fi ### 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 ###  =============================== sda5/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/sda5 during installation uuid=36865e8b-618f-4e6a-89c6-15b3472f4c1a /               ext4    errors=remount-ro 0       1 # swap on /dev/sda6 during installation uuid=0236cdd4-1d7d-4888-a3f0-c61005024e63 none            swap    sw              0       0  =================== sda5: location of files loaded grub: ===================    115.3gb: boot/grub/core.img  113.5gb: boot/grub/grub.cfg  115.3gb: boot/initrd.img-2.6.32-21-generic  115.3gb: boot/vmlinuz-2.6.32-21-generic  115.3gb: initrd.img  115.3gb: vmlinuz
any appreciated..

i'm not expert, may want run 'sudo update-grub' command in terminal.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Installation & Upgrades [ubuntu] can't choose between OS (No grub?!)


Ubuntu

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support