LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-24-2014, 12:11 PM   #1
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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?
  1. 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?
  2. Make a new Wheezy install on UEFI, install the packages with dselect, copy the /etc and /home directories?
  3. 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?

jlinkels
 
Old 10-25-2014, 08:04 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
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

https://wiki.debian.org/GrubEFIReinstall

Last edited by Drakeo; 10-25-2014 at 08:09 AM.
 
Old 10-25-2014, 09:50 AM   #3
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Quote:
Originally Posted by Drakeo View Post
why your machines turn off the the nonsence your the admin make it work.
Is this English?
Quote:
Originally Posted by Drakeo View Post
if you want to create a new installer ok go do it. Do it the micro soft way.
What has Microsift to do with UEFI except they use the secure boot feature?
Quote:
Originally Posted by Drakeo View Post
create your UEFI kernel create your UEFI partiton and do it. copy paste have fun.
Create a UEFI kernel? That is quite new that I should create a kernel. And then copy paste it? Hmmm
Quote:
Originally Posted by Drakeo View Post
This is a useful link. Thanks.

And for the rest I think this is a pretty incoherent answer, not worthy for a long time member like you.

jlinkels
 
Old 10-25-2014, 02:28 PM   #4
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
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.
 
Old 10-25-2014, 10:00 PM   #5
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Quote:
Originally Posted by widget View Post
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?

jlinkels
 
Old 10-26-2014, 03:40 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Can't you just move the existing partitions to gfi partition & chroot for efi & grub.
http://tanguy.ortolo.eu/blog/article51/debian-efi
 
Old 10-26-2014, 04:37 PM   #7
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Quote:
Originally Posted by EDDY1 View Post
Can't you just move the existing partitions to gfi partition & chroot for efi & grub.
http://tanguy.ortolo.eu/blog/article51/debian-efi
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!

jlinkels

Last edited by jlinkels; 10-26-2014 at 04:38 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Now I've done it - Debian dual boot (Sid, Wheezy) grub overwritten, lost Wheezy? ShaneRoach Debian 23 02-02-2014 02:28 PM
X fails - seems linked to AMD64Trinity / EUFI tallywhacker Linux - General 1 01-25-2013 03:36 PM
[SOLVED] how to upgrade from sqeeze to wheezy? pikerSHC Debian 6 07-19-2012 12:56 PM
[SOLVED] Debian wheezy: apt-get upgrade does not upgrade llvm to 2.8 odin_ago Linux - Software 2 11-12-2011 05:01 PM
[SOLVED] wheezy nfs upgrade radiodee1 Debian 11 04-11-2011 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration