LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux
User Name
Password
4MLinux This forum is for the discussion of 4MLinux.

Notices


Reply
  Search this Thread
Old 07-31-2022, 09:08 AM   #16
eight.bit.al
Member
 
Registered: Jul 2015
Location: Prison
Distribution: a new distro every day
Posts: 121

Rep: Reputation: Disabled

Quote:
Originally Posted by zk1234 View Post
More details please. What are you trying to do and it is not working for you ?

.
install2hd will only recognize /dev/sda, I want to install to /dev/nvme0n1
edit: NVMe SSD


Quote:
Originally Posted by eight.bit.al View Post
I tied editing install2hd to install to nvme0n1; but it's a little beyond my skills. And hope of installing to nvme0n1?
Quote:
Originally Posted by zk1234 View Post
I will add such an option in 4MLinux 40 STABLE.

.

Last edited by eight.bit.al; 07-31-2022 at 09:17 AM.
 
Old 07-31-2022, 09:49 AM   #17
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,232

Original Poster
Rep: Reputation: 220Reputation: 220Reputation: 220
No. The install2hd script recognizes both /dev/sda and /dev/nvme0n1. If you have /dev/nvme0n1 and you have no /dev/sda, then the sda devices are just symbolic links created by the script:

/dev/sda is a symlink to /dev/nvme0n1
/dev/sda1 is a symlink to /dev/nvme0n1p1
and so on.

You can check it by executing:
Code:
readlink /dev/sda
However, if you have both sda and nvme disks, 4MLinux will be forcing to use a real /dev/sda for the installation process.

.

Last edited by zk1234; 07-31-2022 at 09:58 AM.
 
Old 07-31-2022, 11:57 AM   #18
eight.bit.al
Member
 
Registered: Jul 2015
Location: Prison
Distribution: a new distro every day
Posts: 121

Rep: Reputation: Disabled
Thanks for the reply.

Where in the install2hd script does the magic happen? I couldn't find it.

The installer appears to only find the thumb drive it's running from and labels that as /dev/sda.
Attached Thumbnails
Click image for larger version

Name:	2022-07-31T16:50:05+00:00.jpg
Views:	9
Size:	248.7 KB
ID:	39335  
 
Old 07-31-2022, 12:54 PM   #19
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,232

Original Poster
Rep: Reputation: 220Reputation: 220Reputation: 220
So the /dev/sda is an USB drive. If so, just remove it before running the install2hd script.

.
 
Old 07-31-2022, 01:52 PM   #20
eight.bit.al
Member
 
Registered: Jul 2015
Location: Prison
Distribution: a new distro every day
Posts: 121

Rep: Reputation: Disabled
Quote:
Originally Posted by zk1234 View Post
If you have /dev/nvme0n1 and you have no /dev/sda, then the sda devices are just symbolic links created by the script:

.
So, where is the simlink magic happening; which script?


Quote:
Originally Posted by zk1234 View Post
So the /dev/sda is an USB drive. If so, just remove it before running the install2hd script.

.
ERROR: no partitions found on /dev/sda.
 
Old 07-31-2022, 02:48 PM   #21
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,232

Original Poster
Rep: Reputation: 220Reputation: 220Reputation: 220
You can check if the "readlink /dev/sda" gives now the output "/dev/nvme0n1"
If so, then the error "no partitions found on /dev/sda" means that there are no partitions on /dev/nvme0n1. Partitioning:
http://4mlinux.blogspot.com/2013/01/...n-4mlinux.html

PS.
Symlinks are created by /sbin/mdev

.

Last edited by zk1234; 07-31-2022 at 04:14 PM.
 
Old 07-31-2022, 04:31 PM   #22
eight.bit.al
Member
 
Registered: Jul 2015
Location: Prison
Distribution: a new distro every day
Posts: 121

Rep: Reputation: Disabled
Quote:
Originally Posted by zk1234 View Post
You can check if the "readlink /dev/sda" gives now the output "/dev/nvme0n1"
.
Thanks for your patience. Working as described.
Quote:
Originally Posted by zk1234 View Post
PS.
Symlinks are created by /sbin/mdev

.
Thanks, I learn every time I check out this amazing distro.

" the most stupid Linux distro ever" and I love it.
http://4mlinux.blogspot.com/2013/01/...inux-blog.html
 
Old 09-30-2022, 05:28 AM   #23
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,232

Original Poster
Rep: Reputation: 220Reputation: 220Reputation: 220
TheSSS 40.1 released.

This is a minor (point) release based on the 4MLinux Server 40.1, meaning that the components of the LAMP server are now: Linux 5.18.19, Apache 2.4.54, MariaDB 10.8.5, and PHP (both 5.6.40 and 7.4.30).

You can update your TheSSS by executing the "zk update" command (fully automatic process).

More:
https://4mlinux-releases.blogspot.co...-released.html

.
 
Old 10-23-2022, 03:58 AM   #24
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,232

Original Poster
Rep: Reputation: 220Reputation: 220Reputation: 220
4MLinux 40.1 STABLE released.

This is a minor (point) release in the 4MLinux STABLE channel, which comes with the Linux kernel 5.18.19. The 4MLinux Server now includes Apache 2.4.54, MariaDB 10.8.5, and PHP 7.4.30.
You can update your 4MLinux by executing the "zk update" command in your terminal (fully automatic process).

More:
https://4mlinux-releases.blogspot.co...-released.html

.
 
Old 12-03-2022, 04:10 PM   #25
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,232

Original Poster
Rep: Reputation: 220Reputation: 220Reputation: 220
4MLinux 40 is now OLD STABLE.

The status of the 4MLinux 40 series has been changed to OLD STABLE. All users must update before March 2023 (EOL).

More:
https://4mlinux-releases.blogspot.co...ld-stable.html

.
 
Old 04-10-2023, 03:11 PM   #26
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,232

Original Poster
Rep: Reputation: 220Reputation: 220Reputation: 220
4MLinux 40 reaches its EOL.

The status of the 4MLinux 40 series has been changed to UNSUPPORTED. All users must update ASAP.

More:
https://4mlinux-releases.blogspot.co...s-its-eol.html

.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Final 4MLinux and 4MLinux Allinone Edition 12.0 Released with PAE Support LXer Syndicated Linux News 0 05-10-2015 12:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux

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