annnomius
February 5th, 2013, 07:46 AM
i will describe in this post how i created a dual boot installation of windows 8 pro and ubuntu 12.10 x64 on the asus zenbook prime, model ux31a. i am posting this in the hope that it might be useful for someone else trying to do the same, or maybe provide some ideas for people stuck trying to make a similar dual boot system.
i started with a ux31a that had win7 and ubuntu and bought the win8 upgrade package. i downloaded win8 pro onto a usb stick--here i had to use unetbootin to create a bootable usb stick because the ubuntu startup disk creator does not properly deal with udf files! :mad:
also, before installing, i updated the bios version to 216 (most current version). this was easy to do by just putting the bios file on another flash drive, then booting into the bios and updating from there :p
anyway, once i had a bootable win8 pro installer on the usb stick i did the following:
1. boot from usb stick (through uefi menu--press and hold esc key on startup)
2. choose custom install
3. delete all drive partitions (make sure you have backed up files already!!)
4. create a new partition for win8 (i chose 100gb because i wanted more than 1/2 for ubuntu). this automatically created 4 partitions:
partition 1 is the windows recovery partition (300mb)
partition 2 is the windows system (100mb)
partition 3 is msr (reserved) (128mb)
partition 4 is primary (97.1gb)--the main windows partition
remainder of the disk (about 150gb) was left unpartitioned (to be used later for ubuntu)
5. choose partition 4 for the install
after the windows install, i took a usb stick with ubuntu 12.10 64 bit, secure edition for the ubuntu installation. according to other posts, the secure edition is not necessary (just a 64 bit 12.10 should work), but this is what i used.
initially, i could not boot from the usb stick and had a panic attack :eek:
there is no option to turn off secure boot or fast boot in the bios (at least version 216) so i thought i was stuck with only win8 permanently on the machine :evil:
the trick here was step 6:
6. in windows 8, open the control panel, choose system & security-->power options-->choose what the power buttons do-->change settings that are currently unavailable-->deselect "turn on fast startup". after this i was able to boot off a usb stick again. interestingly, i could not boot off a usb stick after restarting win8, i could only boot from the usb stick from a cold boot (then pressing esc key to get to uefi boot menu).
7. boot from usb stick and choose custom install for ubuntu.
8. leave 1st 4 partitions alone (should be /dev/sda1=ntfs, sda2=efi, sda3=unknown, sda4=ntfs) and create /dev/sda5 as /, ext4, 145gb. create /dev/sda6 as swap, 2gb. you might choose different partition options for ubuntu here.
9. put bootloader installation on /dev/sda5.
i don't bother to use grub for booting windows--that is what uefi is for! i have setup the boot order in the uefi (bios) menu to boot the ubuntu partition first. if i want to boot into windows, all i have to do is hit esc at bootup and choose the windows partition. i think this is far easier than having grub try to manage the windows boot process.
i hope this helps others setup similar systems or avoid similar problems
::ann
i started with a ux31a that had win7 and ubuntu and bought the win8 upgrade package. i downloaded win8 pro onto a usb stick--here i had to use unetbootin to create a bootable usb stick because the ubuntu startup disk creator does not properly deal with udf files! :mad:
also, before installing, i updated the bios version to 216 (most current version). this was easy to do by just putting the bios file on another flash drive, then booting into the bios and updating from there :p
anyway, once i had a bootable win8 pro installer on the usb stick i did the following:
1. boot from usb stick (through uefi menu--press and hold esc key on startup)
2. choose custom install
3. delete all drive partitions (make sure you have backed up files already!!)
4. create a new partition for win8 (i chose 100gb because i wanted more than 1/2 for ubuntu). this automatically created 4 partitions:
partition 1 is the windows recovery partition (300mb)
partition 2 is the windows system (100mb)
partition 3 is msr (reserved) (128mb)
partition 4 is primary (97.1gb)--the main windows partition
remainder of the disk (about 150gb) was left unpartitioned (to be used later for ubuntu)
5. choose partition 4 for the install
after the windows install, i took a usb stick with ubuntu 12.10 64 bit, secure edition for the ubuntu installation. according to other posts, the secure edition is not necessary (just a 64 bit 12.10 should work), but this is what i used.
initially, i could not boot from the usb stick and had a panic attack :eek:
there is no option to turn off secure boot or fast boot in the bios (at least version 216) so i thought i was stuck with only win8 permanently on the machine :evil:
the trick here was step 6:
6. in windows 8, open the control panel, choose system & security-->power options-->choose what the power buttons do-->change settings that are currently unavailable-->deselect "turn on fast startup". after this i was able to boot off a usb stick again. interestingly, i could not boot off a usb stick after restarting win8, i could only boot from the usb stick from a cold boot (then pressing esc key to get to uefi boot menu).
7. boot from usb stick and choose custom install for ubuntu.
8. leave 1st 4 partitions alone (should be /dev/sda1=ntfs, sda2=efi, sda3=unknown, sda4=ntfs) and create /dev/sda5 as /, ext4, 145gb. create /dev/sda6 as swap, 2gb. you might choose different partition options for ubuntu here.
9. put bootloader installation on /dev/sda5.
i don't bother to use grub for booting windows--that is what uefi is for! i have setup the boot order in the uefi (bios) menu to boot the ubuntu partition first. if i want to boot into windows, all i have to do is hit esc at bootup and choose the windows partition. i think this is far easier than having grub try to manage the windows boot process.
i hope this helps others setup similar systems or avoid similar problems
::ann