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 10-06-2012, 07:26 AM   #1
Admetus
LQ Newbie
 
Registered: Jan 2011
Location: China
Posts: 10

Rep: Reputation: 0
How to ensure an SSD drive's compatibility with both GPT-BIOS and EFI motherboards


First the context. I'm intending to install arch linux on a 120Gb SSD. My foremost concern is to ensure maximal compatibility with various computers as I travel from job to job overseas, therefore booting the SSD in a different PC without trouble is crucial (migrating the SSD to a new motherboard and set of devices). As well as the booting, the arch wiki has detailed what one can do to improve performance of SSDs, but without indicating what modifications have the greatest priority. It has convinced me that the I/O scheduler should be changed, the alternatives I have mentioned in the last section.

Booting

The installation will leave me a choice between MBR and GPT partitioning. In the case of GPT, a 2MiB boot partition needs to be prepared for grub2 to ensure BIOS compatibility. I lean towards GPT but it's worth noting that the number of partitions I will prepare on my SSD will not exceed the capacity of the logical drives available on MBR, so please inform me if it's otherwise not worth the hassle.

If I do use GPT, I would have a 2MiB grub-bios partition. Now, what happens if I move my SSD to an EFI motherboard? The installation guide suggests a grub-efi partition of the same 2MiB size.

How do I ensure my SSD (GPT partitioned) works on both a BIOS and EFI motherboard? Should I have two separate 2MiB boot partitions? Or can one 2MiB boot partition be converted between the two? (with efi alternatively mounted on /mnt/boot/efi)

Compatibility (open for discussion)

What problems may I face when I boot arch linux with a different architecture and set of devices?

SSD management

It may be best for me to change to NOOP or Deadline I/O schedulers, prior to which I want to ask which is the best and most friendly for novices?

What other modifications might you recommend for the management of the SSD? I have noted reducing swappiness if physical memory is above 2GB. Any more suggestions of what I should do to increase performance and lifetime of the disk?


Thankyou for your help!
 
Old 10-16-2012, 03:46 AM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

In a prior post another member made it clear that he choose GPT over MBR but in his case he was working with a 1TB drive not an ssd.

From the research I did on UEFI and EFI I'll share what I know and hope it helps.

The bootloader must be compiled for the architecture correctly.
Since each OS can maintain it's own files within the EFI Sys Partition w/o affecting the other multibooting using EFI is a matter of launching a different UEFT application corresponding to the particular OS's bootloader.

For the sake of Windows UEFI booting, the Linux bootloader should also be installed in UEFI-GPT Mode if booting from the same disk.

For Linux to access UEFI Runtime Services the Firmware Processor architecture and the Linux Kernel processor must match. It is independent of the bootloader used. If not you will get Kernel Panic!
It's recommended to use kernel 3.0 or higher
http://fedoraproject.org/wiki/Features/EFI
http://www.zdnet.com/blog/open-sourc...d-fedora/11187

The Linux Foundation made a PDF for this secure boot and how to implement it:
http://www.linuxfoundation.org/publi...open-platforms

This article may help you.
http://www.tomshardware.com/forum/26...ard-compatible

I'm not sure what will happen if you move your ssd to an efi motherboard but it should recognize the architecture that you are mounting.( you may have to make adjustments in the BIOS) The Linuxfoundation article said:
You would have to extract the OS vendors key exchange key and install it to the database. Also lock down a secure boot using a platform key and a key exchange key to generate signed binaries.
This tool would be activated by the UEFI System as soon as it saw the un-autherised media inseerted so the platform owner (you) could decide wheter they wished to accept the key for OS install and boot.

Sounds like it could get intresting to say the least.

I'm not the expert here but I've shared with you my research; hope it helped-

Last edited by Ztcoracat; 10-16-2012 at 04:05 AM. Reason: Spelling
 
Old 10-16-2012, 04:17 AM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
These articles are helpful as well:
"SSD Optimization Tweaks to Increase SSD Performance"
http://www.auslogics.com/en/articles...d-performance/

"The SSD Optimization Guide Redesigned"
http://thessdreview.com/ssd-guides/o...ation-guide-2/

"Understanding SSD And It's Implications"
http://thessdreview.com/ssd-guides/b...acturers-bluff

Good luck
 
  


Reply

Tags
arch, boot, efi, gpt, ssd



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
EFI main GPT overwritten everytime (when windows 7 runs) - structure of EFI masuch Linux - Newbie 2 07-20-2012 02:49 PM
Distro that can install with GPT/EFI BeaverusIV Linux - Distributions 4 08-22-2011 07:04 AM
The same problem; GPT partition id and EFI issue in server during installation neonate Linux - Server 1 04-18-2011 02:19 AM
Disk Partitions for dual boot with Windows 7 GPT/EFI motiv8d1 Linux - General 2 01-10-2011 06:22 PM
how to format an EFI partition on a GPT partitioned HD nfolken Linux - Laptop and Netbook 2 01-28-2010 08:59 AM

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

All times are GMT -5. The time now is 01:50 PM.

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