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

Thread: Can't install Windows 8 & Ubuntu in Toshiba Portege Z930

  1. #1
    Join Date
    Feb 2013
    Beans
    8

    Can't install Windows 8 & Ubuntu in Toshiba Portege Z930

    Hello,

    I'm trying to install an Ubuntu 12.10 64bit in my z930 alongside a pre-installed windows 8, but Grub menu won't even show.

    My pre-installed distribution comes with the following partitions:

    /dev/sda1 - a Windows system recovery
    /dev/sda2 - a UEFI partition
    /dev/sda3 - a Windows system partition
    /dev/sda4 - Windows 8 main partition
    /dev/sda5 - Toshiba's windows 8 recovery partition (I delete this one to make space for Ubuntu)

    Here is what I've done:

    1. Resized the windows 8 partition using windows 8 disk management tool.
    2. Create a partition using windows 8 disk management tool.
    3. Disable "Intel fast boot" in the UEFI
    4. Boot my live Ubuntu 12.10 64bit from a USB drive
    5. I noticed Ubuntu installed doesn't detect the pre-installed windows 8, so I choose "do something else".
    6. Select /dev/sda5 as root partition and select Btrfs as file system
    7. Install & reboot

    The laptop boot directly into Windows 8, without showing Grub's boot menu, so I reboot from my USB ubuntu installation again and:

    1. Install and launch boot-repair
    2. I notice that, in advanced options, there are no Grub options (appear light grey)
    3. I run the recommended fix and I get this URL: http://paste.ubuntu.com/1630627/
    4. Reboot

    This time my system tries to boot directly into windows 8 again, but it gets stuck in a loop showing the small "loading" windows 8's logo (the one with the 6 little circles dancing around).


    I tried overwriting Windows 8's UEFI boot with grub's one, but it's all the same (the fix is suggested here: http://askubuntu.com/questions/23556...t-boot-manager).


    I don't know what else to do, can somebody help me?


    Thank you.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Can't install Windows 8 & Ubuntu in Toshiba Portege Z930

    With gpt partitioning all partitions are primary. Do not delete vendor supplied partitions. Some systems will not boot without them. Did you do a full system back and make the set of DVDs to reinstall. We are seeing too many users totally overwrite the hard drive and not have Windows at all.

    I would not use btrfs.
    BTRFS, not ready for prime time
    Ubuntu 12.04 LTS - Benchmarking All The Linux File-Systems
    http://www.phoronix.com/scan.php?pag..._1204_fs&num=1
    Large HDD/SSD Linux 2.6.38 File-System Comparison: EXT3, EXT4, Btrfs, XFS, JFS, ReiserFS, NILFS2
    http://www.phoronix.com/scan.php?pag...38_large&num=1

    You have two efi partitions. With UEFI and gpt you can only have one efi partition. And the "boot" flag in gpt is what makes an efi partition efi. You never with gpt set a boot flag on any other partition like with BIOS/MBR.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Feb 2013
    Beans
    8

    Re: Can't install Windows 8 & Ubuntu in Toshiba Portege Z930

    Quote Originally Posted by oldfred View Post
    With gpt partitioning all partitions are primary. Do not delete vendor supplied partitions. Some systems will not boot without them. Did you do a full system back and make the set of DVDs to reinstall. We are seeing too many users totally overwrite the hard drive and not have Windows at all.

    I would not use btrfs.
    BTRFS, not ready for prime time
    Ubuntu 12.04 LTS - Benchmarking All The Linux File-Systems
    http://www.phoronix.com/scan.php?pag..._1204_fs&num=1
    Large HDD/SSD Linux 2.6.38 File-System Comparison: EXT3, EXT4, Btrfs, XFS, JFS, ReiserFS, NILFS2
    http://www.phoronix.com/scan.php?pag...38_large&num=1

    You have two efi partitions. With UEFI and gpt you can only have one efi partition. And the "boot" flag in gpt is what makes an efi partition efi. You never with gpt set a boot flag on any other partition like with BIOS/MBR.
    I have a backup and I restored it already, but I don't know how a set of DVDs will help me (I don't have an external drive, so it could be a problem if I really need them). The partition I delete is not needed by windows, and in fact windows does boot after I remove it; as I said, I built the Ubuntu partition using windows. The recovery partition is 9 GB, it's right after the windows partition (which occupies almost the whole disk) and it's followed by a 8.5 GB sixth partition (unused), so I need to remove it to make space for Ubuntu if I don't want to loose a significant part of my hard drive.

    Also, I don't have two UEFI partition, just the one (sda2) and both Ubuntu and Windows detect it.

    Regarding Btrfs, I chose this FS after reading a few articles about SSD-ready file systems and several performance comparisons. It might not be ready for large production systems, but it is good enough for me, so I'd rather keep it that way.

  4. #4
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Can't install Windows 8 & Ubuntu in Toshiba Portege Z930

    Another thread on those using btrfs.
    http://ubuntuforums.org/showthread.php?t=2112829

    Did you just backup Windows or all the other partitions?

    Code:
    Partition    Start Sector    End Sector  # of Sectors System
    /dev/sda1           2,048       923,647       921,600 Windows Recovery Environment (Windows)
    /dev/sda2         923,648     1,456,127       532,480 EFI System partition
    /dev/sda3       1,456,128     1,718,271       262,144 Microsoft Reserved Partition (Windows)
    /dev/sda4       1,718,272   124,598,271   122,880,000 EFI System partition
    /dev/sda5     124,598,272   250,066,943   125,468,672 Data partition (Windows/Linux)
    Somehow your sda4 which probably is your main install is showing as an efi partition. Remove boot flag using gparted.
    Last edited by oldfred; February 10th, 2013 at 05:13 AM.
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  5. #5
    Join Date
    Feb 2013
    Beans
    8

    Re: Can't install Windows 8 & Ubuntu in Toshiba Portege Z930

    I backed up the whole disk (dd if=/dev/sda of=sda.img), so I can restore it as it was before I did anything at all (I've done this twice already ).

    I don't know why the report shows that, if you go a look at parted's report you can see the only partition with boot flag is sda2.

    I'll see what I can do about Windows partition showing as EFI partition, maybe that's the source of the whole problem.

    BTW: After my first failed installation with btrfs, I did a second installation with ext4 and experienced the exact same problems. I just paste my last report after many many hours of frustration, I'd be surprised if that has anything to do with my problems, but I'll switch to ext4 just to be sure.

    Thank you for your answers, I really appreciate them. I'll post my results as soon as I get them.
    Last edited by Abrx; February 10th, 2013 at 10:24 AM. Reason: Bad formating

  6. #6
    Join Date
    Feb 2013
    Beans
    8

    Re: Can't install Windows 8 & Ubuntu in Toshiba Portege Z930

    Ok, so I checked my partition table with gparted and nothing out of the ordinary there, so I went on installing Ubuntu with ext4. Didn't show grub menu so I just booted from my USB drive and run boot-repair. This time I do see grub options, and the proposed repair is different from the previous one, so that's one thing. Also, the boot-repair report doesn't show two EFI partitions at any point this time (which is good, I guess...).

    Btw, windows 8 was not detected by grub nor Ubuntu installer.

    Now, after the boot-repair, my laptop doesn't go pass the "TOSHIBA" starting screen. If I insert my USB drive, it jumps to my second boot option (USB) and boots Ubuntu live.

    I don't really understand why this is happening, it makes no sense. I'm going to repair the mess and see if I can fix the UEFI manually or using another loader. Still, I'd like to know why this happening.

    This is my report after I boot to Ubuntu live: http://paste.ubuntu.com/1632834
    Last edited by Abrx; February 10th, 2013 at 01:54 PM. Reason: Add boot-repair report

  7. #7
    Join Date
    Feb 2013
    Beans
    8

    Re: Can't install Windows 8 & Ubuntu in Toshiba Portege Z930

    A second boot-repair fixed the UEFI and then the laptop booted directly to windows 8 again. I installed Easy BCD and fixed the UEFI so that a menu would show up and I can choose between Ubuntu and Windows 8. While Windows 8 boot works perfectly, I get an error with Ubuntu boot. It says some files are missing and it cannot boot.

    I don't know what to do, really. This is all very weird. I think I'll try installing Grub in /dev/sda5 instead of /dev/sda and see if Easy BCD can load it from there...

  8. #8
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Can't install Windows 8 & Ubuntu in Toshiba Portege Z930

    I do not know how Easy BCD works. With UEFI you should not need it as both Windows & Ubuntu have boot files in efi paritition to boot.

    Some systems only will boot the Windows boot file. For those systems Boot_Repair backs up Windows boot file and renames the grub file to the Windows name. Then from grub it chain loads to the backup Windows file to boot Windows.

    How Boot-Repair works with UEFI systems - post 687 Dec 15, 2012
    http://ubuntuforums.org/showthread.p...769482&page=69
    How Boot-Repair fixes a Ubuntu with grub-pc with efi Windows
    http://ubuntuforums.org/showpost.php...&postcount=516
    Boot-Repair - Updated Jan 1, 2013 to not rename first time, but rename if first time Windows does not boot. Post 706
    http://ubuntuforums.org/showthread.p...769482&page=71


    Grub also has a bug on creating the Windows chain load entries. It still creates the old BIOS entries.
    grub-update fails to detect windows bootloader on a uefi system
    https://bugs.launchpad.net/ubuntu/+s...b2/+bug/807801
    grub2's os-prober creates wrong style (BIOS) chain boot entry
    https://bugs.launchpad.net/ubuntu/+s...2/+bug/1024383
    Type of entry that does not work:
    'Windows ...) (on /dev/sdXY)'

    https://help.ubuntu.com/community/UEFI
    https://wiki.archlinux.org/index.php/UEFI


    If you get to a grub menu, then you may be into video or other boot parameters.
    What video chip/card do you have?
    How to set NOMODESET and other kernel boot options in grub2 - both liveCD & first boot, but different
    http://ubuntuforums.org/showthread.php?t=1613132
    https://help.ubuntu.com/community/BootOptions

    http://www.mjmwired.net/kernel/Docum...parameters.txt
    noapic nolapic noapci noirqpoll nosmp irqpoll
    http://www.kernel.org/doc/Documentat...parameters.txt
    Check BIOS for settings:
    If you get grub menu press e so you can edit boot stanza.
    try to boot with acpi=off or nomodeset in place of splash quiet on the linux line
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  9. #9
    Join Date
    Feb 2013
    Beans
    8

    Re: Can't install Windows 8 & Ubuntu in Toshiba Portege Z930

    Quote Originally Posted by oldfred View Post
    I do not know how Easy BCD works. With UEFI you should not need it as both Windows & Ubuntu have boot files in efi paritition to boot.
    I think Easy BCD manipulates Windows boot loader. Anyway, Easy BCD didn't fix my problem, the only system it boots correctly is Windows 8

    Some systems only will boot the Windows boot file. For those systems Boot_Repair backs up Windows boot file and renames the grub file to the Windows name. Then from grub it chain loads to the backup Windows file to boot Windows.
    I know, and it's the first fix I tried. I did it automatically with boot-repair and then by hand; didn't work at all

    If you get to a grub menu, then you may be into video or other boot parameters.
    What video chip/card do you have?
    It is an Intel HD4000, but I don't even get to the Grub menu, I'm far from that point...

    I've tried with and without Secure Boot but it is all the same, I don't get past the base installation. I install ubuntu 12.10 with no apparent problem but I'm totally uncapable of booting it.

    I'm quite familiar with Grub and Linux (I've been using Debian for almost 15 years), if I get to Grub I can do whatever I want even by hand, but alas, I don't get that far...

    I'll keep trying but I'm about to give up :-/

  10. #10
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Can't install Windows 8 & Ubuntu in Toshiba Portege Z930

    Some systems particularly Samsung have major issues.
    http://mjg59.dreamwidth.org/

    Above also briefly mentions some Toshiba.

    Lenovo ThinkCentre M92p only boots Windows or Redhat.
    http://www.phoronix.com/scan.php?pag...tem&px=MTIyOTg
    http://mjg59.dreamwidth.org/20187.html?thread=774619
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •