LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-04-2014, 09:54 AM   #1
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Replacing a "legacy" boot computer with a UEFI PC


I'm replacing my 8 year old PC - and I don't understand this GPT/UEFI stuff!
I'd like to keep MBR on my new PC - is this possible?
It has a ASUSŪ M5A97 LE R2.0 motherboard...

I want to keep my /home partition unchanged - although I'm prepared to reinstall my OS (LMDE) as all the hardware will be changed.

Any help - especially on how to alter the BIOS would be much appreciated.
 
Old 11-04-2014, 10:13 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,149

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
If your disk is larger than 2 TB or is 4KN format then you need to use a GPT disk label. If it is smaller and uses 512 or 512e (ugh!) format then you can stay with msdos. This is partly independent of whether you boot using BIOS or EFI. Also, most EFI systems have a compatibility mode to support legacy option ROMs or a BIOS bootloader. BIOS is dying. It's a good time to switch.
 
2 members found this post helpful.
Old 11-04-2014, 10:50 AM   #3
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Original Poster
Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
The disk is only(!) 1TB - however the hardware cluster size is 4KB - but the "logical cluster size" is only 512 bytes. My partitions are positioned at 4KB boundaries (for efficiency).

So the old system didn't need to mess with GPT (the last BIOS update claims to be in 2006).

I suppose I can reluctantly go for this EFI thing - I can take a full file level backup of my disk.

Must remember to disable the Windows only "secure boot" thing.

Last edited by JeremyBoden; 11-04-2014 at 10:58 AM.
 
Old 11-04-2014, 11:07 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,540

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
I don't use LMDE so I'm not sure about it but you should have an option when installing to use UEFI/GPT or an MBR install. You can use GPT partitioning with a standard MBR install which requires creating a separate BIOS boot partition. Might check the LMDE site for info.
 
1 members found this post helpful.
Old 11-04-2014, 12:04 PM   #5
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Original Poster
Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
LMDE is currently Debian(stable+test) + Cinnamon(Mint).
I'll investigate further in the Mint forums.

Am I correct in saying that conversion of a MBR disk to GPT requires deletion of all DOS partitions and consequent loss of all data?

Do additional (non-bootable) 1TB disks need to be converted to GPT/UEFI mode?
Are there problems in booting from MBR sources such as DVD or USB?
 
Old 11-04-2014, 03:09 PM   #6
bstaletic
Member
 
Registered: Apr 2014
Distribution: Arch
Posts: 39

Rep: Reputation: Disabled
If you enable in BIOS booting both UEFI and legacy booting removable media won't be a problem.

As for installing, UEFI needs efi boot partition. That is actually FAT32 boot partition with ef00 partition type, and using a GPT partition table. I can't provide further information regarding LMDE as I use arch.

I'm not completely sure, but I think gdisk can convert from MBR to GPT without data loss. For making GPT partitions you need to use compatible tools (for example gdisk instead of fdisk).
 
1 members found this post helpful.
Old 11-04-2014, 04:29 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,540

Rep: Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496Reputation: 2496
You can use GPT with BIOS or non EFI, see the Grub Manual page below:

https://www.gnu.org/software/grub/ma...tallation.html

Quote:
Am I correct in saying that conversion of a MBR disk to GPT requires deletion of all DOS partitions and consequent loss of all data?
The post below here at LQ might help to answer that.

http://www.linuxquestions.org/questi...ss-4175498257/


Quote:
Are there problems in booting from MBR sources such as DVD or USB?
Booting from a DVD or usb drive is controlled by the BIOS setting and does not have anything to do with your hard disk partitioning method.
 
1 members found this post helpful.
Old 11-05-2014, 06:47 AM   #8
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Original Poster
Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
That last link is especially useful.
I'm just going to have to wait until the PC arrives and fight with the setup program (AKA the BIOS).

I'll report back...
 
Old 11-05-2014, 08:45 AM   #9
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
You can convert an MBR to GPT without loss of data. Read http://www.rodsbooks.com/ and install gptdisk. Read everything there again, then read this website and you should be able to get your new computer working. As smallpond said, BIOS and MBR are dying, and you'll have to learn UEFI sooner or later, so it might as well be sooner.

Last edited by sgosnell; 11-05-2014 at 08:47 AM.
 
1 members found this post helpful.
Old 11-05-2014, 03:34 PM   #10
JeremyBoden
Senior Member
 
Registered: Nov 2011
Location: London, UK
Distribution: Debian
Posts: 1,947

Original Poster
Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
I will (reluctantly) do this.
For only one OS and disks with 4K cluster sizes (and smaller than 16TB), MBR works just fine.

If I need lots of resizeable partitions, LVM is a much better way to go than using GPT/UEFI.
 
  


Reply

Tags
gpt, uefi



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] Stop bash from replacing "~" with "/home/username" when TAB is pressed dedec0 Linux - Software 3 06-04-2015 01:24 PM
LXer: Will your computer's "Secure Boot" turn out to be "Restricted Boot"? LXer Syndicated Linux News 0 10-17-2011 09:00 PM
How to stop bash from replacing "~/" with "/home/username"? daihard Linux - Software 8 08-22-2010 02:32 PM
Replacing "function(x)" with "x" using sed/awk/smth Griffon26 Linux - General 3 11-22-2006 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:31 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