Dual boot windows 8 and linux distros in UEFI, secure boot … succeeded

Dual boot windows 8 and linux distros in UEFI, secure boot … succeeded

This is an update of my previous post.

A detailed video tutorial is now available in YouTube.

Advertisements

Dual boot windows 8 and linux distros in UEFI, secure boot … issues

Warning: Back-up your windows 8 personal data before doing any dual boot attempts.

Re-pressing from my another blog.

This is the details of my attempts to install linux distros to dual boot with my newly bought Sony Viao SVS1312 series Windows 8 preloaded laptop.. (No success until June 2013, and my windows 8 had to be reinstalled)

The laptop is 64 bit which has an UEFI boot loader and secure boot from microsoft, which hinders installation of any other OS in the laptop (unless it contain the secure key authenticated by microsoft!).

From the linux distro forums, it is clear that Redhat and Ubuntu obtained the secure key and is able to install in any microsoft OS preloaded computer with secureboot option. Normally latest Fedora and Ubuntu, Kubuntu, Edubuntu 13.10 onwards comes with secure boot enabled key.

!! For any linux distro CD/DVD to boot, make sure (Find ways to reach your bios settings menu. ‘Assist’ button in case of Sony Viao laptops).
– that you enabled the boot using external drives
– make the optical drive prior to internal hard disk.

Trial 1:
– Used ubuntu 12.04, linux mint.
– Demo modes worked well in both cases.
– Warning! No ubuntu distros older than 13.10 (and latest fedore 18) have the secureboot key.

– Installation with secure boot, UEFI disabled.
Result
= Won’t see windows 8 anymore, though it is there. Will not boot since UEFI disabled

– UEFI, secureboot enabled
Result
= Will directly load windows 8.
= Linux not detected as the secureboot enabled.

– UEFI enabled, secureboot disabled
Result
= Will try to load windows 8 but shows an error message (because secureboot settings).

-Disabled UEFI and secureboot to load Ubuntu and used Boot-Repair.
! Boot-Repair could not fix the problem as promised in many forums. It says the EFI partition is locked or something similar.

Trial 2:
– Used edubuntu 12.10 for 64 bit (supposed to have the secureboot key within)
– Both UEFI and secureboot disabled.
– Demo desktop worked well. This is necessary if you have a wifi internet connection. Installation without internet is also possible.
– Used install button on the desktop.
– Installation stopped abruptly at the end when checking ‘grub boot loader dummy’.
– It tries to make a log file about the error and send to the developers website, but the internet connection breaks and file is not sent.

– Later also tried with UEFI enabled, secureboot disabled

Trial 3:
– Used Ubuntu 13.04 for 64 bit (also with secureboot key)
– Could boot with the DVD with UEFI, secureboot enabled!
– Crashed a few times similar to Trial 2, while installing. Same error.
– Third time the installation showed successful.

– While booting, GRUB menu showed with both Ubuntu and Windows 8 partitions.
– Ubuntu works fine if UEFI enabled, secureboot disabled.
– BUT no success with Windows 8. If opted, it shows EFI partition not found.

– Again tried Boot-Repair. But it could not fix the issue.

– Later when secureboot enabled, Windows 8 crashed completely.
– Tried all options in system recovery mode using Windows 8, no success.
– Tried fixing using command prompt. Could see all the volumes.
! No letter assigned to the EFI boot loader.
! You can assign a letter. But no further success.
! There is a directory named ‘ubuntu’ in the EFI partition. There are 2 files within, with strange names and hence could not delete even using force.
!!System screwed!!
!! Finally had to take it to the shop where I bought.

Note: Those who have Windows 8 laptops. Please make a bootable DVD from your system. The service centre said they will charge 60-70€ if you did not make one!!
Update June 2013:

Received the laptop after a complete re-installation. They could not retrieve anything.
Luckily I did not put many data as it was new.

Recommendation: Stick to non-UEFI laptops if you want to make it dual-boot with Linux distros. Or wait until the Linux geeks fix these bugs. Go to Ubuntu forums to know the success stories in some cases.

I will try once again and update.

Making of Tux

The last thing I learned in 2008 was the making of a 3D Tux image. You too can find a beautiful tutorial at the <crystalxp.net>. There is tutorial for the photoshop as well as for the GIMP. But the GIMP tutorial is in French.

I made it with GIMP (but I don’t know French 🙂 ).

Here is the final thing I made. This need many modifications. Comments invited.

Tux image using Gimp

Tux image using Gimp

gOS

g 4 Good…

Its free.. No need to crack the Microsoft…

hi guys, just surf through the official site of the newly launched OS(linux based) the ‘gOS’..

http://www.thinkgos.com/

This OS is very much intended to internet geeks..

Just try those who can n comment.. me too will be using this in the near future, but I need to know the minimum system requirements.

Installing IRAF on Suse

favicon11.png

= IRAF Setup on Suse Enterprise Linux 10 =

This is for beginners who stuck with IRAF installation on their Suse. It should work well with all Suse editions. But my experience was with Suse Linux Enterprise Desktop 10.1.

This page describes how to setup IRAF on a 32-bit Suse LED 10 machine. (In my case, it

was done on a machine with MSI MB and pentium AMD Athlon 64 bit processor.


Installation of X11IRAF, DS9, Tables, and STSDAS are also included.
It will be easiest if you just copy-paste the instructions one by one.
Please be sure to read and implement the instructions in [[brackets]] as well.

Note:The following method was taken from http://www.astro.ru.nl/~wilberth/?main=iraf.html

and made some minor changes which came in my experience.

You must have super user previlege in order to do the following operations.

—————————————————————————————————————————

=START=

Make directories:

sudo mkdir /iraf
sudo chgrp root /iraf
[['root' is in my case. add instead what is your username. Normally It should work with 'root'.]]
sudo chown $USER /iraf 
[['USER' means whatever is your username.]]

mkdir /iraf/tar
mkdir /iraf/iraf
mkdir /iraf/irafbin
mkdir /iraf/irafbin/bin.suse
mkdir /iraf/irafbin/noao.bin.suse

cd /iraf/tar
# all sources (generic stuff)
wget http://iraf.noao.edu/iraf/ftp/iraf/v212/PCIX/as.pcix.gen.gz
# iraf binaries
wget http://iraf.noao.edu/iraf/ftp/iraf/v212/PCIX/ib.suse.x86.gz
# noao binaries
wget http://iraf.noao.edu/iraf/ftp/iraf/v212/PCIX/nb.suse.x86.gz
install:
cd /iraf/iraf
tar xfzp /iraf/tar/as.pcix.gen.gz
cd /iraf/irafbin/bin.suse
tar xfzp /iraf/tar/ib.suse.x86.gz
cd /iraf/irafbin/noao.bin.suse
tar xfzp /iraf/tar/nb.suse.x86.gz

Now basic functionality is available. But you probably want more…

Download and install extra’s:

cd /iraf/tar
ecl (replaces cl):

This thing uses termcap. Use ‘sudo yast -i’ to install it.

wget http://iraf.noao.edu/iraf/ftp/pub/ecl_install_linux.csh
sudo ecl_install_linux.csh
x11iraf (xgterm):
mkdir x11iraf
cd x11iraf
wget http://iraf.noao.edu/iraf/ftp/iraf/x11iraf/x11iraf-v1.3.1-bin.suse.tar.gz
tar xfz x11iraf-v1.3.1-bin.suse.tar.gz
sudo ./install
ds9:
wget http://hea-www.harvard.edu/saord/download/ds9/linux/ds9.linux.4.13.tar.gz
tar xfz ds9.linux.4.13.tar.gz
sudo cp ds9 /usr/local/bin
x11iraf (xgterm):
mkdir x11iraf
cd x11iraf
wget http://iraf.noao.edu/iraf/ftp/iraf/x11iraf/x11iraf-v1.3.1-bin.suse.tar.gz
tar xfz x11iraf-v1.3.1-bin.suse.tar.gz
sudo ./install
Settings Usable for all users:
sudo tcsh
cd /iraf/iraf/unix/hlib
setenv iraf /iraf/iraf/
chmod 755 irafuser.csh
source ./irafuser.csh
./install
exit
Change the ownership to iraf:
sudo chown -R /iraf . # change dir owner
cd $hbin # go to HSI bin dir
sudo chown 0 alloc.e # fix alloc.e ownership
sudo chmod 4755 alloc.e # fix permissions

[[Each User should give the command ‘mkiraf‘ the first time when they are using iraf.
Then give xgterm as an option for the choices. Then it will create a login file ‘login.cl/ecl
and ‘uparm‘ directory.]]
——————————————————————————————————————–
=END=

Installing IRAF on Ubuntu/debain

favicon11.png

= IRAF Setup on Ubuntu/Debian =

This is for beginners who stuck with IRAF installation on their ubuntu. It should work well with all debian packages.

This page describes how to setup IRAF on a 32-bit Ubuntu/Debian machine. (In my case, it was done on an IBM machine with intel MB and pentium 4 processor. For 64-bit platform, you only need to make a minor modification in the commands which is given along with.


Installation of X11IRAF, DS9, Tables, and STSDAS are also included.
It will be easiest if you just copy-paste the instructions one by one.
Please be sure to read and implement the instructions in [[brackets]] as well.

Important:It works well with ubuntu 6.06 dapper and above. For people using ubuntu 5.10 breezy or less, may upgrade it first to 6.06 or above, since 5.10 if apt-get update does not work (or could not do sudo apt-get install tcsh). You can find, ‘How to upgrade from Ubuntu 5 to 6’ here…. The following method was taken from http://geco.phys.columbia.edu/~rubab/irafand made some minor changes which came in my experience.

You must have super user previlege in order to do the following operations.
——————————————————————————————————————————–

=START=

sudo apt-get install tcsh

wget http://geco.phys.columbia.edu/~rubab/iraf/ldso_1.9.11-15_i386.deb

sudo dpkg -i ldso_1.9.11-15_i386.deb

wget http://geco.phys.columbia.edu/~rubab/iraf/libc5_5.4.46-15_i386.deb

sudo dpkg -i libc5_5.4.46-15_i386.deb

wget http://geco.phys.columbia.edu/~rubab/iraf/termcap-compat_1.2.3_i386.deb

sudo dpkg -i termcap-compat_1.2.3_i386.deb

[[For 64-bit platforms, change the ‘sudo dpkg -i ‘ command wherever it appears with ‘sudo dpkg –force-architecture -i ‘. Everything else is the same.]]

[[Use System>Users and Groups to create an account with username “iraf”,
real name “IRAF Maintenance”, home directory “/iraf/iraf/local”, shell “/bin/tcsh”, and a secure password. For sudo commands here on, use this password. Also in the ‘porperties’ tab, take the ‘User privileges’ tab and tick the box – ‘Executing System Administration Tasks’. This is only for installation purpose. You should remove the tick after successful installation.]]

sudo chown -R iraf:iraf /iraf

cd

su iraf

mkdir /iraf/irafbin

mkdir /iraf/irafbin/bin.linux

mkdir /iraf/irafbin/noao.bin.linux

mkdir /iraf/x11iraf

mkdir /iraf/extern

cd /iraf/iraf

wget http://iraf.net/ftp/iraf/V2.13-BETA/as.pcix.gen.gz

tar -zxf as.pcix.gen.gz

rm as.pcix.gen.gz

cd /iraf/iraf/unix/bin.redhat/

mv * ../bin.linux/

cd /iraf/irafbin/bin.linux

wget http://iraf.net/ftp/iraf/V2.13-BETA/ib.rhux.x86.gz

tar -zxpf ib.rhux.x86.gz

rm ib.rhux.x86.gz

cd /iraf/irafbin/noao.bin.linux

wget http://iraf.net/ftp/iraf/V2.13-BETA/nb.rhux.x86.gz

tar -zxpf nb.rhux.x86.gz

rm nb.rhux.x86.gz

setenv iraf /iraf/iraf/

cd $iraf/unix/hlib

source irafuser.csh

[[Choose default paths as will be shown in on-screen prompt parentheses. Give ‘n’ when it asks ‘configure IRAF Networking on this machine? (yes): ‘ if you don’t need it. Me too is not an expert on it.]]


sudo ./install

sudo apt-get install libncurses4

cd /iraf/x11iraf/

wget http://iraf.noao.edu/iraf/ftp/iraf/x11iraf/x11iraf-v1.3.1-bin.redhat.tar.gz

tar -zxf x11iraf-v1.3.1-bin.redhat.tar.gz

mv lib.redhat lib.linux

mv bin.redhat bin.linux

sudo ./install

rm x11iraf-v1.3.1-bin.redhat.tar.gz

wget http://hea-www.harvard.edu/saord/download/ds9/linux/ds9.linux.5.0.tar.gz

tar -zxf ds9.linux.5.0.tar.gz

rm ds9.linux.5.0.tar.gz

sudo mv ds9 /usr/local/bin/

cd /iraf/extern/

mkdir tables stsdas

cd /iraf/extern/tables/

wget ftp://ftp.stsci.edu/pub/software/stsdas/tables_v3.7/source/tables37.tar.gz

tar -zxf tables37.tar.gz

rm tables37.tar.gz

cd bin.linux/

wget ftp://ftp.stsci.edu/pub/software/stsdas/tables_v3.7/binaries/tables37.bin.redhat.tar.gz

tar -zxf tables37.bin.redhat.tar.gz

rm tables37.bin.redhat.tar.gz

cd /iraf/extern/stsdas

wget ftp://ftp.stsci.edu/pub/software/stsdas/stsdas_v3.7/source/stsdas37.tar.gz

tar -zxf stsdas37.tar.gz

rm stsdas37.tar.gz

cd bin.linux

wget ftp://ftp.stsci.edu/pub/software/stsdas/stsdas_v3.7/binaries/stsdas37.bin.redhat.tar.gz

tar -zxf stsdas37.bin.redhat.tar.gz

rm stsdas37.bin.redhat.tar.gz

cd /iraf/extern/stsdas

python python/compileall.py ./python

python python/compileall.py ./python/*

exit

cd

wget http://geco.phys.columbia.edu/~rubab/iraf/iraf

sudo chmod u=rwx iraf

mkdir ~/IRAF

cd ~/IRAF

mkiraf

[[Select “xgterm” as your IRAF shell when prompted.]]


————————————————————


The command ./iraf will now launch a complete IRAF session containing DS9,
xgterm and ecl, based in ~/IRAF. Alternately, type “ecl” for enhanced IRAF, “cl”
for regular IRAF, and “ds9” for standalone DS9 launch. Please note that “tables”
and “stsdas” can only be used within IRAF.

Repeat the last 5 steps for each user as needed.

= END =