Skip to main content

Thread: Grub 'Read Error' - AHCI Boot Issue


i've had issue past few weeks, i've been desperately trying solve.

bought brand new samsung 64gb ssd, installed windows 7. easy peasy far.
installed ubuntu run along side it, using 1tb secondary hdd /home , swap. installed fine.

however, after rebooting after install, grub not load, instead receive following error:
html code:
loading operating systems  read error
though have admit, it's possible in fact motherboard read error, , not grub, can't sure.

anyway, if go bios , change sata mode 'ide', grub loads fine, doing so, no os boot afterwards. require ahci ssd have performance boost after when purchasing it.

workaround have perform boot, hit f12 display alternative booting options such disk, usb, etc, bios splash. have choose cd option , grub screen loads fine under ahci fine. it should noted don't have disc in cd-drive when this!

after that, windows loads fine grub, have load ubuntu recovery, , choose "boot first hard disk" option boot ubuntu properly, otherwise choosing regular ubuntu option gives flashing "_" on black screen.

hope enough explain problem.

i'll give bootinfoscript results:

code:
                  boot info script 0.61      [1 april 2012]      ============================= 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       (,msdos5)/boot/grub on drive.   => grub2 (v1.99) installed in mbr of /dev/sdb , looks @ sector 1 of       same hard drive core.img. core.img @ location , uses       embedded config file:            ---------------------------------------------------------------------------      search.fs_uuid fd71c537-3715-44e1-b1fe-07537e22b3dd root       set prefix=($root)/boot/grub      ---------------------------------------------------------------------------      -----.   => grub2 (v1.99) installed in mbr of /dev/sdc , looks @ sector 1 of       same hard drive core.img. core.img @ location , uses       embedded config file:            ---------------------------------------------------------------------------      search.fs_uuid fd71c537-3715-44e1-b1fe-07537e22b3dd root       set prefix=($root)/boot/grub      ---------------------------------------------------------------------------      -----.    sda1: __________________________________________________________________________        file system:       ntfs      boot sector type:  windows vista/7: ntfs      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: ntfs      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:       extended partition      boot sector type:  unknown      boot sector info:     sda5: __________________________________________________________________________        file system:       ext4      boot sector type:  -      boot sector info:       operating system:  ubuntu 12.04.1 lts      boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img    sdb1: __________________________________________________________________________        file system:       extended partition      boot sector type:  -      boot sector info:     sdb5: __________________________________________________________________________        file system:       ext4      boot sector type:  -      boot sector info:       operating system:        boot files:            sdb6: __________________________________________________________________________        file system:       swap      boot sector type:  -      boot sector info:     sdb3: __________________________________________________________________________        file system:       ntfs      boot sector type:  windows vista/7: ntfs      boot sector info:  according info in boot sector, sdb3 starts                          @ sector 200744960. according info                          fdisk, sdb3 starts @ sector 2048. according                          info in boot sector, sdb3 has 823461887 sectors,                          according info fdisk, has                          1024204799 sectors.      operating system:        boot files:            sdc1: __________________________________________________________________________        file system:       ntfs      boot sector type:  windows vista/7: ntfs      boot sector info:  no errors found in boot parameter block.      operating system:        boot files:            ============================ drive/partition info: =============================    drive: sda _____________________________________________________________________    disk /dev/sda: 64.0 gb, 64023257088 bytes  255 heads, 63 sectors/track, 7783 cylinders, total 125045424 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             208,896    48,957,439    48,748,544   7 ntfs / exfat / hpfs  /dev/sda3          48,959,486   124,067,839    75,108,354   5 extended  /dev/sda5    *     48,959,488   124,067,839    75,108,352  83 linux      drive: sdb _____________________________________________________________________    disk /dev/sdb: 1000.2 gb, 1000204886016 bytes  255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 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/sdb1       1,024,208,894 1,953,523,711   929,314,818   5 extended  /dev/sdb5       1,024,208,896 1,937,897,471   913,688,576  83 linux  /dev/sdb6       1,937,899,520 1,953,523,711    15,624,192  82 linux swap / solaris  /dev/sdb3               2,048 1,024,206,847 1,024,204,800   7 ntfs / exfat / hpfs      drive: sdc _____________________________________________________________________    disk /dev/sdc: 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/sdc1               2,048   625,141,759   625,139,712   7 ntfs / exfat / hpfs      "blkid" output: ________________________________________________________________    device           uuid                                   type       label    /dev/sda1        a48056df8056b80e                       ntfs       system reserved  /dev/sda2        a8c6d6a4c6d671d4                       ntfs       windows  /dev/sda5        fd71c537-3715-44e1-b1fe-07537e22b3dd   ext4         /dev/sdb3        6373d03d0a3747a8                       ntfs       steam  /dev/sdb5        6f5a6eb3-a932-45aa-893e-045b57708270   ext4         /dev/sdb6        469848c8-867a-41b7-b0e1-b813a43c64af   swap         /dev/sdc1        725d7b961cf34b1b                       ntfs       backup    ================================ mount points: =================================    device           mount_point              type       options    /dev/sda5        /                        ext4       (rw,noatime,nodiratime,discard,errors=remount-ro)  /dev/sdb5        /home                    ext4       (rw)      =========================== 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 fd71c537-3715-44e1-b1fe-07537e22b3dd  if loadfont /usr/share/grub/unicode.pf2 ;    set gfxmode=640x480    load_video    insmod gfxterm    insmod part_msdos    insmod ext2    set root='(hd0,msdos5)'    search --no-floppy --fs-uuid --set=root fd71c537-3715-44e1-b1fe-07537e22b3dd    set locale_dir=($root)/boot/grub/locale    set lang=en_gb    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 ###  function gfxmode {  	set gfxpayload="${1}"  	if [ "${1}" = "keep" ];  		set vt_handoff=vt.handoff=7  	else  		set vt_handoff=  	fi  }  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.2.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os {  	recordfail  	gfxmode $linux_gfx_mode  	insmod gzio  	insmod part_msdos  	insmod ext2  	set root='(hd0,msdos5)'  	search --no-floppy --fs-uuid --set=root fd71c537-3715-44e1-b1fe-07537e22b3dd  	linux	/boot/vmlinuz-3.2.0-29-generic root=uuid=fd71c537-3715-44e1-b1fe-07537e22b3dd ro   quiet splash acpi=off $vt_handoff  	initrd	/boot/initrd.img-3.2.0-29-generic  }  menuentry 'ubuntu, linux 3.2.0-29-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 fd71c537-3715-44e1-b1fe-07537e22b3dd  	echo	'loading linux 3.2.0-29-generic ...'  	linux	/boot/vmlinuz-3.2.0-29-generic root=uuid=fd71c537-3715-44e1-b1fe-07537e22b3dd ro recovery nomodeset   	echo	'loading initial ramdisk ...'  	initrd	/boot/initrd.img-3.2.0-29-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 fd71c537-3715-44e1-b1fe-07537e22b3dd  	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 fd71c537-3715-44e1-b1fe-07537e22b3dd  	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 a48056df8056b80e  	chainloader +1  }  menuentry "windows 7 (loader) (on /dev/sda2)" --class windows --class os {  	insmod part_msdos  	insmod ntfs  	set root='(hd0,msdos2)'  	search --no-floppy --fs-uuid --set=root a8c6d6a4c6d671d4  	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=fd71c537-3715-44e1-b1fe-07537e22b3dd /               ext4    noatime,nodiratime,discard,errors=remount-ro 0       1   # /home on /dev/sdb5 during installation  uuid=6f5a6eb3-a932-45aa-893e-045b57708270 /home           ext4    defaults        0       2  # swap on /dev/sdb6 during installation  uuid=469848c8-867a-41b7-b0e1-b813a43c64af none            swap    sw              0       0  tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0  --------------------------------------------------------------------------------    =================== sda5: location of files loaded grub: ====================               gib - gb             file                                 fragment(s)      48.112834930 = 51.660763136   boot/grub/core.img                             1    35.496101379 = 38.113648640   boot/grub/grub.cfg                             1    26.181640625 = 28.112322560   boot/initrd.img-3.2.0-29-generic               2    35.479225159 = 38.095527936   boot/vmlinuz-3.2.0-29-generic                  1    26.181640625 = 28.112322560   initrd.img                                     2    35.479225159 = 38.095527936   vmlinuz                                        1    ======================== unknown mbrs/boot sectors/etc: ========================    unknown bootloader on sda3    00000000  63 6f 70 69 61 20 65 20  63 6f 6c 61 41 63 65 64  |copia e colaaced|  00000010  65 72 20 61 20 74 6f 64  6f 20 6f 20 74 65 78 74  |er todo o text|  00000020  6f 20 66 61 6c 61 64 6f  20 75 74 69 6c 69 7a 61  |o falado utiliza|  00000030  6e 64 6f 20 61 20 63 6f  6e 76 65 72 73 c3 a3 6f  |ndo convers..o|  00000040  20 64 65 20 74 65 78 74  6f 20 70 61 72 61 20 76  | de texto para v|  00000050  6f 7a 4d 61 6e 69 70 75  6c 61 72 20 61 73 20 64  |ozmanipular d|  00000060  65 66 69 6e 69 c3 a7 c3  b5 65 73 20 71 75 65 20  |efini....es que |  00000070  63 6f 6e 74 72 6f 6c 61  6d 20 6f 20 61 63 65 73  |controlam o aces|  00000080  73 6f 20 64 65 20 57 65  62 73 69 74 65 73 20 61  |so de websites a|  00000090  20 63 6f 6f 6b 69 65 73  2c 20 4a 61 76 61 53 63  | cookies, javasc|  000000a0  72 69 70 74 20 65 20 70  6c 75 67 2d 69 6e 73 4d  |ript e plug-insm|  000000b0  61 6e 69 70 75 6c 61 72  20 61 73 20 64 65 66 69  |anipular defi|  000000c0  6e 69 c3 a7 c3 b5 65 73  20 72 65 6c 61 63 69 6f  |ni....es relacio|  000000d0  6e 61 64 61 73 20 63 6f  6d 20 70 72 69 76 61 63  |nadas com privac|  000000e0  69 64 61 64 65 41 63 65  64 65 72 20 61 6f 73 20  |idadeaceder aos |  000000f0  73 65 75 73 20 70 65 72  69 66 c3 a9 72 69 63 6f  |seus perif..rico|  00000100  73 20 55 53 42 55 74 69  6c 69 7a 61 72 20 6f 20  |s usbutilizar o |  00000110  73 65 75 20 6d 69 63 72  6f 66 6f 6e 65 55 74 69  |seu microfoneuti|  00000120  6c 69 7a 61 72 20 61 20  73 75 61 20 63 c3 a2 6d  |lizar sua c..m|  00000130  61 72 61 55 74 69 6c 69  7a 61 72 20 6f 20 73 65  |arautilizar o se|  00000140  75 20 6d 69 63 72 6f 66  6f 6e 65 20 65 20 61 20  |u microfone e |  00000150  63 c3 a2 6d 61 72 61 4e  c3 a3 6f 20 66 6f 69 20  |c..maran..o foi |  00000160  70 6f 73 73 c3 ad 76 65  6c 20 65 6e 63 6f 6e 74  |poss..vel encont|  00000170  72 61 72 20 6f 20 63 61  6d 69 6e 68 6f 20 61 62  |rar o caminho ab|  00000180  73 6f 6c 75 74 6f 20 70  61 72 61 20 6f 20 64 69  |soluto para o di|  00000190  72 65 63 74 c3 b3 72 69  6f 20 61 20 65 6d 70 61  |rect..rio empa|  000001a0  63 6f 74 61 72 2e 4f 20  64 69 72 65 63 74 c3 b3  |cotar.o direct..|  000001b0  72 69 6f 20 64 65 20 65  6e 74 72 61 64 61 80 fe  |rio de entrada..|  000001c0  ff ff 83 fe ff ff 02 00  00 00 00 10 7a 04 00 00  |............z...|  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      =============================== stderr messages: ===============================    xz: (stdin): compressed data corrupt  xz: (stdin): compressed data corrupt  xz: (stdin): compressed data corrupt
i appreciate anybodies help.
posted on askubuntu, received no responses whatsoever after week. it's not first time happened, came here.
i've gotten point feel bursting out in tears spent money on device expecting allow me perform school work better , make computing experience more pleasant. instead, can't work without spending enough time boot system , experience has been complete crap i've spent @ least 20 hours trying fix have no knowledge of.

please, me here before tear hair out.

some bios particularly intel motherboards want see boot flag on primary partition. windows requirement boot. grub not use boot flag.

have boot flag on sda5, move sda1 should windows anyway. if ever reinstall windows boot loader flag have on sda1 boot.

can move flag gparted, disk utility or command line.

set boot flag on sda1 (off on others)
sudo sfdisk -a1 /dev/sda
parted /dev/sda set 1 boot on


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Grub 'Read Error' - AHCI Boot Issue


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues