0.089
@ kaotonik.nethomesthkpage152
thk thk Mon. 13 Mar. 2017 18:35 1 views
15 σκίτσα που σατιρίζουν την ανθρώπινη εξέλιξη - Τι λες τώρα;
thk thk Sun. 12 Mar. 2017 0:56 82 views

windows shit machine

Got this laptop from a friend to install linux and windows.
Laptop is  new and has  a pentium quad core N4200, 4gb ram , 256 kingston ssd .
Came preinstalled with linpus linux lite that never booted , showing an error message about disks.
It took about 3-4 days and many hours ,  to finally install both OSes, make grub come first before windows boot manager, and finally solving the shutdown problem in linux .

To install Linux Kubuntu 16.10 and Windows 10 on Acer Aspire ES1-533-P9FW :

1. Bios


Press F2 to go into BIOS when the computer starts.
Set a supervisor password at security tab .You have to do this in order to disable secure boot.
After this at the Boot tab select Secure Boot and set to Disabled
At main tab enable F12 Boot Menu
Save And exit



2. OS INSTALL

The computer does not provide legacy bios and boot only in UEFI mode despite having linux preinstalled.

I have tried both ways ,  installing windows first and linux after ,  or as someone suggested Linux first and then windows 10.

I don't think that matters but on the latest successful install I installed Kubuntu 16.10 first.
When you install Windows 10 , a new option appears in the Boot Order in Bios called Windows Boot Manager.
Unfortunately when you install Linux the same does not happen.
Download Windows 10 and Kubuntu 16.10,  and burn the isos on usb , on windows,  with rufus   , choosing partition scheme GPT for UEFI.

Go into bios and in boot order bring up USB devices.
Reboot.

2.1 Linux install

If kubuntu 16.10 does not boot
reboot and press F12 to bring up boot menu,
, select  Linux (    ) from the menu and press enter.
Start Kubuntu in testing mode.
On the Kubuntu live session:

---Partitioning --
Run KDE partition manager from the live session and partition the drive ,
Recreate partition table , and
make an efi partition around 200 mb first,
then make ext4 partition for Linux ( I assigned 40 gb after the first Efi) ,
Swap partition (assigned 3gb) ,
data ntfs partition for windows and linux to share (assigned about 130gb),
and finally ntfs partition for windows 10 (assigned 60 gb) .
Press apply to wait partitioning to complete.
Close KDE partition manager.

Install Linux following this guide
Open a Konsole window and run

sudo ubiquity -b

so the setup does not install grub , and you will install grub later as described below.

1) Boot Ubuntu Live DVD/USB in testing mode and open terminal

2) Run installation process without installing bootloader by:

sudo ubiquity -b

3) Press Continue testing after installation is over.

4) Mount newly installed file system into /mnt:

sudo mount /dev/sda2 /mnt sudo mkdir /mnt/boot/efi sudo mount /dev/sda1 /mnt/boot/efi for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done 

(where sda2 is the root partition and sda1 is the efi partition)

5) Load efivars by:

sudo modprobe efivars 

6) Reinstall grub-install for a 64bit version

sudo apt-get install --reinstall grub-efi-amd64
sudo grub-install --no-nvram --root-directory=/mnt

7) Change root to /mnt and update grub

sudo chroot /mnt sudo update-grub 

8) Move and rename the installed bootloader

cd /boot/efi/EFI 
sudo cp -R ubuntu BOOT
cd BOOT
sudo cp grubx64.efi bootx64.efi

9) Reboot the system.

At this point grub is alone and should boot only linux without problem.


2.2  Install windows

Insert windows 10 usb , reboot , and install Windows 10 , at the partition you created before.

This goes with no problem .

After that turn off fast startup in windows , or do it with regedit :

Change:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power

HiberbootEnabled DWORD

0 = Turn off fast startup
1 = Turn on fast startup

Now on win 10 login screen at the bottom right corner where you  can shutdown , you will have 3 options instead of only 2 shutdown, restart that were shown before   .  Shutdown, Restart and sleep (as you understand before this shutdown meant sleep (!)) . Windows 10 boots fast because it tries to never shut down, and hibernate when you  choose to  shutdown . Another nice innovation from our friends at Microsoft.

Also I have to inform you that Windows 10 now features more and more  explanatory messages like : "Windows is getting ready" when it performs the windows update we all love.

After win 10 installation,  windows boot manager takes over and you can boot linux only by pressing F12  during boot which brings up the laptop  boot menu. If you reinstall grub or reinstall linux , grub will not take over. After win 10 installation "Wndows Boot Manager" appears as an option in boot order in bios. If you set it second after the hard disk, it will not solve the problem. ES1-533 sees linux if you press F12 boot menu key during boot , but I could not see it inside bios boot order. In linux you normally change the efi boot order with the efibootmgr -o command, but this command totally crashes and freezes the pc. I am very sure that this command is responsible for freezing the laptop during ubuntu installation , so I reported a bug .

So the only way to bring grub first was to use bcdedit from Windows 10 . Let's fool Windows:

From powershell opened as admin ,  run :

bcdedit /set '{bootmgr}' path \EFI\BOOT\bootx64.efi .

You may can't change the order of boot managers with bcdedit but you can change the .efi file path of windows boot manager so that it will point to the one we created while setting up linux  in step 1.

Reboot .

After this grub should come first , but it will not have windows boot option.

Start linux and do a

sudo update-grub

and it should see it.

Ensure the Hard Disk is before Windows boot manager in boot order in Bios .

If you press F12 during boot you should see 2 windows boot manager entries and one  linux .



3. Linux is not shutting down

The newest fashion in linux is that pc's are not shutting down.

You press  shutdown button in your desktop , pc reaches a state where it prints "Reached target shutdown" or "Reboot: power down" and it stucks there without powering off.

Saw that bug on 16.04 installation on an old Dell laptop with core duo, and the problem  was resolved by...   installing the wireless drivers..

I also saw that this bug has been posted as systemd bug and I came to a point where I believed I could not find a solution , at least for the time being as this pc is very new.

I tried to update the bios from windows and i did updating it to 0.8 from 0.4.

Procedure is very easy and I suggest you do it.

You go into acer website put the snid of your laptop and you download the bios update and run it from windows 10.

Then read an archlinux forum where someone suggested to take a look at kernel messages with dmesg.

Run dmesg and if you see a message:

Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug

edit /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="pci=nocrs"

and

sudo update-grub

This solved the problem

Now the pc is expected to shut down from linux instead of stucking in Reboot: Power off.

Last one is a world first from kaotonik.net and linux master thk.



VIVA LINUX - resist to  microsoft and UEFI !!


p.s.  if windows overwrites the boot manager after the update 

boot a usb mount /dev/sda1 partition as shown above and simply do in the mounted EFI parttion 




sudo cp EFI/ubuntu/grubx64.efi EFI/boot/bootx64.efi

as stated here https://unix.stackexchange.com/questions/565615/efi-boot-bootx64-efi-vs-efi-ubuntu-grubx64-efi-vs-boot-grub-x86-64-efi-grub-efi

EFI\boot\bootx64.efi: Fallback bootloader path
This is the only bootloader pathname that the UEFI firmware on 64-bit X86 systems will look for without any pre-existing NVRAM boot settings, so this is what you want to use on removable media.

thk thk Fri. 10 Mar. 2017 21:39 0 views
οριστε ποσο τριτοκοσμικη ειναι η ερτ...τωρα εχει στο δελτιο ειδησεων αφιερωμα στα ... ελικοπτερα της αστυνομιας .... και δεν εχει soundtrack αυτο https://www.youtube.com/watch?v=Fe4bKAE5dC0 E OXI
thk thk Fri. 10 Mar. 2017 18:23 0 views 1 comments
εχει και τοκαο bug στα comments.... Το αλλο το τελευταιο φρουτο με το λινουξ τελευταια που δεν κλειενι ο υπολογιστης, μπορει να μην εχεις εγκταστησει καποιο driver και να μη μπορει να κλεισει ο υπολογιστης...
from thk thk 2017-03-10 21:26
newest...... den mporei o kosmos na kleisei to pisi toy..ts ts ts.. http://askubuntu.com/questions/tagged/shutdown ;
thk thk Fri. 10 Mar. 2017 15:49 0 views
Εχετε παρατηρησει στο e-shop οτι υπαρχουν μονο θετικα σχολια και κριτικες για τα προϊοντα? Ε τα αρνητικα δεν τα αφηνουν , το ξερω γιατι τους εγραψα για το λαπτοπ που θα ετρεχε linux αλλά θα ναι σα να τρεχει windows (παϊσιος) αλλά το κοψανε.Ψαλιδι-ψαλιδι ολα καλα.
thk thk Thu. 9 Mar. 2017 0:54 0 views 9 comments
laptop me uefi και τελευταιας τεχνολογιας και γαμω τη μανα του , και γαμω τη microsoft..
from thk thk 2017-03-09 15:28
laptop Acer Aspire es 15 es1-533-p9fw me uefi , ενος φιλου , που του βαζω linux στα laptop του. Ηρθε με λειτουργικο συστημα απο τη μαμα του Linpus linux , στη σελιδα του e-shop αναφερεται με λειτουργικο συστημα linux , οποτε του λεω παρε αυτο που ειναι και τεσταρισμενο. Το linpus δεν μπουταρε ΠΟΤΕ.
 Windows 10 εβαλα .
linux το παλευω  κανα 8ωρο μεχρι στιγμης.Μπαινει αλλα δεν μπορει να bootarει με το UEFI..
Πως σας φαινεται?
from thk thk 2017-03-09 16:22
ΕΧΟΥΝΕ ΓΑΜΗΘΕΙ ΤΑ ΠΑΝΤΑ - ΔΕΝ ΜΠΟΡΕΙΣ ΝΑ ΕΜΠΙΣΤΕΥΘΕΙΣ ΤΙΠΟΤΑ
from thk thk 2017-03-09 16:35
Οταν βλεπεις οτι εχει linux απο τη μαμα του , περιμενεις να χει legacy bios...ΟΧΙΙΙΙΙΙΙ.... ΠΑντως να παιρνεις συσκευη που να λεει οτι εχει linux και να μη μπουταρει το linux και να μην εγκαθισταται το linux , και να μπαινουν τα windows......Θεωρω οτι ειχα δει πολλα μεχρι στιγμης στη πληροφορικη .. ΤΟ τελευταιο αυτο ομως , ειναι νουμερο 1 με διαφορα...
from thk thk 2017-03-09 17:05
Ειναι τρομερο πως ολοι γραφουν στα αρχιδια τους τα ανοικτα προτυπα, και δε τους επιβαλλεται ουτε μια κληση ,  πως προσπαθουν να σου κλεψουν ta data να σε εξαναγκασουν να αγορασεις κλειστο software , να βαλεις windows, η booking.com να σε εξαναγκασει να αγορασεις συστημα κρατησεων που να συνεργαζεται με αυτους , να σου λενε οτι τρεχει λινουξ και να μη τρεχει να να να να...
Τα χει γαμησει ολα ο καπιταλισμος των μεγαλων εταιρειων.
from thk thk 2017-03-09 17:50
Συμφωνα με την υποστηριξη της ACER που μολις μιλησα , στο laptop που ηρθε με linpus linux θα πρεπει να βαλουμε Windows 10. 
from thk thk 2017-03-09 22:54
Συγνωμη που γκρινιαζω εδω και σας νευριαζω για τα λινουξ μου
from cHARaKter cHARaKter 2017-03-11 11:18
φανταζομαι θα το εχεις δει αυτο ηδη
https://community.acer.com/t5/E-F-and-M-Series-Laptops/Acer-Aspire-ES-15-ES1-533-C3UW-Legacy-BIOS-Missing/td-p/471754/page/2

from cHARaKter cHARaKter 2017-03-11 11:37
thk wrote :
Συμφωνα με την υποστηριξη της ACER που μολις μιλησα , στο laptop που ηρθε με linpus linux θα πρεπει να βαλουμε Windows 10. 
Επιστροφή επι τόπου θέλει κανονικά... αλλα αντε βγάλε ακρη με τους μεσαζοντες
from cHARaKter cHARaKter 2017-03-11 11:42
uefi sucks bigtime!!! mi ksexniomaste kiolas
thk thk Wed. 8 Mar. 2017 12:47 0 views
don't use regular expression on html they said.Use something like BeautifulSoup they said...... back to regex.
thk thk Wed. 8 Mar. 2017 1:07 0 views
Ο Θεμος Ο Αναστασιαδης παιζει τα τελευταια του χρυσαυγιτικα χαρτια...
thk thk Wed. 8 Mar. 2017 0:08 0 views
Κοιταζω που ειναι τώρα η χιπστερομόδα με μούσι μουστάκι και λουκ εποχης 1900 και θυμηθηκα το ranxerox το κομικ μια σκηνη που ειναι σε φαση κατι πλουσιοι που ακουνε τον Ρανξ  μόδα αρχαιοι ρωμαιοι , ξαπλωμενοι σε ανακλιντρα ρωμαϊκα και έτσι .Εκει κάπου στον Ρανξ νομιζω συζηταγανε ποιο  revival ειχε εκεινη την χρονια κατι καλεσμενοι των παραπανω πλουσίων.
Φαντάζομαι αυτους που βγαζουν τις τασεις της μόδας να μαζευονται σε κανα σπιτι κανα διημερο να γινονται λιώμα και να σκαρφιζονται την επομενη φάρσα που θα σκαρωσουν στα θύματά τους ανά τον πλανήτη.
Και συμφωνα με τα παραπάνω με τον Ρανξ , αλλα και το πρωτο βημα χιπστερ νοσταλγια 1900 , μη παραξενευτείτε να δειτε και την μοδα να πηγαινει και πιο πίσω απο 1900 και να γινονται της μοδας τιποτε στολες Σουλιωτισσας για τις χρυσαυγιτισσες φασιον βικτιμς.
Λετε να προλαβουμε και παγκοσμιο revival Αρχαία Ρωμη?