Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Dual boot Windows 8 and Precise -Dell XPS 8500

  1. #1
    Join Date
    Oct 2006
    Beans
    40

    Dual boot Windows 8 and Precise -Dell XPS 8500

    Recently, I've bought a Dell XPs 8500 64 bit an Win 8. First of all, i don't waste your time, so I precise that I have only basic skill about Linux, and some questions are well-known for most of you. Anyway, I ask your advice or a suggestion for a good tutorial.
    I'd like to know how to dual boot Precise pangolin with Windows 8. I know 12.10 is more suitable for an UEFI system as XPS 8500 but for professional reasons it's necessary for me to install an LTS.
    Now the problems.
    Partitioning and Grub location.
    -----------------------------------------
    I'm used to install ubuntu from Dapper Drake in dual boot with Windows XP. Each time i've used gparted to resiza win partition and make room for ubuntu. Until now. You know i'me using a live-usb for Precise.
    First time Grparted warns me about the ntfs partition is inconsistent. Tip: chkdsk -f and reboot 2 times.
    So I do. Nothing happens. The partition of ntfs /dev/sda5, drive c: label OS(ntfs) in windows terms is recognized by gparted but I can't modify it. I am confused by the various partitions Dell created for my system. In case it is useful I post some tests:
    ---------------------------------------------------------------------------------------------------
    ubuntu@ubuntu:~$ sudo parted -l
    Error: The backup GPT table is not at the end of the disk, as it should be.
    This might mean that another operating system believes the disk is smaller.
    Fix, by moving the backup to the end (and removing the old backup)?
    Fix/Ignore/Cancel?
    Warning: Not all of the space available to /dev/sda appears to be used, you can
    fix the GPT to use all of the space (an extra 4521 blocks) or continue with the
    current setting?
    Fix/Ignore? ^C
    Model: ATA ST2000DM001-1CH1 (scsi)
    Disk /dev/sda: 2000GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: gpt

    Number Start End Size File system Name Flags
    1 1049kB 525MB 524MB fat32 EFI system partition boot
    2 528MB 570MB 41.9MB fat32 Basic data partition hidden
    3 570MB 705MB 134MB Microsoft reserved partition msftres
    4 705MB 1229MB 524MB ntfs Basic data partition hidden, diag
    5 1229MB 1993GB 1992GB ntfs Basic data partition
    6 1993GB 2000GB 7358MB ntfs Microsoft recovery partition hidden, diag
    Error: /dev/sdb: unrecognised disk label

    Model: SAMSUNG HD103SI (scsi)
    Disk /dev/sdc: 1000GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Number Start End Size Type File system Flags
    1 32.3kB 1000GB 1000GB primary fat32 lba

    (external hard disks)
    Model: Verbatim (scsi)
    Disk /dev/sdd: 15.7GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Number Start End Size Type File system Flags
    1 65.5kB 15.7GB 15.7GB primary fat32 boot, lba

    Model: WD Ext HDD 1021 (scsi)
    Disk /dev/sde: 3001GB
    Sector size (logical/physical): 4096B/4096B
    Partition Table: msdos

    Number Start End Size Type File system Flags
    1 1049kB 3001GB 3001GB primary

    parted: write error
    ubuntu@ubuntu:~$
    --------------------------------------------------------------------------------------
    sudo gdisk -l /dev/sda
    Partition table scan:
    MBR: protective
    BSD: not present
    APM: not present
    GPT: present

    Found valid GPT with protective MBR; using GPT.
    Disk /dev/sda: 3907029168 sectors, 1.8 TiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 0FF7F015-4185-4E5A-8BBC-98945CDB443E
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 3907024613
    Partitions will be aligned on 2048-sector boundaries
    Total free space is 1921132477 sectors (916.1 GiB)

    Number Start (sector) End (sector) Size Code Name
    1 2048 1026047 500.0 MiB EF00 EFI system partition
    2 1032192 1114111 40.0 MiB FFFF Basic data partition
    3 1114112 1376255 128.0 MiB 0C01 Microsoft reserved part
    4 1376256 2400255 500.0 MiB 2700 Basic data partition
    5 2400256 1971529727 939.0 GiB 0700 Basic data partition
    6 3892652032 3907022598 6.9 GiB 2700 Microsoft recovery part
    ubuntu@ubuntu:~$
    ------------------------------
    So I've tried to resize it from Win8, and now I have enough space for ubuntu.
    I have about 930 GB for Win and 916 for Ubuntu 8 (unallocated space).
    I've used again gparted from usb and created a linux-sswap and an ext 4 journaling partitions. Even if i don't know why gparted put a (!) warning in front of my NTFS partition, the installation proceeds...until the install crashes because the default location for grub2 probably is not ready or fot other mistakes.
    Actually at reboot only Windows 8 works.
    Some tips?
    Thanks in advance,
    Dini-Verdiani,
    Firenze
    Italy
    Attached Images Attached Images
    Last edited by unconcrete; January 19th, 2013 at 10:32 PM.

  2. #2
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Dual boot Windows 8 and Precise -Dell XPS 8500

    Because you have Windows 8 pre-installed you have secure boot. Currently only 12.10 has grub2 2.00 which supports secure boot. But 12.04 is getting a major update to kernel & grub with the next point release and will in effect have the same as 12.10. But because it is a large update it has been delayed to February.

    It did not show sdb? Is this an UltraBook or similar system with Intel SRT. That uses RAID which confuses many standard partition tools.

    You may be able to boot 12.04 in UEFI mode many have installed it with Windows 7 that did not have secure boot. And I have noticed some updated to grub 1.99 that mention secure boot so it may partially be updated already.

    You have to turn secure boot off, and turn off fast boot. If fast boot is left on the only way to get into UEFI/BIOS is thru Windows. And if you cannot boot Windows at some point you then cannot get into UEFI and are bricked. Ubuntu supposedly has released a fix, but again that is with 12.10.

    You will need to use the 64 bit version of 12.10 and from the UEFI menu boot the flash drive in UEFI mode. That way it will install in UEFI mode.
    Systems need quick boot or fast boot turned off in UEFI settings. Vital for some systems.
    https://help.ubuntu.com/community/UEFI
    https://wiki.archlinux.org/index.php/UEFI
    https://help.ubuntu.com/community/UEFIBooting

    Dell XPS 8500, desktop. Win 8 eventually worked (Ignore sidetrack to EasyBCD)
    http://ubuntuforums.org/showthread.php?t=2086383
    No EFI boot on Dell Inspiron One 2330 UEFI/BIOS update solved issues:
    http://ubuntuforums.org/showthread.php?t=2086631

    You cannot use the Win7 DVD in UEFI mode, you need to use BIOS mode or modify to USB with UEFI.
    http://linux.dell.com/cgi-bin/gitweb...README;hb=HEAD
    http://software.intel.com/en-us/arti...and-scripting/

    grub2's os-prober creates wrong style (BIOS) chain boot entry, but Boot-Repair can fix.
    https://bugs.launchpad.net/ubuntu/+s...2/+bug/1024383
    Type of entry that does not work:
    'Windows ...) (on /dev/sdXY)'
    Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot.:
    https://help.ubuntu.com/community/Boot-Repair

    Always best to have repairCD or liveCD of the current version of every system you have installed.

    Windows 8 UEFI repair USB must be FAT32
    http://www.eightforums.com/tutorials...ndows-8-a.html
    http://social.msdn.microsoft.com/For...-166dddf32205/

    I would not create one large system partition for Ubuntu. For both Windows & Linux I suggest smaller system partitions and separate /home or data partitions. I use 25GB for all my Linux system partition and have large data partitions, one NTFS to share with Windows so I do not write into the Windows system partition and one LInux format.

    WARNING for Windows 8 Dual-Booters
    http://ubuntuforums.org/showthread.php?t=1953674
    It defaults shutdown to a hybrid hibernation/off state for fast boot
    http://www.kapilarya.com/how-to-enab...p-in-windows-8
    But then files may be corrupted similar to Windows 7 Hibernation:
    http://ubuntu-with-wubi.blogspot.ca/...rid-sleep.html
    http://superuser.com/questions/14472...te-w-dual-boot
    Last edited by oldfred; January 19th, 2013 at 11:40 PM.
    For info on UEFI boot install & repair:
    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
    Dec 2009
    Location
    Hong Kong
    Beans
    58
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: Dual boot Windows 8 and Precise -Dell XPS 8500

    I am thinking of the xps 8500 as well. Hope your results are good.

    Looking at all those links makes my head hurt. What a nightmare secure boot is.

  4. #4
    Join Date
    Oct 2006
    Beans
    40

    Re: Dual boot Windows 8 and Precise -Dell XPS 8500

    Quote Originally Posted by smellyman View Post
    I am thinking of the xps 8500 as well. Hope your results are good.

    Looking at all those links makes my head hurt. What a nightmare secure boot is.
    I agree. If I'd expected such a business, I've bought a new system many months ago.

  5. #5
    Join Date
    Oct 2006
    Beans
    40

    Re: Dual boot Windows 8 and Precise -Dell XPS 8500

    Presume I install Quantal. Probably most of my problems will be solved.
    Actually, I'd use boot-repair to restore grub2, but I haven't enough knowledge to manage the adavanced options. I cannot risk a black screen at reboot, also because I am not the only user of this system. I'll wait February and meanwhile I'll try the links you suggested me.
    Two questions:
    .since i need to make use of win8 for commercial software and ubuntu for open source, If i disable secure boot can I dual boot both the OSes or only ubuntu?
    .and also, If i choose to try 12.10, it will be possible as soon as possible to install the new Precise LTS and uninstall the 12.10 without MBR damages?
    Thanks in advance.
    Last edited by unconcrete; January 20th, 2013 at 04:30 PM.

  6. #6
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Dual boot Windows 8 and Precise -Dell XPS 8500

    The Windows UEFI secure boot specification says the user must be able to turn secure boot off. How the vendor implements that may be a question. Several have posted with their systems, they could boot with secure boot on or off.

    I would think whichever Ubuntu you install last will install its copy of grub-efi into /boot/efi/EFI/ubuntu/grubx64.efi and be the one you boot. Then grub.cfg in that install will have chain load entries to other installs like BIOS/MBR does. One user complained & filed a bug as he wanted Ubuntu & Kubuntu to be separate entries in the efi partition like other distributions. But entries were in grub.cfg, so I do not see issue?

    I like having multiple installs, but currently only have BIOS, but do have gpt partitioning. I use 25GB for each install but keep all data in separate data partitions so I can use data in every install. With Windows 8 you really need a separate NTFS shared data partition as you never want to do anything with Windows 8 as it is always hibernated (why it boots so quick). Most turn the hibernation off to avoid issues of dual booting.

    You may even want two installs of 12.04. It will offer a rolling release type where you have the newest kernel or can keep the old one. But with new hardware you may need the newest kernel to have system work with new hardware.
    https://wiki.ubuntu.com/Kernel/Release/Rolling
    Last edited by oldfred; January 20th, 2013 at 05:05 PM.
    For info on UEFI boot install & repair:
    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
    Oct 2006
    Beans
    40

    Re: Dual boot Windows 8 and Precise -Dell XPS 8500

    I've tried again to install ubuntu and this time it seems successfully. Unnfortunately there is something wrong in the boot loader. In fact only ubuntu starts.
    The install process haven't warned me about some error.
    At the partition step the default option for grub 2 was /dev/sda and so i've agreed. Actually no boot loader seems to work.
    The only doubt i have is that the grub 2 target is /dev/sda but my uefi partition is /dev/sda1.
    Maybe it was better to choose it?
    Thanks
    unconcrete

  8. #8
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Dual boot Windows 8 and Precise -Dell XPS 8500

    Did you install in BIOS mode or UEFI mode? How you boot install flash drive either UEFI or BIOS is how it installs.

    If you install in BIOS mode it uses grub-pc and MBR. If you install in UEFI mode it uses grub-efi and is in efi partition. Boot-Repair can convert from one type to the other.

    You cannot chain load from a BIOS install to a UEFI install. Both have to be the same.

    Grub still has a bug and does not create correct chain entries to Windows in UEFI mode. But Boot-Repair can fix that.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







  9. #9
    Join Date
    Oct 2006
    Beans
    40

    Re: Dual boot Windows 8 and Precise -Dell XPS 8500

    Quote Originally Posted by oldfred View Post
    Did you install in BIOS mode or UEFI mode? How you boot install flash drive either UEFI or BIOS is how it installs.

    If you install in BIOS mode it uses grub-pc and MBR. If you install in UEFI mode it uses grub-efi and is in efi partition. Boot-Repair can convert from one type to the other.

    You cannot chain load from a BIOS install to a UEFI install. Both have to be the same.

    Grub still has a bug and does not create correct chain entries to Windows in UEFI mode. But Boot-Repair can fix that.
    I think my system is uefi, so as i choose usb as the first in boot priority i will have a uefi mode install, but really it is new to me all that. maybe I was making a big mistake. Don-t know.
    However I have tried to install boot.repair to solve the prob.
    It detect immediately EFI. Then a warning reports ^Warning: this will install necessary packages from Ubuntu-12.10 repositories. Please backup your data before this operation.^ I have installed only 12.04.1 instead. Anyway I go on.
    Recommended repair
    Create a boot info summary
    Advanced options.
    In order to avoid options i don t know I choose Recommended.
    Follows a series of operations that I think bootrepair try to uninstall grub2 and reinstall it in the correct way.
    Finally i have rebooted and after the Dell logo appair the tipical grub menu.
    Wow! There are ubuntu uefi mode, windows uefi mode and other i don t remember at the moment. At first i choose Ubuntu and the os works correctly. After that I was satisfied, but at the next reboot I have chosen Windows.
    Black screen of death. The only warning is something like < no bootable disk detected >.
    :&
    I remember I ve noticed some warning of boot repair at the end of its process.
    <After repair go Bios set Bootpriority:file sda1/efi/ubuntu/shimx64.efi!
    The ubuntu boot files are distant from the beginning of the disk.
    ...
    Create partition /boot (ext4 > 200 MB at the beginning of the disk) by using Gparted...select it with the option {Partition / Boot apart}.
    At the moment I am confused.
    Have I to use the Boot repair advanced options?
    What an headache!
    I add a snapshot of Gparted. In my hard drive there are for me too much partitions, five of them Dell preinstalled. As boot.repair suggests a new one at the beginning of the disk, where I can create it? it seems a jungle.

    unconcrete
    Attached Images Attached Images
    Last edited by unconcrete; January 21st, 2013 at 06:37 PM. Reason: Additional info

  10. #10
    Join Date
    Jun 2009
    Location
    Chicago Suburbs
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Dual boot Windows 8 and Precise -Dell XPS 8500

    With Windows 8 secure boot your should have 12.10 as it has the newest grub2 2.00. Ubuntu 12.04 has grub2 1.99 but will get the newer version of grub with the next point release in February. Only grub2 2.00 has the secure boot shim that will work with secure boot. If secure boot is off your 12.04 should work.
    I do not know if Boot-Repair then installs the grub2 2.00 packages with 12.04 or not.

    If you can boot you do not need the separate /boot at the beginning of the drive. We did see that issue occasionally with BIOS, but I do not think we have seen it yet with UEFI. It as some combination of BIOS, BIOS settings & grub, but by having /boot or the entire / (root) inside the first 100GB would solve that issue. Probably not required for your system.

    Boot-Repair will convert a BIOS install to UEFI by uninstalling grub-pc and installing grub-efi. The actual Ubuntu install is the same with just a few setting by grub-efi changed and the efi version of grub.

    Boot-Repair recognizes you have Windows 8 and suggests booting from UEFI menu with the shim file but with 12.04 you do not have it. With secure boot off you should be able to boot from the ubuntu entry.The shim file has the Windows secure boot key so Ubuntu can work with secure boot.

    But you still have to go into UEFI/BIOS and choose ubuntu or else it will just keep booting Windows as the default.
    Last edited by oldfred; January 21st, 2013 at 06:22 PM.
    For info on UEFI boot install & repair:
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to close thread when/if answered completely.







Page 1 of 3 123 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
  •