LinuxQuestions.org
Visit Jeremy's Blog.
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 02-25-2017, 12:41 PM   #1
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 809
Blog Entries: 2

Rep: Reputation: 76
How to format a SSD for install of Debian8 (no parallel boot) and UEFI boot


I am already trying to install Debian8 on my new Thinkpad T560 http://www.linuxquestions.org/questi...73#post5675873 but lets start first with the SSD partitioning (1 step back): what partitioning should be done and lets do it correctly for having a long life time of the SSD. For the reason I am new with UEFI and SSD, any advise is welcome.
How should look the partitioning done with GPARTED in order to make a correct install of the Debian8? My guess
1. delete everything (already done.. Windows gone etc.).
2. create a MBR with the option GPT?
3. create a first partition ESP 200MB, boot flag?
4. create a second partition 12GB for Debian8 "/" with ext4
5. create a third swap partition 2GB (I have enough RAM; just in case it would go over the 4GB).
6. create a fourth partition (rest of the SSD size) for "home"
THANKS.
 
Old 02-25-2017, 02:13 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,663

Rep: Reputation: 118Reputation: 118
Quote:
Originally Posted by floppy_stuttgart View Post
I am already trying to install Debian8 on my new Thinkpad T560 http://www.linuxquestions.org/questi...73#post5675873 but lets start first with the SSD partitioning (1 step back): what partitioning should be done and lets do it correctly for having a long life time of the SSD. For the reason I am new with UEFI and SSD, any advise is welcome.
How should look the partitioning done with GPARTED in order to make a correct install of the Debian8? My guess
1. delete everything (already done.. Windows gone etc.).
2. create a MBR with the option GPT?
3. create a first partition ESP 200MB, boot flag?
4. create a second partition 12GB for Debian8 "/" with ext4
5. create a third swap partition 2GB (I have enough RAM; just in case it would go over the 4GB).
6. create a fourth partition (rest of the SSD size) for "home"
THANKS.
If I am remembering correctly from the install I did on my EFI sever machine. Firstly you need to use the boot menu the F12 key on my machine to boot the EFI: Debian Installer entry in that list not the standard MBR option it will allow you to do and you need to have been in the BIOS to have set it for EFI booting not to allow legacy or however it is named in yours. Then I went with the Expert Graphical install. Now when you get to the disk partitioning you want manual partitioning not sure if it gives you choice of MBR or GUID at that point in time or not. But you want to create as your first partition the 200mb ESP then the use as is set to EFI boot partition. That step is important otherwise it will default to MBR on you as I had to redo the install because I left it out. The rest is a straight forward partitioning as you want your layout to be and let it do the install. At the end when it installs grub you should see it installing the grub-efi package otherwise you have a MBR install and in your BIOS you need to set the boot order as EFI: Debian or however it is showing up for the name or use the boot menu to choose the EFI: Debian could be named after the disk now I think about it more. Do not think I have left anything out.
 
Old 02-25-2017, 03:00 PM   #3
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 809

Original Poster
Blog Entries: 2

Rep: Reputation: 76
In fact,
a) I deleted again the whole SSD (no partition at all on it with GPARTED in a Debian8 live)
b) I was choosing the automatic install (instead of manual), and now it looks similar to what I wrote here.
(only now 10GB for Debian8 instead of my target 12GB; a bit higher SWAP 8GB but its fine).
So, the install was probably installing the EFI system configuration with the necessary partitions.

Last edited by floppy_stuttgart; 02-26-2017 at 05:24 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] How to make Debian8 running on a Thinkpad T560 (full SSD install done) floppy_stuttgart Linux - Newbie 16 03-04-2017 10:39 AM
How to move a dual boot UEFI/GPT setup to an additional SSD? mailtomsa Linux - General 4 10-20-2016 01:06 AM
Install Linux in Toshiba u940 series with 32gb ssd and 750gb hdd I would like to have boot code in ssd only cvkchary Linux - Laptop and Netbook 4 08-31-2016 05:26 PM
LXer: Dual-boot Windows 7 and Ubuntu 12.04 on a PC with UEFI board, SSD and HDD LXer Syndicated Linux News 0 10-11-2012 05:20 AM

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

All times are GMT -5. The time now is 08:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration