[Bug 533643] Re: Lucid installer don't install grub 2 automaticly

Launchpad Bug Tracker 533643 at bugs.launchpad.net
Tue May 5 05:32:46 UTC 2020


[Expired for grub2 (Ubuntu) because there has been no activity for 60
days.]

** Changed in: grub2 (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/533643

Title:
  Lucid installer don't install grub 2 automaticly

Status in grub2 package in Ubuntu:
  Expired

Bug description:
  i guess i have a rather uniq setting in my computer because ubuntu
  installer don't install grub 2 autotlaticl i have two hd's one sata
  one ide the sata is connected in the first in the boot sequence in
  bios but identified as channel 3 the ide is identified as channel 1 i
  don't think i can change it in any way any way i always need to
  install grub 2 on sda and sdb via this commands:

  sudo mount /dev/sda1 /mnt && sudo mount --bind /dev /mnt/dev &&sudo mount --bind /proc /mnt/proc && sudo chroot /mnt
  sudo grub-install /dev/sda
  sudo grub-install /dev/sdb
  exit
  sudo umount /mnt/dev && sudo umount /mnt/proc && sudo umount /mnt

  sometimes i need to change the sda number in the first command
  according to what the installer call the partition this time he
  decided to call it sda5 a bit strange because i only have three sda
  partitions one ext4 one swap and one ntfs but not critical.

  here are the results from boot_info_script055.sh i ran so please try
  to fix it somehow and i must say the new installer looks great thought
  it did have one error during the installing process about not being
  able to install apt.

  thanks in advance.

                  Boot Info Script 0.55    dated February 15th, 2010

  ============================= Boot Info Summary:
  ==============================

   => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in 
      partition #5 for /boot/grub.
   => Grub 2 is installed in the MBR of /dev/sdb and looks on the same drive in 
      partition #5 for /boot/grub.

  sda1:
  _________________________________________________________________________

      File system:       ntfs
      Boot sector type:  Windows Vista/7
      Boot sector info:  No errors found in the Boot Parameter Block.
      Operating System:  Windows Vista
      Boot files/dirs:   /Windows/System32/winload.exe

  sda2:
  _________________________________________________________________________

      File system:       swap
      Boot sector type:  -
      Boot sector info:  

  sda3:
  _________________________________________________________________________

      File system:       Extended Partition
      Boot sector type:  Unknown
      Boot sector info:  

  sda5:
  _________________________________________________________________________

      File system:       ext4
      Boot sector type:  -
      Boot sector info:  
      Operating System:  Ubuntu lucid (development 
                         branch)
      Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

  sdb1:
  _________________________________________________________________________

      File system:       ntfs
      Boot sector type:  Windows Vista/7
      Boot sector info:  No errors found in the Boot Parameter Block.
      Operating System:  
      Boot files/dirs:   /bootmgr /Boot/BCD

  sdb2:
  _________________________________________________________________________

      File system:       ntfs
      Boot sector type:  Windows Vista/7
      Boot sector info:  No errors found in the Boot Parameter Block.
      Operating System:  Windows 7
      Boot files/dirs:   /bootmgr /Boot/BCD /Windows/System32/winload.exe

  sdb3:
  _________________________________________________________________________

      File system:       ntfs
      Boot sector type:  Windows Vista/7
      Boot sector info:  No errors found in the Boot Parameter Block.
      Operating System:  
      Boot files/dirs:   

  sdb4:
  _________________________________________________________________________

      File system:       ntfs
      Boot sector type:  Windows Vista/7
      Boot sector info:  No errors found in the Boot Parameter Block.
      Operating System:  
      Boot files/dirs:   

  =========================== Drive/Partition Info:
  =============================

  Drive: sda ___________________
  _____________________________________________________

  Disk /dev/sda: 82.3 GB, 82348277760 bytes
  255 heads, 63 sectors/track, 10011 cylinders, total 160836480 sectors
  Units = sectors of 1 * 512 = 512 bytes
  Sector size (logical / optimal IO): 512 bytes / 512 bytes

  Partition  Boot         Start           End          Size  Id System

  /dev/sda1    *     53,994,465   160,826,714   106,832,250   7 HPFS/NTFS
  /dev/sda2                  63     4,000,184     4,000,122  82 Linux swap / Solaris
  /dev/sda3           4,000,185    53,994,464    49,994,280   5 Extended
  /dev/sda5           4,000,248    53,994,464    49,994,217  83 Linux

  
  Drive: sdb ___________________ _____________________________________________________

  Disk /dev/sdb: 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 / optimal IO): 512 bytes / 512 bytes

  Partition  Boot         Start           End          Size  Id System

  /dev/sdb1    *          2,048       206,847       204,800   7 HPFS/NTFS
  /dev/sdb2             206,892    78,155,279    77,948,388   7 HPFS/NTFS
  /dev/sdb3          78,157,824   162,043,903    83,886,080   7 HPFS/NTFS
  /dev/sdb4         162,043,904   312,577,499   150,533,596   7 HPFS/NTFS

  
  blkid -c /dev/null: ____________________________________________________________

  Device           UUID                                   TYPE
  LABEL

  /dev/sda1        04203BCB203BC30A                       ntfs       Windows 2008                  
  /dev/sda2        20756f2d-df18-4998-90c5-8c51f740c2f4   swap                                     
  /dev/sda3: PTTYPE="dos" 
  /dev/sda5        b0aa6bab-ba83-46b3-abfa-626f5fda8268   ext4                                     
  /dev/sda: PTTYPE="dos" 
  /dev/sdb1        46405D9B405D9293                       ntfs       ‏‏שמור על-ידי המערכת
  /dev/sdb2        DE047EA8047E8377                       ntfs       Windows 7                     
  /dev/sdb3        58544AAE544A8F26                       ntfs       דיסק מקומי           
  /dev/sdb4        EA9635979635656B                       ntfs       דיסק מקומי           
  /dev/sdb: PTTYPE="dos" 

  ============================ "mount | grep ^/dev  output:
  ===========================

  Device           Mount_Point              Type       Options

  /dev/sda5        /                        ext4       (rw,errors
  =remount-ro)

  
  =========================== sda5/boot/grub/grub.cfg: ===========================

  #
  # DO NOT EDIT THIS FILE
  #
  # It is automatically generated by /usr/sbin/grub-mkconfig using templates
  # from /etc/grub.d and settings from /etc/default/grub
  #

  ### BEGIN /etc/grub.d/00_header ###
  if [ -s $prefix/grubenv ]; then
    load_env
  fi
  set default="0"
  if [ ${prev_saved_entry} ]; then
    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} ]; then
      saved_entry=${chosen}
      save_env saved_entry
    fi
  }

  function recordfail {
    set recordfail=1
    if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
  }
  insmod ext2
  set root=(hd0,5)
  search --no-floppy --fs-uuid --set b0aa6bab-ba83-46b3-abfa-626f5fda8268
  if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1280x1024
    insmod gfxterm
    insmod vbe
    if terminal_output gfxterm ; then true ; else
      # For backward compatibility with versions of terminal.mod that don't
      # understand terminal_output
      terminal gfxterm
    fi
  fi
  insmod ext2
  set root=(hd0,5)
  search --no-floppy --fs-uuid --set b0aa6bab-ba83-46b3-abfa-626f5fda8268
  set locale_dir=($root)/boot/grub/locale
  set lang=he
  insmod gettext
  if [ ${recordfail} = 1 ]; then
    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, with Linux 2.6.33-020633-generic" {
          recordfail
  	insmod ext2
  	set root=(hd0,5)
  	search --no-floppy --fs-uuid --set b0aa6bab-ba83-46b3-abfa-626f5fda8268
  	linux	/boot/vmlinuz-2.6.33-020633-generic root=UUID=b0aa6bab-ba83-46b3-abfa-626f5fda8268 ro  splash vga=795  quiet splash
  	initrd	/boot/initrd.img-2.6.33-020633-generic
  }
  menuentry "Ubuntu, with Linux 2.6.33-020633-generic (recovery mode)" {
          recordfail
  	insmod ext2
  	set root=(hd0,5)
  	search --no-floppy --fs-uuid --set b0aa6bab-ba83-46b3-abfa-626f5fda8268
  	echo	Loading Linux 2.6.33-020633-generic ...
  	linux	/boot/vmlinuz-2.6.33-020633-generic root=UUID=b0aa6bab-ba83-46b3-abfa-626f5fda8268 ro single  splash vga=795
  	echo	Loading initial ramdisk ...
  	initrd	/boot/initrd.img-2.6.33-020633-generic
  }
  menuentry "Ubuntu, with Linux 2.6.32-15-generic" {
          recordfail
  	insmod ext2
  	set root=(hd0,5)
  	search --no-floppy --fs-uuid --set b0aa6bab-ba83-46b3-abfa-626f5fda8268
  	linux	/boot/vmlinuz-2.6.32-15-generic root=UUID=b0aa6bab-ba83-46b3-abfa-626f5fda8268 ro  splash vga=795  quiet splash
  	initrd	/boot/initrd.img-2.6.32-15-generic
  }
  menuentry "Ubuntu, with Linux 2.6.32-15-generic (recovery mode)" {
          recordfail
  	insmod ext2
  	set root=(hd0,5)
  	search --no-floppy --fs-uuid --set b0aa6bab-ba83-46b3-abfa-626f5fda8268
  	echo	Loading Linux 2.6.32-15-generic ...
  	linux	/boot/vmlinuz-2.6.32-15-generic root=UUID=b0aa6bab-ba83-46b3-abfa-626f5fda8268 ro single  splash vga=795
  	echo	Loading initial ramdisk ...
  	initrd	/boot/initrd.img-2.6.32-15-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 b0aa6bab-ba83-46b3-abfa-626f5fda8268
  	linux16	/boot/memtest86+.bin
  }
  menuentry "Memory test (memtest86+, serial console 115200)" {
  	insmod ext2
  	set root=(hd0,5)
  	search --no-floppy --fs-uuid --set b0aa6bab-ba83-46b3-abfa-626f5fda8268
  	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/sdb1)" {
  	insmod ntfs
  	set root=(hd1,1)
  	search --no-floppy --fs-uuid --set 46405d9b405d9293
  	chainloader +1
  }
  menuentry "Windows 7 (loader) (on /dev/sdb2)" {
  	insmod ntfs
  	set root=(hd1,2)
  	search --no-floppy --fs-uuid --set de047ea8047e8377
  	chainloader +1
  }
  ### END /etc/grub.d/30_os-prober ###

  ### BEGIN /etc/grub.d/40_custom ###
  # This file provides an easy way to add custom menu entries.  Simply type the
  # menu entries you want to add after this comment.  Be careful not to change
  # the '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' to print the universally unique identifier
  # for a device; this may be used with UUID= as a more robust way to name
  # devices that works even if disks are added and removed. See fstab(5).
  #
  # <file system> <mount point>   <type>  <options>       <dump>  <pass>
  proc            /proc           proc    defaults        0       0
  # / was on /dev/sda5 during installation
  UUID=b0aa6bab-ba83-46b3-abfa-626f5fda8268 /               ext4    errors=remount-ro 0       1
  # swap was on /dev/sda2 during installation
  UUID=20756f2d-df18-4998-90c5-8c51f740c2f4 none            swap    sw              0       0

  =================== sda5: Location of files loaded by Grub:
  ===================

  
    15.5GB: boot/grub/core.img
    21.6GB: boot/grub/grub.cfg
    15.8GB: boot/initrd.img-2.6.32-15-generic
     2.8GB: boot/initrd.img-2.6.33-020633-generic
    15.8GB: boot/vmlinuz-2.6.32-15-generic
    15.9GB: boot/vmlinuz-2.6.33-020633-generic
     2.8GB: initrd.img
    15.8GB: initrd.img.old
    15.9GB: vmlinuz
    15.8GB: vmlinuz.old
  =========================== Unknown MBRs/Boot Sectors/etc =======================

  Unknown BootLoader  on sda3

  00000000  26 0c d3 f3 78 15 a2 ea  6b 9f 64 10 50 bb 9d 52  |&...x...k.d.P..R|
  00000010  01 3f 1e 47 e1 0c d6 fd  04 f2 85 08 9d 30 31 08  |.?.G.........01.|
  00000020  23 2a fe d1 c3 2b 74 74  68 76 3a ba 60 91 3d 28  |#*...+tthv:.`.=(|
  00000030  e5 b1 5f ad a7 51 ca 0f  12 5a c1 ac c8 a5 f9 23  |.._..Q...Z.....#|
  00000040  c2 3f 47 2b a0 18 4d a1  37 17 e5 49 dc 97 39 ff  |.?G+..M.7..I..9.|
  00000050  94 a0 18 1c 60 98 fd 8d  ef 43 76 37 83 79 f6 b8  |....`....Cv7.y..|
  00000060  c9 a6 b9 57 a2 09 e6 60  87 36 d1 3a 92 27 6c 23  |...W...`.6.:.'l#|
  00000070  e6 fa f2 bd 94 22 1b 61  c5 50 f4 e5 c9 30 81 bf  |.....".a.P...0..|
  00000080  3d d1 79 d4 a6 a3 83 db  e7 91 8d 48 74 10 d5 a7  |=.y........Ht...|
  00000090  f6 2d 04 d6 7c c9 c3 b2  7c b6 4b 7f ea e2 1f e4  |.-..|...|.K.....|
  000000a0  4b 2d 72 82 72 a5 0e 42  ae 19 a1 a0 c7 25 7d d5  |K-r.r..B.....%}.|
  000000b0  36 86 27 58 c5 a2 d6 57  c5 21 e7 19 d6 b4 19 a2  |6.'X...W.!......|
  000000c0  8a 73 b2 e2 fc e5 89 d9  c9 45 41 42 2e 69 5c 7d  |.s.......EAB.i\}|
  000000d0  e1 14 f3 83 b7 84 4f 63  9a e2 74 f8 4d 52 64 e0  |......Oc..t.MRd.|
  000000e0  d1 27 7b 3c fb 77 fe 02  4a c9 78 f6 bd f5 78 22  |.'{<.w..J.x...x"|
  000000f0  6d 87 8c 30 3f 4e c0 71  c3 ac 19 ed 95 38 af 86  |m..0?N.q.....8..|
  00000100  87 f9 c3 a8 d0 57 f8 bb  65 b9 ed f9 f9 54 96 c3  |.....W..e....T..|
  00000110  92 42 29 8f 67 59 af 3a  cc cf d3 c5 57 02 48 d6  |.B).gY.:....W.H.|
  00000120  b8 aa 0b 4c f5 17 95 ea  cc 76 68 7f 1e 78 a2 2c  |...L.....vh..x.,|
  00000130  0f 6b 60 e9 6b a1 23 4a  18 e0 29 50 7b 03 f9 5b  |.k`.k.#J..)P{..[|
  00000140  ab 7b af 30 fb ff b3 1e  f6 7d 00 f4 94 f1 d7 ea  |.{.0.....}......|
  00000150  95 b1 1e 9f 1e 1a 39 a0  da 13 c2 bc 48 79 48 df  |......9.....HyH.|
  00000160  71 56 a9 ac e1 01 ea f9  63 c2 56 e6 ae 54 da 0e  |qV......c.V..T..|
  00000170  87 ed 13 c6 f0 58 a8 cd  c8 6a a6 3b ae 92 a9 36  |.....X...j.;...6|
  00000180  fb 6e 1b 7a 8c 1f 4f cb  3a 1b 89 3e 4c 0d 02 04  |.n.z..O.:..>L...|
  00000190  f6 7f 4d 17 3f 76 e2 72  4f 06 a3 f8 80 cc 7d 37  |..M.?v.rO.....}7|
  000001a0  ad fa 3e bd 5e fe 1f 5f  78 59 61 4a 5a 5e b1 06  |..>.^.._xYaJZ^..|
  000001b0  e7 25 bd a3 43 c0 a7 c6  c3 07 7b ad bb 7f 00 01  |.%..C.....{.....|
  000001c0  01 f9 83 fe ff ff 3f 00  00 00 e9 d9 fa 02 00 00  |......?.........|
  000001d0  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/533643/+subscriptions



More information about the foundations-bugs mailing list