Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Dual boot (EFI) windows 8 and Ubuntu all fine except Ubuntu wont boot (black screen)

  1. #1
    Join Date
    Mar 2011
    Beans
    19

    Dual boot (EFI) windows 8 and Ubuntu all fine except Ubuntu wont boot (black screen)

    I'm trying to dual boot windows 8 and Ubuntu 12.04.3 on a new (preinstalled) Asus Zenbook U500VZ (2x128 GB SSD in raid0 using IRST). I disabled CSM, fast boot, secure boot and installed both systems in EFI mode (Windows first). Then I ran boot repair (from live media) with the following paste link: http://paste.ubuntu.com/6180438/. So now Windows 8 and Grub works fine. But when I try to boot Ubuntu from GRUB I se the Ubuntu logo for a couple of secs. and then nothing but a black screen (not a brightness or signal issue) and I hear the Ubuntu drum sound.

    I partitioned like this:
    300 MB windows recovery (/dev/mapper/isw_dagfijbabd_RAID0SYS1)
    100 MB EFI partition (/dev/mapper/isw_dagfijbabd_RAID0SYS2)
    60 GB C: (/dev/mapper/isw_dagfijbabd_RAID0SYS3)
    82 GB D: (/dev/mapper/isw_dagfijbabd_RAID0SYS4)
    8 GB swap (/dev/mapper/isw_dagfijbabd_RAID0SYS5)
    15 GB '/' (/dev/mapper/isw_dagfijbabd_RAID0SYS6)
    60 GB '/home' (/dev/mapper/isw_dagfijbabd_RAID0SYS7)
    bootloader /dev/mapper/isw_dagfijbabd_RAID0SYS

    I tried reinstalling GRUB with this output:

    Code:
    ubuntu@ubuntu:~$ sudo grub-install --boot-directory=/mnt/boot /dev/mapper/isw_dagfijbabd_RAID0SYS6
    /usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk or to a partition.  This is a BAD idea..
    /usr/sbin/grub-setup: warn: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged..
    /usr/sbin/grub-setup: error: will not proceed with blocklists.
    Which led to nothing working so I had to reformat and install both systems. Before running boot-repar, this time I booted Ubuntu first and got this after a couple of minutes with the black screen:
    Code:
    [Gave up waiting for root device. Common problems:
    - Boot args for (cat /proc/cmdline)
      - Check rootdelay= (did the system wait long enough?)
      - Check root= (did the system wait for the right device?)
    - Missing modules (cat /proc/modules; ls /dev)
    Alert!  /dev/disk/by-uuid/[a hard drive uuid] does not exist. Dropping to a shell!
    
    BusyBox v1.18.5 (Ubuntu 1:1.18.5-1ubuntu4.1) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    (initramfs)
    Looks like it doesn't load the right partition but why?

    Ran boot-repair with the same outcome as first install.
    Tried to install latest Nvidia drivers using:
    Code:
    [sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install nvidia-current-updates
    Tried setting the boot line in GRUB to this options with the same result:
    nomodeset, no splash, nvidia.modeset=0, GRUB_GFXMODE=1280x1024x32.

    If it helps here is my /boot/grub/grub.cfg
    Code:
    If it helps this is my /boot/grub/grub.cfg   
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by 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
      set have_grubenv=true
      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
    }
    
    function load_video {
      insmod efi_gop
      insmod efi_uga
      insmod video_bochs
      insmod video_cirrus
    }
    
    insmod part_gpt
    insmod ext2
    set root='(hd4,gpt7)'
    search --no-floppy --fs-uuid --set=root fb4c455f-c123-4c54-abbd-d6217a6c2737
    if loadfont /usr/share/grub/unicode.pf2 ; then
      set gfxmode=auto
      load_video
      insmod gfxterm
      insmod part_gpt
      insmod ext2
      set root='(hd4,gpt7)'
      search --no-floppy --fs-uuid --set=root fb4c455f-c123-4c54-abbd-d6217a6c2737
      set locale_dir=($root)/boot/grub/locale
      set lang=en_US
      insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ]; then
      set timeout=10
    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; then
      clear
    fi
    ### END /etc/grub.d/05_debian_theme ###
    
    ### BEGIN /etc/grub.d/10_linux ###
    function gfxmode {
        set gfxpayload="${1}"
        if [ "${1}" = "keep" ]; then
            set vt_handoff=vt.handoff=7
        else
            set vt_handoff=
        fi
    }
    if [ "${recordfail}" != 1 ]; then
      if [ -e ${prefix}/gfxblacklist.txt ]; then
        if hwmatch ${prefix}/gfxblacklist.txt 3; then
          if [ ${match} = 0 ]; then
            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" ]; then load_video; fi
    menuentry 'Ubuntu, with Linux 3.8.0-31-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        gfxmode $linux_gfx_mode
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='(hd4,gpt7)'
        search --no-floppy --fs-uuid --set=root fb4c455f-c123-4c54-abbd-d6217a6c2737
        linux   /boot/vmlinuz-3.8.0-31-generic.efi.signed root=UUID=fb4c455f-c123-4c54-abbd-d6217a6c2737 ro   quiet splash $vt_handoff
        initrd  /boot/initrd.img-3.8.0-31-generic
    }
    menuentry 'Ubuntu, with Linux 3.8.0-31-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='(hd4,gpt7)'
        search --no-floppy --fs-uuid --set=root fb4c455f-c123-4c54-abbd-d6217a6c2737
        echo    'Loading Linux 3.8.0-31-generic ...'
        linux   /boot/vmlinuz-3.8.0-31-generic.efi.signed root=UUID=fb4c455f-c123-4c54-abbd-d6217a6c2737 ro recovery nomodeset 
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-3.8.0-31-generic
    }
    submenu "Previous Linux versions" {
    menuentry 'Ubuntu, with Linux 3.8.0-29-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        gfxmode $linux_gfx_mode
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='(hd4,gpt7)'
        search --no-floppy --fs-uuid --set=root fb4c455f-c123-4c54-abbd-d6217a6c2737
        linux   /boot/vmlinuz-3.8.0-29-generic root=UUID=fb4c455f-c123-4c54-abbd-d6217a6c2737 ro   quiet splash $vt_handoff
        initrd  /boot/initrd.img-3.8.0-29-generic
    }
    menuentry 'Ubuntu, with Linux 3.8.0-29-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod gzio
        insmod part_gpt
        insmod ext2
        set root='(hd4,gpt7)'
        search --no-floppy --fs-uuid --set=root fb4c455f-c123-4c54-abbd-d6217a6c2737
        echo    'Loading Linux 3.8.0-29-generic ...'
        linux   /boot/vmlinuz-3.8.0-29-generic root=UUID=fb4c455f-c123-4c54-abbd-d6217a6c2737 ro recovery nomodeset 
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-3.8.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/25_custom ###
    
    menuentry "Windows UEFI bkpbootmgfw.efi" {
    search --fs-uuid --no-floppy --set=root B6F8-C530
    chainloader (${root})/EFI/Microsoft/Boot/bkpbootmgfw.efi
    }
    
    menuentry "Windows Boot UEFI loader" {
    search --fs-uuid --no-floppy --set=root B6F8-C530
    chainloader (${root})/EFI/Boot/bkpbootx64.efi
    }
    ### END /etc/grub.d/25_custom ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    menuentry 'System setup' {
        fwsetup
    }
    ### END /etc/grub.d/30_uefi-firmware ###
    
    ### 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 ###
    
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f  $prefix/custom.cfg ]; then
      source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    and this is my /etc/default/grub

    Code:
    # If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.
    # For full documentation of the options in this file, see:
    #   info -f grub -n 'Simple configuration'
    
    GRUB_DEFAULT=0
    #GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""
    
    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
    
    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL=console
    
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480
    
    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    #GRUB_DISABLE_LINUX_UUID=true
    
    # Uncomment to disable generation of recovery mode menu entries
    #GRUB_DISABLE_RECOVERY="true"
    
    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"
    I just downloaded Ubuntu 13.04 to see if I have any more luck with that installation...

  2. #2
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Dual boot (EFI) windows 8 and Ubuntu all fine except Ubuntu wont boot (black scre

    It looks like they have done some updates to see the RAID with the desktop installer.
    But I still do not know if you can install grub to root of RAID like a normal RAID or not.

    => No boot loader is installed in the MBR of
    /dev/mapper/isw_dagfijbabd_RAID0RST.
    => No boot loader is installed in the MBR of
    /dev/mapper/isw_dagfijbabd_RAID0SYS.

    That says you have two RAID and you install to /dev/mapper/isw_dagfijbabd_RAID0SYS (no number for partition) for normal RAID.

    But is this an UltraBook? And then the RAID is really Intel SRT, not multiple drives in RAID configuration?

    Before Boot-Repair or Ubuntu did not show details of RAID and we just removed RAID meta-data on drives and installed grub to efi partition. Then you could turn Intel SRT back on. Some just use SSD as Boot drive for Ubuntu if not primarily Windows users.

    See link in my signature for more info on Ultrabooks.

    If you can boot to grub menu, and black screen it is the video issue which all Ultrabooks have. If in nVidia mode you need nomodeset. If Intel mode other settings may be required.
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  3. #3
    Join Date
    Mar 2011
    Beans
    19

    Re: Dual boot (EFI) windows 8 and Ubuntu all fine except Ubuntu wont boot (black scre

    Yes it is an ultra book. With IRST on 2 physically separated mSATA SSD's, 128 GB each according to Asus anyway. I haven't actually opened it upp myself yet. But it says they are in raid 0. I don't really know the difference between an actual raid and IRST.

    What I don't understand about the lines you quoted in your reply is it is looking for boot loader in MBR. But EFI doesn't use MBR does it?

    Before Boot-Repair or Ubuntu did not show details of RAID and we just removed RAID meta-data on drives and installed grub to efi partition. Then you could turn Intel SRT back on. Some just use SSD as Boot drive for Ubuntu if not primarily Windows users.
    I'm not really sure what you mean by that....can you clarify?

    How do I remove RAID meta-data?
    Should I install GRUB to the EFI partition created by windows or create a seperate one?
    I can't find a IRST config in my UEFI setup. The only thing I can control seems to be CSM.

    I'll take a look at your link and thank you for taking the time to help out!

  4. #4
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Dual boot (EFI) windows 8 and Ubuntu all fine except Ubuntu wont boot (black scre

    With two identical drives then it is not a Intel SRT which usually is a larger hard drive and a 16 to 32GB SSD that is used mostly for hibernation or swapping.

    If you have RAID 0 then you have RAID, but RAID 0 is not recommended. It will be a bit faster but if either drive fails then all data is lost. So you have to have really good backup procedures.

    I do not know RAID but when installing grub you always install to the root of the drive with BIOS. But with UEFI you install to the efi partition. You can only have one efi partition per drive so install grub to that. It will just create another folder for ubuntu.

    Do not use gparted on RAID.
    http://www.howtoforge.com/how-to-res...-software-raid
    Don't bother with RAID 0 unless you have a specific need for speed without data redundancy, since if one drive goes out, you lose the whole array.
    http://en.wikipedia.org/wiki/RAID
    http://www.smallnetbuilder.com/nas/n...-is-not-backup

    Some with RAID, just remove RAID and reinstall with Windows on one drive and Ubuntu on the other, but I do not know if you can easily do that with RAID 0, easier with RAID 1.
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  5. #5
    Join Date
    Mar 2011
    Beans
    19

    Re: Dual boot (EFI) windows 8 and Ubuntu all fine except Ubuntu wont boot (black scre

    I was not talking about intel smart response tech but intel rapid storage tech wich is a firmware raid as far as I can tell. http://www.intel.com/support/chipset.../CS-009337.htm.

    I know about the issue with raid 0 but what difference is there from using just one drive or two with one for OS and another for storage as, I guess, most people do? As long as I backup regularly I should be ok, right?

    Ubuntu 13.04 is, however, not happy with my SSD config. It sees the partitions in the installer but cannot partition it. allthough it seems that even if it complains a lot when removing the old 12.04 partition it looks like it eventually removed it anyway.

    I have thought of disableing raid and use one for each os instead but I cant find the option in the UEFI setup.

  6. #6
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Dual boot (EFI) windows 8 and Ubuntu all fine except Ubuntu wont boot (black scre

    Since it is RAID 0 parts of every file are on both drives. So you cannot just turn RAID off or everything is gone. I think you may be able to do full backups and then restore to one drive, but do not know details.

    The normal desktop installer does not work with RAID as that is more common with servers. The 12.04 alternative installer included RAID and LVM drivers but I do not think they have RAID yet in desktop installer. Boot-Repair adds the RAID drivers so it can work with those systems.

    Gparted does not work with RAID either. I think I saw where the very newest gparted may. You normally have to use RAID tools which I do not know about.
    http://partedmagic.com/
    http://gparted.sourceforge.net/faq.php
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  7. #7
    Join Date
    Mar 2011
    Beans
    19

    Re: Dual boot (EFI) windows 8 and Ubuntu all fine except Ubuntu wont boot (black scre

    I got it up and running using the 12.04.03 alternate cd installer. But for it to work on a usb I had to use this script to truncate the filenames to < 64 characters. http://cirrus.ucsd.edu/~pierce/fix_ubuntu_usb/

    I also added
    Code:
    cdrom-detect/try-usb=true
    before the "--" for some of the boot options in the syslog.cfg. That syslog change didn't work by itself but maybe it was the combination of both. The filename truncation was important though for using an USB instead of CD. Apparently CD's have a filename max lenght of 64 charachters and for the installer to recognize the files on the USB they cannot be longer than that since it is expacting a CD, weird hehe.

    Anyway when I booted up I used boot-repair for Windows to show up in GRUB. Downloaded new updates, and then, made the mistake of downloading the Nvidia drivers (from the additional drivers software). Now I am back to black screen!!!

    Is there a way to delete those drivers and then install some other drivers?

  8. #8
    Join Date
    Mar 2011
    Beans
    19

    Re: Dual boot (EFI) windows 8 and Ubuntu all fine except Ubuntu wont boot (black scre

    I started up from ubuntu with nomodeset and it hangs on ubuntu logo after a while. ctrl + alt+ F2 gives me a command line.
    sudo apt-get purge nvidia*
    and reboot works. So I guess I have to figure out how to install the graphics driverrs...any suggestions?

  9. #9
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Dual boot (EFI) windows 8 and Ubuntu all fine except Ubuntu wont boot (black scre

    What video is it?
    I have nVidia and use nomodeset to get in the first time after install, but install the nVidia driver and it just works. But different models may need different drivers.

    #To see video:
    sudo lshw -c display
    sudo lshw | grep -A 11 display
    lspci | grep VGA
    #Resolution:
    xwininfo -root
    For info on UEFI boot install & repair - Updated Mar 2015:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  10. #10
    Join Date
    Mar 2011
    Beans
    19

    Re: Dual boot (EFI) windows 8 and Ubuntu all fine except Ubuntu wont boot (black scre

    00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
    01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M] (rev a1)
    Width: 1920
    Height: 1080
    Depth: 24
    it is a optimus setup. I have read some info about setting it up on linux but seems like it is not fully supported?

    http://tuxilero.blogspot.cz/2013/09/...a-drivers.html
    what do you think about this? worth trying?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •