View Full Version : [ubuntu] Dual boot HP 2000-2d49WM Ubuntu & Windows 8

December 25th, 2013, 11:07 PM
OK so I want to dual boot with my new laptop I got yesterday it has windows 8.
I used my USB to try to install Ubuntu 13.10 but it does not show that win 8 is installed and does not give a option to dual boot install
and I don't know how to do it manually please help me out.

December 26th, 2013, 12:22 AM
Did you turn off fastboot or the always on hibernation? Often better to turn off secure boot also.

Backup efi partition and Windows partition before Install of Ubuntu.
Shows install with screen shots for both BIOS & UEFI, so you know which you are using.
Also shows Windows 8 screens
Boot Repair -Also handles LVM, GPT, separate /boot and UEFI dual boot. required for UEFI & grub bug fixes

December 26th, 2013, 03:11 AM
How would I back them up

December 26th, 2013, 05:30 AM
These are often suggested for Windows.
The vendor recovery DVDs are just an image of your drive as purchased. If you have housecleaned a lot of cruft normally included, run many updates with many reboots, and added software you may want a full back up.
Backup windows before install - post by Mark Phelps
Another suggestion by srs5694

Windows 8 UEFI repair USB must be FAT32, not for reinstall, just repairs

Often for Ubuntu clonezilla is used for image backups. But with Ubuntu it is easy to reinstall so many of us just backup /home, /etc, list of installed apps, and any thing else we create but not the system.

December 26th, 2013, 06:07 AM
I'm sorry if this is annoying but I'm very new and a little bit stupid when it comes to this is there at all any videos or simple instructions that I could follow?
Sorry again.

December 26th, 2013, 06:14 AM
There are several videos, now a bit older but the same processes for installing in the link in my signature. Videos are at the bottom of the first post.

December 26th, 2013, 02:02 PM
I'm going through much of the same with an HP 2000 I bought for my wife. I tried to install from a 12.04.3 DVD but all I got was a black screen for both install and demo. I also tried with a 12.04.1 DVD and got the same result. I went to HP tech support and got on chat with a technician. He told me:
1. disable secure boot.
2. enable legacy support.
3. my software warranty will be voided.

I did 1 and 2, but I still only got a black screen from the .3 disk (install and demo). I then tried with the .1 disk and demo came up fine (didn't try install yet). I'm thinking that the difference may be because the .1 disk is the 32 bit version and the .3 disk is 64 bit.

Reading other posts, I see recommendations that the re-partitioning should be done by windows. I'm not sure how to do that. Windows shows that the disk already has 5 partitions. What's odd about that is there are 2 D: partitions which are identical except the type for one is blank and the other is NTFS. I see an option to shrink the partitions, but I'm unsure how to proceed from there in windows. A concern I have is that if I shrink the C: partition and then add another partition in the empty space, it will have to be an extended partition. I'm not sure if that will be a problem.

December 26th, 2013, 04:36 PM
Progress report:

I tried booting from a usb stick (12.04.3 64 bit and 32 bit versions), still getting nothing but black screen. Went back to old 12.04.1 (32 bit) cdrom and got the try/install screen. Presently running "try" (seems to work OK). Next, ran fdisk /dev/sda which only returned one device (/dev/sda1) system: GPT. The man page for fdisk says "fdisk does not understand GUID partition tables (GPTs) and it is not designed for large partitions. In these cases, use the more advanced GNU parted(8)."

Next, ran gparted /dev/sda. It shows 5 partitions (/dev/sda1 ... /dev/sda5).

Partition-------- File System----- Label---------- Size------------ Used---------- Unused------- Flags
/dev/sda1------ ntfs--------------- WINRE-------- 400.00 MiB--- 259.06 MiB--- 140.94 Mib-- hidden, diag
/dev/sda2------ fat32------------- ------------------ 260.00 MiB--- 98.67 Mib---- 161.33 Mib-- boot
/dev/sda3-!---- unknown-------- ------------------ 128.00 MiB--- ----------------- ---------------- msftres
/dev/sda4------ ntfs--------------- Windows------ 675.84 GiB--- 36.18 GiB----- 639.66 GiB-- ------------
/dev/sda5------ ntfs--------------- RECOVERY-- 22.03 GiB----- 19.79 GiB----- 2.24 GiB----- hidden

I'm really concerned about what might happen if I try running "Install". All of this wouldn't be a problem with a wubi install, but we're warned against using it in Windows 8. Is this a permanent thing or is there a fix in the works? Anyone know?

December 26th, 2013, 04:47 PM
New computers with Windows 8 have UEFI and gpt partitioning. There is no limit on partitions with gpt (well it really is 128 as a default). And all partitions then are primary.

fdisk is only for MBR(msdos). I think they are working on a new version that also supports gpt, but there already is gdisk which is a fdisk for gpt partitioned drives. gdisk is in the repository and easy to install.

You do need to use Windows to shrink its partition to make unallocated space. And reboot so it runs chkdsk to fix itself to its new size. And you need to make full backups of Windows and the efi partition.

Please review all the collected links and info in the link in my signature. It is a lot but can answer all your questions.

All the new computers really need 13.10 as Intel has offered a lot of updates for its new processors to the kernel & support software. That is in 13.10 and 12.04.4 in Jan will probably even have more updates. UEFI secure boot support only started with 12.04.2 so you should not use any earlier versions.

December 26th, 2013, 05:27 PM
I made and ran a 13.10 64 bit install usb and I'm still getting the black screen (after the GRUB try/install menu). Tried with and without secure boot - no luck. Can't find any other settings that might be the problem.

Any reason my subscription to this thread was removed?

December 26th, 2013, 05:43 PM
Wow! I just stumbled on the solution. The screen was black because the brightness came on set all the way down! How dumb is that?

December 26th, 2013, 06:49 PM
So I have it installed and so far everything looks fine except for one tiny thing (other than that it starts black): It only boots into windows. Then, to get to ubuntu, I have to go to shutdown, hold down the shift key while clicking on restart, and then selecting ubuntu. There's gotta be a better way.

p.s. Same result with secure boot enabled and disabled.

December 26th, 2013, 07:29 PM
If you installed in legacy/CSM/BIOS mode you cannot dual boot from grub, only from UEFI menu or one time boot key if your system auto switches from UEFI to BIOS mode. Some require you to turn on/off CSM or UEFI modes to change.
UEFI and BIOS are not really compatible, once you start booting in one mode you cannot change. So if different modes you cannot dual boot from grub.
Also even if Ubuntu is in UEFI mode, there is a bug on booting Windows in UEFI mode if secure boot is on.

December 26th, 2013, 07:42 PM
So you're basically saying I'm screwed? Could I create a usb stick that directly boots to the installed ubuntu on HD?

December 26th, 2013, 08:53 PM
No, you just will not be able to use new 3TB drive to boot Windows unless you have UEFI.

Install Windows on a smaller drive with MBR and boot in BIOS mode. You can then install Ubuntu on 3TB drive with gpt partitioning to boot in BIOS mode. To get grub to install correctly on gpt drive, you do need the tiny 1 or 2 MB unformatted partition with the bios_grub flag. If you think drive may get transfered to a new system with UEFI, I would also suggest a 200 to 500MB fat32 partition at the beginning of the drive for future use as efi partition. It could be difficult to add later when drive is full and efi partition should be near or at front of drive.
And since drive is huge, I would keep / (root) as a 25GB partition and then use rest of drive as /home and/or NTFS shared data partition(s).

I used to dual boot Ubuntu on gpt drive and XP on MBR drive without issue.

For the Total space you want for Ubuntu:
Ubuntu's standard install is just / (root) & swap, but it is better to add another partition for /home if allocating over 30GB.:
Only if gpt - all partitions in gpt are primary:
gpt: 300 MB efi FAT32 w/boot flag (for UEFI boot or future use for UEFI, you only can have one per drive, so if already existing do not attempt another)
gpt: 1 MB No Format w/bios_grub flag (for BIOS boot not required for UEFI)
for gpt(GUID) or MBR(msdos) partitioning
Ubuntu partitions - smaller root only where hard drive space is limited.
If total space less than about 30GB just use / not separate /home or standard install.
1. 10-25 GB Mountpoint / primary or logical beginning ext4(or ext3)
2. all but 2 GB Mountpoint /home logical beginning ext4(or ext3)
3. 2 GB Mountpoint swap logical

Depending on how much memory you have you may not absolutely need swap but having some is still recommended. I do not hibernate (boots fast enough for me) but if hibernating then you need swap equal to RAM in GiB not GB. And if dual booting with windows a shared NTFS partition is also recommended. But you usually cannot create that as part of the install, just leave some space. Or partition in advance (recommended).
One advantage of partitioning in advance is that the installer will use the swap space to speed up the install. Thanks Herman for the tip.
suggested partitions for just Ubuntu on 3TB drive.
Another advanced suggestion from TheFu with Multiple / (root) - Post #5 similar to what I actually do

December 26th, 2013, 10:34 PM
That's an awful lot to understand and digest (and do). I'd be happy if I could install grub on a usb stick and use that when I wanted to boot into ubuntu, and leave it out the very infrequent times I'd want to boot into windows. Everything I've found so far on that subject seems to assume I'd be loading linux from the USB.

December 26th, 2013, 10:44 PM
If you do not want to update system and only add a few applications you can run the install with persistence. You cannot change the installer or default boot, but persistence lets you save some info.
Or you can do a full install to one USB flash drive to another flash drive.

Pros & cons of persistence install over direct install to flashdrives - C.S.Cameron

December 27th, 2013, 05:14 PM
What about using elilo "Bootloader for systems using EFI-based firmware"?

December 27th, 2013, 08:23 PM
As I understand elilo is just another boot loader like grub. I think it was an earlier boot loader that worked with UEFI before grub worked with UEFI.

I have tried installing DUET which is a UEFI boot loader for Windows even though I do not have Windows. I just wanted to try it. I did get it to install to my flash drive and start to load, but version from rodsbook script is not the newest and did not work with Ubuntu, and it looks like it has not been updated since so many new systems now have UEFI. So not much need anymore.

Duet - UEFI for BIOS:

December 27th, 2013, 10:52 PM
Thanks for your replies and have a Happy New Year!