KDE Neon installer didn't see external SSD ext4 partition
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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...
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"?
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.
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.
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.
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.
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.
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.
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
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)
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.