DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
Upgrade Wheezy to EUFI boot
This weekend I will install a couple of new computers as a replacement for old desktops. The old ones run Wheezy, the new one should run Wheezy as well.
What I usually would do is partition the new disks, rsync over the complete disk contents, chroot into the root directory and install grub. That works, but then I am still using the BIOS.
But I would like to switch to UEFI as this is apparently where we are heading into.
So, what should be the correct approach?
Move the complete Wheezy installation in the old way, make it bootable from BIOS and then convert to UEFI? Is that possible at all? When I google I only see explanations of how to use UEFI on a new install. And then most articles are 1-2 years old, and show limitiations which should have been solved now. Any pointers?
Make a new Wheezy install on UEFI, install the packages with dselect, copy the /etc and /home directories?
Use a live USB, partition GPT, rsync over the complete installation as in scenario #1, but how to I make the disk bootable? Certainly not with installing Grub in the MBR! Any pointers?
why your machines turn off the the nonsence your the admin make it work. if you want to create a new installer ok go do it. Do it the micro soft way. create your UEFI kernel create your UEFI partiton and do it. copy paste have fun.
Little hint look at what they are using now. http://www.youtube.com/watch?v=DLlOd-a2wG0
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628
Rep:
EFI, without the U, has been around for a long time now on servers. The U part was forced in by MS so that they would not have to correct their crappy boot sector to not be a massive security hole.
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Original Poster
Rep:
Quote:
Originally Posted by widget
EFI, without the U, has been around for a long time now on servers. The U part was forced in by MS so that they would not have to correct their crappy boot sector to not be a massive security hole.
Although I agree with you that Microsoft and security or software quality are two widely distinct concepts, according to this article: https://www.happyassassin.net/2014/0...lly-work-then/ UEFI optionally can enable secure boot. It doesn't say M$ caused the "U" to be added. It says M$ uses it and requires it if hardware vendors want to get a M$ approval. Or is the article wrong on that point?
Thinking along that lines, UEFI calls for a FAT partiton. And you know who specified FAT?
Sounds viable. It was what I wrote as option #3, but you answered the question as how to convert those partitions to EFI.
However, while I was browsing LQ I was waiting for the new machine to complete installation. Eventually I choose for option #2. Created a Debian Jesse netinstaller and installed EFI natively from within the Debian installer. That was easy, straightforward and succesful. Just regular guided install.
I tried it with Wheezy first and that failed. Which was probably my own mistake because I did not disable UEFI secure boot. And I did not understand the error message. Now I am still not sure if Wheezy can do it.
In fact the hardest part was to disable the secure boot. I have Asus H81T mainboards and for the life of it I couldn't find how to disable secure boot or enable addition UEFI boot devices. Well, it turned out that you have to enter Advanced Setup -> Boot -> Security, but to find that you have to scroll down on the Advanced Setup -> Boot screen. I am just not used yet to GUI firmware screens!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.