LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-13-2017, 04:04 PM   #31
Uncle Lumpy
Member
 
Registered: Feb 2010
Posts: 32

Rep: Reputation: 13

Didier,

I realize I'm late to need, but I wanted to thank you for putting together this method for installing Slackware 14.2 to an NVMe device. I followed the steps you outlined in the first post in this thread and now have a machine running Slackware 14.2 on a Plextor NVMe (the only drive in the machine). Went very smoothly!

Thanks!
Lumpy
 
1 members found this post helpful.
Old 08-19-2017, 06:04 PM   #32
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,521

Original Poster
Rep: Reputation: Disabled
You don't need to patch eliloconfig anymore

The new ISO fake_slackware64-14.2-4.iso in the directory: http://slint.fr/forSlackware/NVMe includes a modified installer shipping the patch for eliloconfig, applied by the slackinstall script at end of packages' installation. I just had to slightly modify the build script.

So now, you can just follow these instructions:
  • download the file fake_slackware64-14.2-4.iso
  • check its integrity with fake_slackware64-14.2-4.iso.md5
  • write it on an USB stick
  • have at hand a genuine Slackware installation media
  • insert the USB stick then reboot and begin the installation as usual
  • at the SOURCE step, choose the Slackware installation media
  • proceed to the rest of installation, including the CONFIGURE step, as you would do with a genuine Slackware
Sorry it didn't come to my small mind to do that sooner.

EDIT 21 August 2017, 22h00 UTC+2: uploading a new ISO (build #4) the previous failed to patch eliloconfig.

Last edited by Didier Spaier; 08-23-2017 at 06:59 AM. Reason: minor fix.
 
3 members found this post helpful.
Old 08-19-2017, 06:50 PM   #33
Uncle Lumpy
Member
 
Registered: Feb 2010
Posts: 32

Rep: Reputation: 13
Quote:
Originally Posted by Didier Spaier View Post
The new ISO fake_slackware64-14.2-3.iso in the directory: http://slint.fr/forSlackware/NVMe includes a modified installer shipping the patch for eliloconfig, applied by the slackinstall script at end of packages' installation. I just had to slightly modify the build script.
Easier is better--thanks!

Best,
Lumpy
 
Old 08-23-2017, 06:54 AM   #34
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 522

Rep: Reputation: 130Reputation: 130
Didier,

Thanks for this; I installed current (kernnel 4.9.44) on a Samsung SM961 M.2, NVMe card and both install and elilo-config worked as a dream; never got the windows test install so quickly replaced on a drive ;-)

rob
 
2 members found this post helpful.
Old 04-13-2018, 06:29 AM   #35
metageek
Member
 
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 139

Rep: Reputation: 28
Thumbs up

Didier,

just to let you know that I used your latest image to install Slackware64 14.2 on a ThinkPad X1 6th generation (with a Samsung 1Tb NVMe drive). It went smoothly as I pointed it to another USB with the full Slackware installation files (incredibly this ultrabook has 2 USB3 slots). The part that was more complicated for me was dealing with UEFI, as this is the first time I have installed anything not using MBR, but I still managed to do this without errors. I also used luks+lvm and encrypted root and swap together (as explained in README_CRYPT.TXT). All is working well.

Thank you!
 
1 members found this post helpful.
Old 10-05-2018, 05:52 AM   #36
Desiderius
LQ Newbie
 
Registered: Jun 2017
Posts: 10

Rep: Reputation: Disabled
Impossible to boot on NVME partition

Hi Didier

I have a new laptop with NVME partitions

To install the Slackware 14.2 I have followed your instructions

-Download and verify fake_slackware64-14.2-4.iso
- Put it on an USB stick
- Boot my laptop with this USB stick
- Give the source with another USB stick
- Installation finished without asking me to use Elilo ?

I have made an initrd using mkinitrd in the newly installed system and put the initrd.gz in /boot/efi/EFI/Slackware

Reboot on this EFI partition

Elilo starts reads initrd.gz and vmlinuz-huge : start of the Slack boot list

Just after starting eudevd , stop with an error message

mount /dev/nvme... on /mnt : No such file or directory

Seems that I have forgooten to do something ?

Didier Courtaud

Quote:
Originally Posted by Didier Spaier View Post
The new ISO fake_slackware64-14.2-4.iso in the directory: http://slint.fr/forSlackware/NVMe includes a modified installer shipping the patch for eliloconfig, applied by the slackinstall script at end of packages' installation. I just had to slightly modify the build script.

So now, you can just follow these instructions:
  • download the file fake_slackware64-14.2-4.iso
  • check its integrity with fake_slackware64-14.2-4.iso.md5
  • write it on an USB stick
  • have at hand a genuine Slackware installation media
  • insert the USB stick then reboot and begin the installation as usual
  • at the SOURCE step, choose the Slackware installation media
  • proceed to the rest of installation, including the CONFIGURE step, as you would do with a genuine Slackware
Sorry it didn't come to my small mind to do that sooner.

EDIT 21 August 2017, 22h00 UTC+2: uploading a new ISO (build #4) the previous failed to patch eliloconfig.
 
Old 10-05-2018, 12:08 PM   #37
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,521

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Desiderius View Post

Just after starting eudevd , stop with an error message

mount /dev/nvme... on /mnt : No such file or directory
This looks really weird as during startup there should be no reason to mount anything on /mnt automatically.

To investigate further please do this:
  • Run the fake installer again up to logging in as "root" but do not run setup.
  • To check which is the partition for / of the installed system type:
    Code:
    lsblk -l -o model,name,type,size,fstype
  • Mount this partition as /mnt
  • Mount the EFI partition as /floppy
  • Provide the output of:
    Code:
    cat /mnt/etc/fstab
  • Provide the output of:
    Code:
    ls -l /floppy/EFI/Slackware
  • Provide the output of code
    Code:
    cat /floppy/EFI/Slackware/elilo.conf
To save some typing you could plug-in an USB stick with a FAT formatted partition, check how it is named typing again the lsblk command above, make a mount point for it like this "mkdir /stick", mount the FAT partition of the stick as /stick.

Then you can redirect all commands above to files in /stick and just type:
Code:
cp /floppy/EFI/Slackware/elilo.conf /stick
to copy the file elilo.conf on the stick.

Last edited by Didier Spaier; 10-05-2018 at 12:14 PM.
 
Old 10-08-2018, 01:55 AM   #38
Desiderius
LQ Newbie
 
Registered: Jun 2017
Posts: 10

Rep: Reputation: Disabled
Quote:
Originally Posted by Didier Spaier View Post
This looks really weird as during startup there should be no reason to mount anything on /mnt automatically.

To investigate further please do this:
  • Run the fake installer again up to logging in as "root" but do not run setup.
  • To check which is the partition for / of the installed system type:
    Code:
    lsblk -l -o model,name,type,size,fstype
    Code:
    MODEL               NAME       TYPE    FSTYPE
    Flash Disk          sda        disk
                        sda1       part    vfat
                        nvme0n1    disk
                        nvme0n1p1  part    vfat
                        nvme0n1p2  part    vfat
                        nvme0n1p3  part    ntfs
                        nvme0n1p4  part    ntfs
                        nvme0n1p5  part    ntfs
                        nvme0n1p6  par     swap
                        nvme0n1p7  part    reiserfs
                        nvme0n1p8  part    reiserfs
                        nvme0n1p9  part    reiserfs
                        nvme0n1p10 part    reiserfs
    /dev/nvme0n1p1 is my EFI partition and /dev/nvme0n1p7 is my root partition
  • Mount this partition as /mnt
  • Mount the EFI partition as /floppy
  • Provide the output of:
    Code:
    cat /mnt/etc/fstab
    Code:
    /dev/nvme0n1p6     swap         swap       defaults    0  0
    /dev/nvme0n1p7     /            reiserfs   defaults    1  1
    /dev/nvme0n1p10    /home        reiserfs   defaults    1  2
    /dev/nvme0n1p8     /var         reiserfs   defaults    1  2
    /dev/nvme0n1p9     /usr         reiserfs   defaults    1  2
    /dev/nvme0n1p1     /boot/efi    vfat       defaults    1  0
    /dev/fd0           /mnt/floppy  auto       noauto,owner   0  0
    devpts             /dev/pts     devpts     gid=5,mode=620 0  0
    proc               /proc        proc       defaults    0  0
    tmpfs              /dev/shm     tmpfs      defaults    0  0
  • Provide the output of:
    Code:
    ls -l /floppy/EFI/Slackware
    Code:
    -rwxr-xr-x 1 root root       117 Oct 4 10:51 elilo.conf
    -rwxr-xr-x 1 root root    239720 Oct 4 10:48 elilo.efi
    -rwxr-xr-x 1 root root   5835295 Oct 5 12:32 initrd.gz
    -rwxr-xr-x 1 root root   7630144 Oct 4 10:49 vmlinuz-huge
  • Provide the output of code
    Code:
    cat /floppy/EFI/Slackware/elilo.conf
    Code:
    prompt
    delay=100
    timeout=100
    #
    image=vmlinuz-huge
    label=Slack14.2
    root=/dev/nvme0n1p7
    initrd=initrd.gz
    read-only
To save some typing you could plug-in an USB stick with a FAT formatted partition, check how it is named typing again the lsblk command above, make a mount point for it like this "mkdir /stick", mount the FAT partition of the stick as /stick.

Then you can redirect all commands above to files in /stick and just type:
Code:
cp /floppy/EFI/Slackware/elilo.conf /stick
to copy the file elilo.conf on the stick.
Everything seems clear ?

I have thought about two possible explanations :

1- It does not work with reiserfs partitions ?

2- As I have made a
Code:
 chroot /mnt ..
in the shell after the Slackware installation to make my inird file , maybe the initrd file remembers the /mnt location ?

In any case thanks for your help !
 
Old 10-08-2018, 07:41 AM   #39
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,521

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Desiderius View Post
Everything seems clear ?
Yes but, in this requested command:
Code:
lsblk -l -o model,name,type,size,fstype
you omitted the size.
Quote:
1- It does not work with reiserfs partitions ?
I don't know, however I recommend using a "mainstream" file system, well supported. I had never had an issue with ext4 and the gain in performance using another one will probably be unnoticeable, especially on a NVMe device.

Quote:
2- As I have made a
Code:
 chroot /mnt ..
in the shell after the Slackware installation to make my inird file , maybe the initrd file remembers the /mnt location ?
Maybe. I recommend installing with the huge kernel, then start the new system and only then make an initrd.

Oh and there is no benefit in having in having separate partitions for /var and /usr in a desktop. I don't even have one for /home and encounter no issue: actually all my systems have just one partition: /

Some people think that having a separate partition for /home helps in case of upgrade but I strongly disagree: the content of /home can be backed up then restored after upgrade, ant it is inadvisable to keep all hidden files and directories as is after upgrade. You are better off saving and restoring only case by case the ones that should not be modified.

In any case, the more you cut your space on a mass storage device in slices, the sooner you will have a partition filled up. You can still set LVM, but why complicate things?

tl;dr: install anew with the huge kernel, ext4 and only one / partition (also /home if you insist, but again I don't see the usefulness of that).

When this will be done, come back to get some advice about installing the generic kernel and an initrd, while setting elilo.conf to keep two boot entries just in case: one for the huge kernel, one for the generic one with an initrd).
 
Old 10-09-2018, 01:11 AM   #40
Desiderius
LQ Newbie
 
Registered: Jun 2017
Posts: 10

Rep: Reputation: Disabled
[

Maybe. I recommend installing with the huge kernel, then start the new system and only then make an initrd.

Didier, that is just what I want to do : start the huge kernel but without an initrd, it is impossible !

With elilo.efi wmlinuz-huge and the elilo.conf I showed you in /boot/efi/EFI/Slackware and the UEFI in BIOS pointed to that .efi file , the laptop does not show anything and refuses to boot
 
Old 10-09-2018, 03:50 AM   #41
Desiderius
LQ Newbie
 
Registered: Jun 2017
Posts: 10

Rep: Reputation: Disabled
Finally I have succeded to boot my Dell Latitude 5490 on Slack !!!!

I have to switch the laptop to AHCI as described here :

http://triplescomputers.com/blog/unc...hci-operation/

and then with only the kernel and elilo.efi in /boot/efi/EFI/Slacware it boots normally !

Thanks to Dell to make me spend a week before succedding :

- Decrypt the root partition in order to shrink the Windows Partition
- Obliged to use UEFI to boot the Slack
- Turn the laptop from RAID IDE to AHCI

All this stuff to forbid the installation of Linux on this laptop !

DC

Quote:
Originally Posted by Desiderius View Post
[

Maybe. I recommend installing with the huge kernel, then start the new system and only then make an initrd.

Didier, that is just what I want to do : start the huge kernel but without an initrd, it is impossible !

With elilo.efi wmlinuz-huge and the elilo.conf I showed you in /boot/efi/EFI/Slackware and the UEFI in BIOS pointed to that .efi file , the laptop does not show anything and refuses to boot
 
Old 10-14-2018, 11:50 AM   #42
pr0xibus
Member
 
Registered: Apr 2004
Location: Montrose, Scotland
Distribution: Slackware
Posts: 127

Rep: Reputation: 20
Must admit, your fake_slackware works a treat, UEFI/LVM on NVME worked first time. thanks for the image

Last edited by pr0xibus; 10-14-2018 at 12:09 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux support for M.2 / NVMe devices on RAID configured controllers? dfatlq Linux - Kernel 3 07-05-2017 02:34 AM
Slackware -current 14.2 beta 2 nvme installation issues. Linux.tar.gz Slackware 6 02-13-2017 06:52 PM
[SOLVED] Boot Slackware on NVME SSD? jkaidor Slackware 48 08-17-2016 11:56 AM
PAM Kerberos and ADS for Slackware-current - Call for testing ivandi Slackware 95 08-05-2015 10:46 PM
handling devices sajanjohn Linux - General 1 04-20-2002 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration