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 01-08-2022, 04:08 AM   #1
davide445
Member
 
Registered: Dec 2018
Distribution: KDE Neon
Posts: 110

Rep: Reputation: 1
KDE Neon installer didn't see external SSD ext4 partition


Want to install Neon on my new external SSD.
I have splitted it in half with two partitions, the first NTFS for my Win 11 usage (where I have already installed different programs), the second in ext4 for Neon and Linux usage.


But the Neon installer (booting from a live disk) is seeing only a single unpartitioned volume, so that I cannot proceed with the installation without deleting the already created NTFS partition. KDE Partition manager show also a single unallocated partition.
 
Old 01-08-2022, 08:59 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,710

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
Are you sure your selecting the correct disk?

I just played with the installer and it shows three options, overwrite existing partition, overwrite the drive or manual partition. That is with a drive already partitioned.

There no such thing as an unallocated partition, just unallocated or free drive space...
 
Old 01-09-2022, 04:38 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,519

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
What software did you use to create the ext4 partition for Neon?
Did you install windows 11 in UEFI mode?

Quote:
that I cannot proceed with the installation without deleting the already created NTFS partition
You say in the next sentence there is only a single unallocated "partition", so which is it, an ntfs partition you see or unallocated space? Have you tested booting windows 11, all works? Without more information, I'd have to agree that it seems you are looking at the wrong drive. Can you post the outpt of "sudo fdisk -l" or "sudo parted -l"?
 
Old 01-09-2022, 06:04 AM   #4
davide445
Member
 
Registered: Dec 2018
Distribution: KDE Neon
Posts: 110

Original Poster
Rep: Reputation: 1
I used Paragon Drive to create and format the partitions.
The NTFS it's not a primary just an extended partition with no Windows, is used just as an extended space to install programs I'm using rarely.
Curiosly Dolphin is seeing both partitions correctly.
In partition manager and Neon installer on the contrary is shown as unallocated space.
Didn't have access to my pc right now can post more info later if needed.
 
Old 01-09-2022, 08:56 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,710

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
It maybe an installer bug. Post exactly how the drive is partitioned.

sudo fdisk -l
or
lsblk
 
Old 01-09-2022, 03:31 PM   #6
davide445
Member
 
Registered: Dec 2018
Distribution: KDE Neon
Posts: 110

Original Poster
Rep: Reputation: 1
Quote:
neon@neon:~$ sudo fdisk -l
Disk /dev/loop0: 1.75 GiB, 1864212480 bytes, 3641040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/nvme0n1: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: LENSE20256GMSP34MEAT2TA
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 08035315-3C6F-4F11-98E6-21E7DBECA0B5

Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 534527 532480 260M EFI System
/dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
/dev/nvme0n1p3 567296 498069503 497502208 237.2G Microsoft basic data
/dev/nvme0n1p4 498069504 500117503 2048000 1000M Windows recovery environment


omitting empty partition (5)
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model:
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x22eb3218

Device Boot Start End Sectors Size Id Type
/dev/sda1 4096 976752639 976748544 465.8G f W95 Ext'd (LBA)
/dev/sda2 976752640 1953521663 976769024 465.8G 83 Linux
/dev/sda5 6144 976752639 976746496 465.8G 7 HPFS/NTFS/exFAT

Partition table entries are not in disk order.


Disk /dev/sdb: 3.77 GiB, 4027580416 bytes, 7866368 sectors
Disk model: ProductCode
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0015dfea

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 7866367 7864320 3.8G c W95 FAT32 (LBA)
Quote:
neon@neon:~$ sudo parted -l
Model: PICO (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 2097kB 500GB 500GB extended lba
5 3146kB 500GB 500GB logical ntfs
2 500GB 1000GB 500GB primary ext4


Model: VendorCo ProductCode (scsi)
Disk /dev/sdb: 4028MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 4028MB 4027MB primary fat32 boot, lba


Model: LENSE20256GMSP34MEAT2TA (nvme)
Disk /dev/nvme0n1: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 274MB 273MB fat32 EFI system partition boot, hidden, esp
2 274MB 290MB 16.8MB Microsoft reserved partition msftres
3 290MB 255GB 255GB ntfs Basic data partition msftdata
4 255GB 256GB 1049MB ntfs Basic data partition hidden, diag
Quote:
neon@neon:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 1.8G 1 loop /rofs
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 1K 0 part
├─sda2 8:2 0 465.8G 0 part
└─sda5 8:5 0 465.8G 0 part
sdb 8:16 1 3.8G 0 disk
└─sdb1 8:17 1 3.8G 0 part /cdrom
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 260M 0 part
├─nvme0n1p2 259:2 0 16M 0 part
├─nvme0n1p3 259:3 0 237.2G 0 part
└─nvme0n1p4 259:4 0 1000M 0 part
The disk I want to install Neon on is sda2.

This is what is shown on the installer selecting sda (Neon 5.23 user edition)
https://i.imgur.com/sErSctT.png

Last edited by davide445; 01-09-2022 at 03:41 PM.
 
Old 01-09-2022, 04:22 PM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Boot into the neon instller, what is the output of
Code:
cat /sys/firmware/efi
If the output is "it is a directory" you will need to either use manual partitioning or convert sda to a gpt drive.

Last edited by colorpurple21859; 01-09-2022 at 04:24 PM.
 
Old 01-09-2022, 07:59 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,710

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
From the posted screenshot the installer does not recognize the partition table. You can see the ? to the right of the drive box.

While not a direct comparison since I created the partitions using fdisk while running Neon from within a VirtualBox guest using both efi and legacy modes. The options are different but the partitions are recognized correctly. The difficult part is why.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20220109_204933.png
Views:	16
Size:	104.1 KB
ID:	38058   Click image for larger version

Name:	Screenshot_20220109_191757.jpg
Views:	11
Size:	67.7 KB
ID:	38059  

Last edited by michaelk; 01-10-2022 at 04:10 AM.
 
Old 01-10-2022, 04:05 AM   #9
davide445
Member
 
Registered: Dec 2018
Distribution: KDE Neon
Posts: 110

Original Poster
Rep: Reputation: 1
cat /sys/firmware/efi output it's a directory.
Converting sda from msdos to gpt is meaning loosing all my data?
sda1/sda5 (didn't understand why show two partitions if there is only one) are already with many Win applications installed and if possibile I would like to don't need to re-install all from scratch another time.

Just a remark: the disk is installed in an eGPU box (CoolerMaster Mastercase EG200), connected trough Thunderbolt to my laptop. I'm seeing the disk without any problem both on Win and Linux so I suppose this didn't play a role, but pointg out in case I'm wrong.

Last edited by davide445; 01-10-2022 at 04:08 AM.
 
Old 01-10-2022, 06:04 PM   #10
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
You have windows installed with efi booting on the drive nvme0n1 (nvme0n1p1 is the efi partition)
It appears you have really messed up the partitioning on /dev/sda.
Your output of 'parted -l' shows
Code:
omitting empty partition (5)
Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model:
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x22eb3218

Device Boot Start End Sectors Size Id Type
/dev/sda1 4096 976752639 976748544 465.8G f W95 Ext'd (LBA)
/dev/sda2 976752640 1953521663 976769024 465.8G 83 Linux
/dev/sda5 6144 976752639 976746496 465.8G 7 HPFS/NTFS/exFAT
which shows that you created an msdos partition table. /dev/sda1 looks like you intended a second efi partition (which is not necessary) and that the start/end sectors for each partition show overlapping.

I think your only chance for recovery may be to backup the data on the ntfs partition then repartition /dev/sda as gpt before you install.

From this output it shows additional confusion which is not understood by linux
Code:
neon@neon:~$ sudo parted -l
Model: PICO (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 2097kB 500GB 500GB extended lba
5 3146kB 500GB 500GB logical ntfs
2 500GB 1000GB 500GB primary ext4
I don't even understand that because it shows the extended and logical partitions before the primary partition which should not happen.
 
Old 01-10-2022, 07:15 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,710

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
Technically there isn't any reason a primary has to be the first partition. Well an extended is a primary but you know what I mean, the order does not matter and linux can boot from either. In the distant past with the 1024 cylinder limit that might of been the case but not now.

The OP has two problems, why the Neon installer is not recognizing the partition table and that they need to convert the drive to gpt. It might be due to the eGPU box but if that was the case I would of expected fdisk or parted to not recognize the table either. Its probably easier to just backup the drive and start from scratch versus trying to convert the drive in place.
 
Old 01-11-2022, 08:43 AM   #12
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Another thought, was the windows partition shutdown in hibernation mode?
 
Old 01-11-2022, 02:28 PM   #13
davide445
Member
 
Registered: Dec 2018
Distribution: KDE Neon
Posts: 110

Original Poster
Rep: Reputation: 1
Friday I have a demo where I need to use the eGPU and his attached SSD with the Windows partition where I have installed the specific programs I need to use.

After that I will clean all, recreate the partitions using GPT and let's see if this will work.

I love Neon and tried (without being able to) switch to Linux as my main drive, but in the end this is the reason I suppose will be never a for all OS: you need above the average knowledge to get even the basic things. But I suppose this is the strenght and weakness of an ever evolving complex system.

The most beautiful thing is anyway his wonderful and supportive community, that saved me so many times.
 
Old 02-14-2022, 04:07 AM   #14
davide445
Member
 
Registered: Dec 2018
Distribution: KDE Neon
Posts: 110

Original Poster
Rep: Reputation: 1
Only yesterday I was finally able to try the MBR-->GPT path, and it worked, just needed to backup my Windows partition files and re-copy them in place once finished and all is working again, on the Linux side I was able to select the ext4 partition and install Neon.

But: after a first Neon upgrade I got notification a second update was needed, with just a 2MB Intel Management something and 300k of 2 Neon files to upgrade. The system rebooted, but asked a second time for the same upgrade and at the second reboot I become stuck in the grub cli as in this screenshot

https://imgur.com/gallery/FvYWXpb

Curiosly even before resetting everything I come to this screen every time I booted my laptop, I supposed the reason was since in BIOS there is an old ubuntu entry from a previous test using the same eGPU setup and the eGPU it's not always connected (so that the disk attached to the eGPU box was not found).
But now even with the eGPU connected I got this grub cli screen and didn't know what else to do, except use Alt+Ctrl+Del to reboot.

Next the various info about the disks (booted from usb key live image)

Quote:
sudo fdisk -l
Disk /dev/loop0: 1.75 GiB, 1864212480 bytes, 3641040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/nvme0n1: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk model: LENSE20256GMSP34MEAT2TA
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 08035315-3C6F-4F11-98E6-21E7DBECA0B5

Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 534527 532480 260M EFI System
/dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
/dev/nvme0n1p3 567296 498069503 497502208 237.2G Microsoft basic data
/dev/nvme0n1p4 498069504 500117503 2048000 1000M Windows recovery environment


Disk /dev/sda: 931.53 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model:
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: B92D0D92-6D10-4E38-8D7A-2F2E0E4417F9

Device Start End Sectors Size Type
/dev/sda1 34 32767 32734 16M Microsoft reserved
/dev/sda2 32768 976793599 976760832 465.8G Microsoft basic data
/dev/sda3 976793600 1953521663 976728064 465.8G Linux filesystem

Partition 1 does not start on physical sector boundary.


Disk /dev/sdb: 3.77 GiB, 4027580416 bytes, 7866368 sectors
Disk model: ProductCode
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0015dfea

Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 7866367 7864320 3.8G c W95 FAT32 (LBA)
Quote:
neon@neon:~$ sudo parted -l
Model: PICO (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 17.4kB 16.8MB 16.8MB Microsoft reserved partition msftres
2 16.8MB 500GB 500GB ntfs Basic data partition msftdata
3 500GB 1000GB 500GB ext4 root


Model: VendorCo ProductCode (scsi)
Disk /dev/sdb: 4028MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
1 1049kB 4028MB 4027MB primary fat32 boot, lba


Model: LENSE20256GMSP34MEAT2TA (nvme)
Disk /dev/nvme0n1: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 274MB 273MB fat32 EFI system partition boot, hidden, esp
2 274MB 290MB 16.8MB Microsoft reserved partition msftres
3 290MB 255GB 255GB ntfs Basic data partition msftdata
4 255GB 256GB 1049MB ntfs Basic data partition hidden, diag
Quote:
neon@neon:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 1.8G 1 loop /rofs
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 16M 0 part
├─sda2 8:2 0 465.8G 0 part
└─sda3 8:3 0 465.8G 0 part
sdb 8:16 1 3.8G 0 disk
└─sdb1 8:17 1 3.8G 0 part /cdrom
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 260M 0 part
├─nvme0n1p2 259:2 0 16M 0 part
├─nvme0n1p3 259:3 0 237.2G 0 part
└─nvme0n1p4 259:4 0 1000M 0 part

Last edited by davide445; 02-14-2022 at 04:31 AM.
 
  


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
[SOLVED] KDE Neon - External Media Not Showing in Places Eucalyp333 Ubuntu 3 11-13-2021 05:37 PM
Is it possible to install KDE Neon autonomously on usb connected SSD? DaComboMan Linux - General 5 12-29-2020 07:53 PM
[SOLVED] 18.3 installer can't see partitions on SSD DanceMan Linux Mint 7 02-11-2018 12:36 AM
[SOLVED] Cannot Update KDE Neon or Reinstall KDE Neon or Linux Mint goatchaser Linux - Newbie 3 12-29-2017 01:04 PM
neon-0.26.4 vs neon-0.27.3 rob.til Slackware 0 08-30-2008 07:09 AM

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

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