LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-22-2023, 10:35 AM   #1
louis47
LQ Newbie
 
Registered: Nov 2023
Posts: 29

Rep: Reputation: 0
Unable to install other Linux distro next to Linux Mint?


I try to install other Linux distro next to Lunix Mint, Neon or Kumander or others.

Gparted : /dev/nvme0np1 EFI system partition Fat 32 --- 512 MiB -- Boot, esp
................../ " " " ¨ ¨¨... p2 ............................ ....... ext4 --- 476 GiB ,
I try, and Neon or Kumander says: media I try to install is not correct? I install Linux Mint on the whole disk. Wil I have to partition it by myself? I thought the linux can do this by their selfs.
 
Old 11-22-2023, 10:56 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,552

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
You should be able to use a manual option with Neon to shrink the partition on the drive where you have Mint and create unallocated space on which to install it. Both Neon and Mint are Ubuntu derivatives so on an EFI install, Neon will probably overwrite the EFI files for Mint. You can use gparted to shrink the Mint partition. The link below is to the gparted manual which explains shrinking and resizing partitions. You can't do it from the installed Mint but need an iso or another Linux which has it on the USB.

https://gparted.org/display-doc.php%...%3Dhelp-manual

Quote:
media I try to install is not correct?
If you see a message like that you probably did not verify the download of the iso or it was not written properly to the usb. Did you verify the download? What did you use to write Neon to the usb?
 
1 members found this post helpful.
Old 11-22-2023, 11:14 AM   #3
louis47
LQ Newbie
 
Registered: Nov 2023
Posts: 29

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
You should be able to use a manual option with Neon to shrink the partition on the drive where you have Mint and create unallocated space on which to install it. Both Neon and Mint are Ubuntu derivatives so on an EFI install, Neon will probably overwrite the EFI files for Mint. You can use gparted to shrink the Mint partition. The link below is to the gparted manual which explains shrinking and resizing partitions. You can't do it from the installed Mint but need an iso or another Linux which has it on the USB.

https://gparted.org/display-doc.php%...%3Dhelp-manual



If you see a message like that you probably did not verify the download of the iso or it was not written properly to the usb. Did you verify the download? What did you use to write Neon to the usb?
I did use Rufus,(in Windows 11)
I did not verify the download. Normally the download do that, yes? I will do that manually.

Last edited by louis47; 11-22-2023 at 11:44 AM.
 
Old 11-22-2023, 06:46 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,852
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Quote:
Originally Posted by yancek View Post
Both Neon and Mint are Ubuntu derivatives so on an EFI install, Neon will probably overwrite the EFI files for Mint. You can use gparted to shrink the Mint partition.
This need not happen. You as admin can be proactive and avoid it. Simply stop Mint from calling itself ubuntu on the ESP partition, in your BBS menu, and in UEFI BIOS setup. To do this, use your plain text editor with root permission to assign a text string other than "ubuntu" in place of what you find for GRUB_DISTRIBUTOR= in /etc/default/grub. Once done, the next update of Grub will change the directory ubuntu in /boot/efi/EFI/ to whatever string you assign in /etc/default/grub. "mint" should be good enough, but "mint21" or "mint213" or "mymint" would be just as effective.
 
2 members found this post helpful.
Old 11-22-2023, 06:46 PM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,852
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Quote:
Originally Posted by yancek View Post
Both Neon and Mint are Ubuntu derivatives so on an EFI install, Neon will probably overwrite the EFI files for Mint. You can use gparted to shrink the Mint partition.
This need not happen. You as admin can be proactive and avoid it. Simply stop Mint from calling itself ubuntu on the ESP partition, in your BBS menu, and in UEFI BIOS setup. To do this, use your plain text editor with root permission to assign a text string other than "ubuntu" in place of what you find for GRUB_DISTRIBUTOR= in /etc/default/grub. Once done, the next update of Grub will change the directory ubuntu in /boot/efi/EFI/ to whatever string you assign in /etc/default/grub. "mint" should be good enough, but "mint21" or "mint213" or "mymint" would be just as effective.
 
2 members found this post helpful.
Old 11-23-2023, 08:31 AM   #6
louis47
LQ Newbie
 
Registered: Nov 2023
Posts: 29

Original Poster
Rep: Reputation: 0
I did make the partition, LinuxMint was on it, smaller. I did this with Rescatux no problem. I get dev/nvme0n1p3 ..Root.. ext4.. 204 GiB. I did not ask for format in ext4, mayby it must be unallocated? .I try to install Neon Linux with a USB stick! He start install untill he stops with errorcode 1 something about
cp : cannot stat cdrom/Casper/vmlinux: No such file or directory.

Last edited by louis47; 11-23-2023 at 08:35 AM.
 
Old 11-23-2023, 10:36 AM   #7
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,852
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
NVME support can be buggy. Mint and Neon are both Ubuntu derivatives. Ubuntu is a Debian derivative, as is Kumander. Try installing a distro or two or three that is not based on Ubuntu or Debian, e.g. PCLinuxOS, Mageia, openSUSE, Rocky or Fedora. Probably the newest of these would be least likely a problem with NVME, likely openSUSE Tumbleweed, which as a rolling release is "new" up to 8 times per week (no lie - once in a week I noticed there were two releases on the same calendar day, and one on each of the other days). Or go with any of the others' devel version, such as Cauldron, Rawhide or openSUSE Leap 15.6.

Try installing on SATA instead if you can, to confirm whether it's an NVME issue.

All distros I've used can do partitioning and repartitioning from within their installers, so partitioning in any of them should be no problem. OTOH, I always do all my partitioning prior to installation, with DFSee, which is not part of any Linux distro, but runs using the same basic UI in DOS, Linux, MacOS, OS/2 and Windows.
 
1 members found this post helpful.
Old 11-24-2023, 04:38 AM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,552

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
Quote:
I did not verify the download. Normally the download do that, yes?
No. Many major Linux distributions will have instructions or a link to instructions for verifying a download as well as the the valid checksum. I don't know if Neon does this, check their download page.

You can boot Neon to an option to use it as a 'live' system rather than installing it? If you can do that, open a terminal and run the command to output information to post here. It will show your drive and partition information as well as any free (unallocated) disk space so we have more accurate information to use. If Mint boots, you can do it from Mint.

Code:
sudo fdisk -l
The file you refer to "cdrom/casper/vmlinuz" should be on the USB you created.

Quote:
dev/nvme0n1p3 ..Root.. ext4.. 204 GiB
Is that the partition on which you have Mint? Or is that the partition on which you wish to install Neon. You show it as an ext4 filesystem but you said you did not select to format?

Last edited by yancek; 11-24-2023 at 04:41 AM.
 
1 members found this post helpful.
Old 11-25-2023, 11:31 AM   #9
louis47
LQ Newbie
 
Registered: Nov 2023
Posts: 29

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
No. Many major Linux distributions will have instructions or a link to instructions for verifying a download as well as the the valid checksum. I don't know if Neon does this, check their download page.

You can boot Neon to an option to use it as a 'live' system rather than installing it? If you can do that, open a terminal and run the command to output information to post here. It will show your drive and partition information as well as any free (unallocated) disk space so we have more accurate information to use. If Mint boots, you can do it from Mint.

Code:
sudo fdisk -l
The file you refer to "cdrom/casper/vmlinuz" should be on the USB you created.



Is that the partition on which you have Mint? Or is that the partition on which you wish to install Neon. You show it as an ext4 filesystem but you said you did not select to format?
Thats right. I did with Rescatux split the partition that was ext4, so I presume Rescatux did this.
Gparted:
/dev/nvme0n1p1 efisystem part fat32/boot/efi and --n1p2 ext4 and --n1p3 root ext4 ( after n1p1 and n1p2 I see an litle sign: a key maybe, or?) thats the disk I think p2 is Linux Mint and on p3 I will install Neon. I find on the internet a intereting article : a multiple install of Linux distros together with Windows and BSD 10 distros together.
https://makkelijkelinuxtips.blogspot...startbaar.html it is in Dutch, but you can translate it with Google of course.

Last edited by louis47; 11-25-2023 at 11:33 AM.
 
Old 11-25-2023, 11:44 AM   #10
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,552

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
It is difficult to understand the output you posted. Run sudo fdisk -l and post the output here using the QUOTE or CODE tags. Mouse over the icons at the top of the input page here, the one with the # symbol is CODE tag and the one to the left is the QUOTE tag. Makes it much easier to read.

If you are booting into Mint, you can run df -h from a terminal and it will show which partition is root under the Mounted on column, should show /. You need to find out which partition Mint is on so you don't overwrite it with your Neon install.

Quote:
a multiple install of Linux distros together with Windows and BSD 10 distros together.
If you are interested in multiple distros on a single computer, the link below might be of interest to you. Note the date in the first post.

https://forums.justlinux.com/showthr...ystems-in-a-PC
 
Old 11-25-2023, 12:52 PM   #11
louis47
LQ Newbie
 
Registered: Nov 2023
Posts: 29

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
It is difficult to understand the output you posted. Run sudo fdisk -l and post the output here using the QUOTE or CODE tags. Mouse over the icons at the top of the input page here, the one with the # symbol is CODE tag and the one to the left is the QUOTE tag. Makes it much easier to read.

If you are booting into Mint, you can run df -h from a terminal and it will show which partition is root under the Mounted on column, should show /. You need to find out which partition Mint is on so you don't overwrite it with your Neon install.



If you are interested in multiple distros on a single computer, the link below might be of interest to you. Note the date in the first post.

https://forums.justlinux.com/showthr...ystems-in-a-PC
Disk/dev/nvme0n1: 476,94 GiB, 512110190592 bytes, 1000215216 sectoren
Disk model: INTEL SSDPEKKW512G7
Unit: sectors van 1 * 512 = 512 bytes
Sector size (logisch/fysiek): 512 bytes / 512 bytes
In-/eecute size (minimal/optimal): 512 bytes / 512 bytes
Disk labeltype: gpt
Disk-ID: 1D466060-DCBF-4B9B-9AA8-1577B5494C6C

Apparaat Begin End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI-systeem
/dev/nvme0n1p2 1050624 571158527 570107904 271,8G Linux bestandssysteem < Linux Mint ? Used 35.13 GiB Unused 235.16 GiB
/dev/nvme0n1p3 571158528 1000215182 429056655 204,6G Linux bestandssysteem < I am confuse ?? Used 8.19 GiB Unused 195.79 GiB . (No GRUB on begin screen!)


Disk /dev/sda: 465,76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: TOSHIBA MQ01ABD0
Eenheid: sectors from 1 * 512 = 512 bytes
Sectorsize (logisch/fysiek): 512 bytes / 4096 bytes
In-/execute size (minimal/optimal): 4096 bytes / 4096 bytes
Disklabeltype: dos
Disk-ID: 0x3ea4dbf4
Maybe on this disk I can install Neon?

Last edited by louis47; 11-25-2023 at 01:04 PM.
 
Old 11-26-2023, 12:02 AM   #12
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,852
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Quote:
Originally Posted by louis47 View Post
Maybe on this disk I can install Neon?
Why not just try?
 
1 members found this post helpful.
Old 11-26-2023, 03:34 AM   #13
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,552

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
It is a lot easier for members here to read terminal output if you post it using Code tags as explained in post 8 above. Also, since you seem to be able to boot Mint, you can determine which partition Mint is on if you boot Mint, open a terminal and run the command: df -h

That will output information such as in my example below which shows which is the root filesystem partition. In my example below, it shows the root filesystem is on partition 4. From your earlier post, I would guess Mint is on parittion 2 but that can be easily verified this way.

Code:
/dev/nvme0n1p4   47G   20G   25G  45% /
Again, based on the information you have posted, the only operating system you now have installed is Mint. In that case, there will be no Grub screen as there is no need to make a selection. You can change that so that if there are problems you can boot into an Advanced option.

You indicate the output shows 8.9GB used on partition 3. That could be just data or an attempt to install another OS.

It is possible to install Mint on /dev/sda but the problem remains that if you do an install in EFI mode, will the Neon installer overwrite the boot code on the nvme drive EFI partition with Mint. I don't know as I don't use either but I do know that Ubuntu does this. I believe it is the Ubiquity installer on Ubuntu that does this so if Mint uses something else, this may not happen. Before trying this, I would suggest you back up at least any personal files that are important to you.
 
1 members found this post helpful.
Old 11-26-2023, 06:28 AM   #14
louis47
LQ Newbie
 
Registered: Nov 2023
Posts: 29

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
It is a lot easier for members here to read terminal output if you post it using Code tags as explained in post 8 above. Also, since you seem to be able to boot Mint, you can determine which partition Mint is on if you boot Mint, open a terminal and run the command: df -h

That will output information such as in my example below which shows which is the root filesystem partition. In my example below, it shows the root filesystem is on partition 4. From your earlier post, I would guess Mint is on parittion 2 but that can be easily verified this way.

Code:
/dev/nvme0n1p4   47G   20G   25G  45% /
Again, based on the information you have posted, the only operating system you now have installed is Mint. In that case, there will be no Grub screen as there is no need to make a selection. You can change that so that if there are problems you can boot into an Advanced option.

You indicate the output shows 8.9GB used on partition 3. That could be just data or an attempt to install another OS.

It is possible to install Mint on /dev/sda but the problem remains that if you do an install in EFI mode, will the Neon installer overwrite the boot code on the nvme drive EFI partition with Mint. I don't know as I don't use either but I do know that Ubuntu does this. I believe it is the Ubiquity installer on Ubuntu that does this so if Mint uses something else, this may not happen. Before trying this, I would suggest you back up at least any personal files that are important to you.
I did save in Mint a new version of Neon. Message from the other saved Neon distro : ' Boost python find error in task " unpack" .

Set this Neon distro on USB and see no problem with install on the Toshiba drive. Thanks every one for their help and patient with a, sometimes, retarded, person.

Last edited by louis47; 11-26-2023 at 10:28 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
Unable to install Ubuntu or any other distro on PC kovacsakos Linux - General 6 03-26-2023 04:50 AM
I down loaded Centos 7, next in the terminal, I installed "Epel" so I could install DNF. Next I went to update/upgrade the system. Mack51 Linux - Newbie 1 05-25-2016 02:21 AM
Unable to install VLC media player or any other player in SL 6.3 distro linux_walker Linux - Software 4 09-02-2012 02:28 AM
"switch to next desktop" vs. "switch to next screen" newbiesforever Linux - General 1 03-02-2010 11:23 AM
vmstat in 10 second interval in next start in next minute johnsonlim026 Linux - Newbie 2 08-23-2008 07:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:43 PM.

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