LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 10-07-2020, 03:06 PM   #1
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Rep: Reputation: Disabled
Installer Can't Create Partition


I am trying to install Manjaro Openbox from a USB stick on an Asus X200CA laptop, using Manjaro's built in installer Calamares. I have tried different ISO downloads written to different USB sticks but I keep getting this message:

Installation Failed
The installer failed to create a partition table on HGST545050A7E680
---------------
Create a new partition table (type: gpt) on 'dev/sda’
--------------------
Job: Create new partition table on device "/dev/sda’
-------------------
Command: sfdisk /dev/sda

Any advice on how to resolve this?
 
Old 10-07-2020, 03:41 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
If it has windows installed go into settings>power>advance-settings turn off fast-boot, There maybe a fast-boot setting in bios that needs to be turned off also.
 
Old 10-07-2020, 03:49 PM   #3
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
If it has windows installed go into settings>power>advance-settings turn off fast-boot, There maybe a fast-boot setting in bios that needs to be turned off also.
It currently has Parabola Linux installed with Enlightenment DE.
 
Old 10-07-2020, 03:57 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
the installer maybe activating the swap partition, if so run swap off if this is happening and make sure all other partitions on the drive are not mounted.
 
Old 10-07-2020, 07:08 PM   #5
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
the installer maybe activating the swap partition, if so run swap off if this is happening and make sure all other partitions on the drive are not mounted.
Swap was on so I turned it off and now get this.
Code:
drew@drew-asus: ~
$ swapon --show
drew@drew-asus: ~
$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk
├─sda1   8:1    0 457.5G  0 part /
└─sda2   8:2    0   8.2G  0 part
drew@drew-asus: ~
$
Is that forward slash of significance?
 
Old 10-07-2020, 07:16 PM   #6
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
It means that is where the root filesystem is mounted, on the first partition of the drive. It appears that everything is on one partition, except for the swap. Did you actually boot from the installer, or is that info from booting into the Parabola installation?
 
Old 10-07-2020, 07:21 PM   #7
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
That terminal print out is from the Parabola install. What is so puzzling about this is that I have previously installed other OS on this laptop, including Parabola, in exactly the same way that won't work now - i.e. I download an ISO, write it to a USB and install.
 
Old 10-07-2020, 07:43 PM   #8
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
When booted into the installer, make sure no partitions are mounted and the swap partition isn't being used by the installer.
 
Old 10-07-2020, 07:50 PM   #9
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
When booted into the installer, make sure no partitions are mounted and the swap partition isn't being used by the installer.
OK I will try that. Note that the Calamares installer:

- prompts me to choose either auto partitioning or manual;
- when I choose auto, I am prompted to select "no swap" or "swap, no hibernate" or "swap, with hibernate";
- I have been choosing "swap, no hibernate"
- it then does something called "Scanning partitions" for a few minutes before beginning the actual install attempt.
 
Old 10-07-2020, 08:05 PM   #10
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
The swap choices determine the size of the swap partition. Hibernating takes more space, so that will make the largest swap partition, at least the size of the RAM installed. No hibernate should make ~4GB of swap. Which to choose is your decision. I don't know why the installer would be having problems, unless there is a problem with the drive.
 
Old 10-07-2020, 08:29 PM   #11
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
When booted into the installer, make sure no partitions are mounted and the swap partition isn't being used by the installer.
manjaro@manjaro-openbox Linux 5.6.6-1-MANJARO x86_64 20.0 Lysia
~ >>> swapon --show
~ >>> lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 70M 1 loop /run/miso/sfs/livefs
loop1 7:1 0 306.4M 1 loop /run/miso/sfs/mhwdfs
loop2 7:2 0 556.2M 1 loop /run/miso/sfs/desktopfs
loop3 7:3 0 586.1M 1 loop /run/miso/sfs/rootfs
sda 8:0 0 465.8G 0 disk
├─sda1 8:1 0 457.5G 0 part
└─sda2 8:2 0 8.2G 0 part
sdb 8:16 1 7.5G 0 disk
├─sdb1 8:17 1 1.6G 0 part /run/miso/bootmnt
└─sdb2 8:18 1 4M 0 part
~ >>>
 
Old 10-07-2020, 08:45 PM   #12
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,361
Blog Entries: 28

Rep: Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148
Quote:
Code:
$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk
├─sda1   8:1    0 457.5G  0 part /
└─sda2   8:2    0   8.2G  0 part
The above tells me that there in not enough free space on sda to create a new partition unless sda1 i resized or deleted. Alternatively, you can tell the installer to use the existing partitions and overwrite the existing install. I am not familiar with the installer you are using, but most of them offer an option for "custom" or "manual" partitioning.
 
Old 10-07-2020, 09:12 PM   #13
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Code:
using Manjaro's built in installer Calamares
Not sure what you mean by this. Are you booting the usb clicking the install button and following the prompts, attempting to install from the running installation on your internal drive, something else?
 
Old 10-07-2020, 09:47 PM   #14
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,371

Rep: Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593Reputation: 1593
Did a test in a vm, had same problem What I did was use gparted on the iso to create a new partition table before starting the installer. What I don't understand is why the installer is attempting to create a new gpt table instead of msdos when there is no efi partition or bios-grub partition in the original partition layout. Post the output of
Code:
parted -l

Last edited by colorpurple21859; 10-07-2020 at 09:55 PM.
 
Old 10-07-2020, 11:00 PM   #15
llewellen
Member
 
Registered: Oct 2016
Location: Vancouver Island, Canada
Distribution: Crunchbang++ Openbox
Posts: 401

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
The above tells me that there in not enough free space on sda to create a new partition unless sda1 i resized or deleted. Alternatively, you can tell the installer to use the existing partitions and overwrite the existing install. I am not familiar with the installer you are using, but most of them offer an option for "custom" or "manual" partitioning.
Yes, the Calamares installer does allow me to do manual partitioning but, never having done that in the past, I am at a loss as to what partitions to make. I guess I need to do some more Linux reading
 
  


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
How to create a custom mate installation package. How to create a installer for debian LinuxMaster1 Debian 4 07-11-2020 01:15 PM
can i create a partition on S7 with this partition table & if yes how i can ? vyas.sheron Solaris / OpenSolaris 8 06-08-2011 07:39 AM
Red Hat Installer, vs Debian Installer rmckayfleming Linux - General 6 10-19-2005 01:23 PM
(K)Ubuntu installer failing to load installer components from CD. slackyoda Ubuntu 5 07-20-2005 03:06 PM
What Does The UT2004 Installer Do Behind The Fancy GUI Installer? Tsuroerusu Linux - Games 2 09-09-2004 02:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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