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 03-23-2020, 11:27 AM   #1
jrysatx
LQ Newbie
 
Registered: Mar 2020
Posts: 10

Rep: Reputation: Disabled
Question Repartitioning a used drive


When re-partioning a used drive and looking at it with fdisk, I noticed at least partition that was identified as GPT. Since my laptop is BIOS and MBR, when I try to install Ubuntu 18.04 on this drive, will I need to partition the drive and then format or will the Ubuntu help with that? Will the GPT partition cause problems during install?
 
Old 03-23-2020, 11:51 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,525

Rep: Reputation: Disabled
I don't think it will matter, but you can give it a new MBR before partitioning it.
 
2 members found this post helpful.
Old 03-23-2020, 01:18 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,578

Rep: Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500
You can do a Legacy install of Ubuntu on a GPT drive but you will need to create a 1-2MB unformatted bios_grub partition. Make sure Legacy/CSM is enabled in the BIOS firmware. Based on the information you have posted, you have a computer with one drive and no operating system currently installed so if that is not correct, you need to post more details.
 
2 members found this post helpful.
Old 03-23-2020, 03:25 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
https://superuser.com/questions/8333...the-same-drive so what you see many not be exactly what we think you are asking???

https://www.rodsbooks.com/gdisk/hybrid.html
 
Old 03-23-2020, 05:13 PM   #5
jrysatx
LQ Newbie
 
Registered: Mar 2020
Posts: 10

Original Poster
Rep: Reputation: Disabled
Problems....

I don't see Legacy/CSM in bios listed let alone enabled. The only thing I see is USB legacy emulation listed and it is enabled.

This is the problem I am seeing. When I try to do the Ubuntu 18.04 install, it never asks for trial or install, nor no language selection, keyboard layout, no installation type, no partitioning. It basically chooses its own parameters and immediately installs. When done, the mouse works but the keyboard doesn't, because it wasn't set up. I do have an Ubuntu window and firefox will come up, but many features in settings are missing.

I tried to burn the ISO file on this computer, Win 7, but it wouldn't burn a copy. I was only able to make a bootable cd and burn the iso on a windows 10 computer. The drive I am trying to use has an efi partition, a gpt c: partition, a recovery partition and a smaller partition.

Did I do something wrong? Any help would be appreciated, even if I am doing something stupid. I'll always take a whuppin if I learn something. Especially if I am posting this in the wrong place.
 
Old 03-23-2020, 06:23 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,578

Rep: Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500Reputation: 2500
If you don't see the Try Ubuntu and/or the install options you probably have a bad download. How to verify that is explained on the Ubuntu download page.

Quote:
I tried to burn the ISO file on this computer, Win 7, but it wouldn't burn a copy
Does that mean that you have attached the new drive you are trying to install Ubuntu to a computer with windows 7?

Quote:
The drive I am trying to use has an efi partition, a gpt c: partition, a recovery partition and a smaller partition.
If this is the drive you are trying to install Ubuntu to that would indicate an EFI install of some version of windows. Are you planning to keep whatever that is or to install only Ubuntu on that drive?
 
1 members found this post helpful.
Old 03-23-2020, 06:48 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
Legacy emulation might be the old fix for some keyboards at boot.

The installer should not automatically install even if it is server version. Get new iso. Test it.

Do you really have a cd or do you mean dvd?
 
1 members found this post helpful.
Old 03-23-2020, 08:52 PM   #8
jrysatx
LQ Newbie
 
Registered: Mar 2020
Posts: 10

Original Poster
Rep: Reputation: Disabled
Ok, I saw the verify just after starting the burn, so I probably do have a bad download.

Quote:
I downloaded the iso file on my windows 7 computer as it is the one that I am trying to upgrade. I tried to burn the ISO file on the windows 7 computer, but it wouldn't burn a copy. The new drive was not attached. I wanted to make the boot dvd first, then swap to the new drive, and then do the Ubuntu install. So at that point, the "C: drive essentially was blank". So no, I had not attached the new drive I was trying to install Ubuntu to a computer with windows 7? It was a computer without an OS.

The new drive I am trying to use has an efi partition, a gpt c: partition, a recovery partition and a smaller partition, so this is what was in the computer st the time of install. I finally burned the install dvd on a windows 10 system, but I did not verify it like I should have.

Yes, I agree the drive had an EFI install of some version of windows. I am not planning to keep whatever that was. I want only Ubuntu on this drive. I am soooo done with windows! Sorry if I was unclear and that this is so long.
 
Old 03-27-2020, 05:08 PM   #9
sp331yi
Member
 
Registered: Mar 2020
Location: NM
Distribution: antiX 19.2 | Slacko pup | Miyo
Posts: 104

Rep: Reputation: Disabled
Hi jrysatx,

Knowing some will disagree with my solution, it will be what I have learned as the simplest way to get rid of all remnants of ntfs, windows and gpt; granted, it is time-consuming, but I suggest inputting the following command just before going to bed or being gone for at least 3-4 hours, depending on size of hdd (of one may download System Rescue CD and doing same after it boots up and is sitting a the prompt)

Code:
dd if=/dev/zero of=/dev/sda bs=4096 conv=notrunc,sync
You said you didnt want Win7. This will either give you a blank hard drive or will brick it. In the latter case, I would suggest it was a not going to work with Linux, in the first place and one would be better off with a SSD, anyway. LOL

You wont see a thing til it is done, so dont think its not working until four lines pop up at its finish!

Best wishes!
 
1 members found this post helpful.
Old 03-27-2020, 05:26 PM   #10
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by fatmac View Post
I don't think it will matter, but you can give it a new MBR before partitioning it.
I believe GPT is required when the drive is larger then 2 TB (or so).
 
Old 03-27-2020, 06:02 PM   #11
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,525

Rep: Reputation: Disabled
You may be right, I only have small disks myself, nothing larger than 500GB.
 
Old 03-27-2020, 10:17 PM   #12
jrysatx
LQ Newbie
 
Registered: Mar 2020
Posts: 10

Original Poster
Rep: Reputation: Disabled
Partitioning

Thanks for the great input. I finally made a Ubuntu cd and was able to get it installed. I even got to use it a while, and I could really get to like it. This is a 500 GB drive and a BIOS machine built in 2011 so I think some of my problems stem from that. Also, after Ubuntu did load, the keyboard and keypad would stop working. Got around that but it just happens too often. I was wondering if an older version of Ubuntu would work, or if maybe Fedora would be more compatible with an older system.

Again thanks for all the input.
 
Old 03-28-2020, 02:37 AM   #13
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,881
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Does this laptop have dual graphics, as so many of the past decade's laptops do? Us knowing your laptop's specs might suggest something that might cause loss of input functions.
Code:
inxi -Fxxza
run from within an X session and pasted here using code tags ( [ # ] above the input window ) would provide this information.
 
1 members found this post helpful.
Old 03-28-2020, 03:02 AM   #14
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,881
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by jrysatx View Post
I was wondering if an older version of Ubuntu would work, or if maybe Fedora would be more compatible with an older system.
9 years old isn't all that old in the scheme of hardware support. There shouldn't be any material difference between Ubuntu and Fedora hardware support, but there could be a minor difference. The underlying foundations of those two distros is quite a bit different. Normally I prefer Fedora to Ubuntu, but in the case of 9 years old, I'd expect Ubuntu to be the better, if there was any significant difference. If it was me, I'd go next to AntiX or MX if my normal distro of choice proved inadequate.
 
1 members found this post helpful.
Old 03-28-2020, 06:50 AM   #15
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,525

Rep: Reputation: Disabled
Quote:
AntiX or MX
I second those choices.
 
  


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
Repartitioning Hard Drive MAndriva 2006 tfm1 Mandriva 8 08-28-2006 12:38 PM
Hard Drive Repartitioning lazeeboy Linux - Newbie 8 03-13-2006 01:35 PM
Repartitioning my drive* cmanns Linux - General 2 02-23-2006 11:44 PM
Hard Drive Repartitioning C&C Freak 2K Linux - General 1 05-20-2005 12:29 PM
repartitioning hard drive nicomon Linux - General 4 11-26-2002 09:40 PM

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

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