LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 12-08-2017, 01:13 PM   #1
Gandalf73
LQ Newbie
 
Registered: Dec 2017
Posts: 12

Rep: Reputation: Disabled
Virtualbox Slackware 14.2 guest on nvme installpkg read-only errors


Dear all,
thank you very much for possibility to write into this forum.
I am a Slack newbie and I try to install into my Win system (on nvme hd) using Virtualbox tool and its features.
I tried the installation on SATA and UEFI virtual box emulation and it is all OK.I reached to end the process (also with elilo into EFI partition and so on..)
The problem grow-up when I want to try installation choosing the nvme virtualbox support.
The process have problems in installpkg setup part.
Some packages (random in each attempt) seems corrupt or the installer doesn't reach to open the files.
Errors are in "/mnt/var/log/setup/tmplist<numer> read-only filesystem".
So what can I do to tune this situation? Is it a driver issue?
Sorry if I don't explain very well my question and my English is not perfect :-) however thanks to all.
Bye
Alex
 
Old 12-09-2017, 12:11 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 7,958

Rep: Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833
Hello, and welcome to this forum.

Slackware 14.2 can't be installed on NVMe devices, this feature will be available when Slackware 15 will be released.

Meanwhile, you can use the ISO that I have uploaded here: http://slint.fr/forSlackware/NVMe/

Just follow the instructions from a) to f)
 
Old 12-09-2017, 12:42 PM   #3
Gandalf73
LQ Newbie
 
Registered: Dec 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hello and thanks for your precious answer.
I downloaded a last version (slackware64-current-DVD.iso dated DEC 2017).
As a consequence can I follow this steps:?

1) open the iso file
2) set the 3 indicated files (setefi.diff,eliloconfig.diff,prob_nvme.diff),into correct directory
3) created a new ISO file
4) proceeding to install like I did for SATA-EFI system in virtualbox (using EFI shell and so on that it goes ahead till the end correctly)

What do you think about?
I thank you again for your help
Have a nice weekend
Alex
 
Old 12-09-2017, 12:50 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 7,958

Rep: Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833
The changes are already made in this ISO, so you can just use it as is. I forgot to mention that the recent current ISO are OK on NVMe.

Bonne fin de semaine.
 
Old 12-09-2017, 01:43 PM   #5
Gandalf73
LQ Newbie
 
Registered: Dec 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
I read on some posts that the problem can be due to the small /tmp directory or corrupted ISO file download.
Taking into accoount that:
I used another dated december support and the problem is the same (at the end of installation phase...)
I used the same file for install the Slack into VB with SATA features (Optic device and virtual hd) and all go ahead correct...
I can suppose that the /tmp space is right idea...what do you think about?
In this case the only solution that I can imagine is modifying the tmp space into ISO file and created the new ISO.
(/mnt/var/log/setup/tmp/tmpsize....).
The problem is that I don't know how I can do this....:-(
Thanks for your assistance
Alex
 
Old 12-09-2017, 02:56 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 7,958

Rep: Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833
Now that I read more carefully your first post these messages about a read only file system are really weird... What is the size of your root partition? Maybe it's just to small. Try with 12G or so. And don't set another partition but the one for EFI. Especially, don't set a partition for /tmp. Just two partitions (one of type Linux 12G or moret for / and one of type EFI System Partition of size at least 100M) is enough.
 
Old 12-09-2017, 05:58 PM   #7
Gandalf73
LQ Newbie
 
Registered: Dec 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
My dubt is exactly that:
I set an EFI partition for 250 Mb and one system partition equal to 19.50G space.
So when I use the SATA features the installation process end without errors and the distro is perfect intalled, when I set nvme features, the process stops with this strange errors. They are found in random packages for each time than I try.
The last test was closely to end (I arrived to KDE installation phase)...but when I started to think that we reach the solution (I change the ISO with December version)...the problem grow-up newly.
Strange, very very strange behaviour
Bye
Alex
 
Old 12-09-2017, 06:24 PM   #8
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 7,958

Rep: Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833
Do you have a very recent VirtualBox version? I suggest that you try with the latest (5.2.2) and of course you need the matching extension pack.
 
Old 12-09-2017, 07:05 PM   #9
Gandalf73
LQ Newbie
 
Registered: Dec 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
All did.Latest version of VB and extension pack.
The problem is in my point of view due to tmpfs that slack fix in the fstab during the installation phase if you consider the different type of capabilities of emulated type between sata & nvme virtual devices.
So i think that the further test is try to change this installation in splitted ISO.
Bye
Ale.
 
Old 12-10-2017, 05:43 AM   #10
Gandalf73
LQ Newbie
 
Registered: Dec 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
Addendum:I suppose that all used ISO doens't contain your indicated *.diff file...so the problem is into the installer when catch the script into:
/usr/lib/setup/*.I saw that the process views "read-only filesystem" into different lines of different files included there.
Bye
Alex
 
Old 12-15-2017, 11:15 AM   #11
Gandalf73
LQ Newbie
 
Registered: Dec 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hello Didier, perharps I found the original problem.
I suppose it can be a matching NVME drivers between VB and Slack in virtual support hard disk.
If I try to see kmsg (when the setup process stopped with:
/usr/lib/setup/installpkg: line 378 /mnt/var/log/setup/tmp/tmpsize_number read-only filesystem
/usr/lib/setup/installpkg: line 378 /mnt/var/log/setup/tmp/tmplist_number read-only filesystem),
I discovered a lot of this kind of message:
"Buffer I/O error on device nvme0n1p2 logical block
Ext4-fs warning (device): ext4_end_bio: 314 i/o error -5 writing to inode (offset 0 size....starting block...)
Buffer I/O error on device nvme0n1p2 logical block lost async page write"
It ends with "ext4-fs remounting file system read-only"
so..the strange behaviour during the setup phase.
Taking into account that the setup is ok with SATA emulation DVD and VHDL controller.
What do you think about?
Bye
 
Old 12-15-2017, 11:45 AM   #12
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 7,958

Rep: Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833
Looks like an issue with the virtual file system.

I just checked, you have e2fsck in /sbin in the installer, run it against the virtual NVMe device before typing setup.

Meanwhile I will setup a VM equipped with a NVMe device and test incoming Slint64-14.2.1 in it. I will let you know the outcome.
 
Old 12-15-2017, 01:35 PM   #13
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 7,958

Rep: Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833
Installed with no issue in EFI mode, see the attached pic, with the settings in mate-terminal.
Attached Thumbnails
Click image for larger version

Name:	mate_slint_lxde_VB.png
Views:	15
Size:	209.9 KB
ID:	26536  
 
Old 12-16-2017, 01:26 PM   #14
Gandalf73
LQ Newbie
 
Registered: Dec 2017
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hello Didier & thanks for your precious assistance.
Within this week I try to follow your steps.
What kind of ISO can I use?(it is to tune and link my tests with your trial).
I think that e2fsck must be used after partition phase (with cfsck) and before running setup. Isn't it?
What option can I put when I run it?
Thanks again
Bye
 
Old 12-17-2017, 12:16 PM   #15
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 7,958

Rep: Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833Reputation: 2833
Quote:
Originally Posted by Gandalf73 View Post
Hello Didier & thanks for your precious assistance.
Within this week I try to follow your steps.
What kind of ISO can I use?(it is to tune and link my tests with your trial).
The ISO I used is not yet released, will be tomorrow if all goes well.
Meanwhile you can try the one in this repo: http://slackware.uk/slint/x86_64/slint-14.2/iso/
Or the ISO with just the installer in the repo linked to in my first post in this thread: http://slint.fr/forSlackware/NVMe/

Quote:
I think that e2fsck must be used after partition phase (with cfsck) and before running setup. Isn't it?
What option can I put when I run it?
Thanks again
Bye
Yes, run cfdisk first, then e2fsck. For the options I can't really advise, I am not an expert. Just read the man page (I think that's the same version included in an installed system) and/or find examples with an Internet search. The device shouldn't be in use, so yes run e2fsck before setup.
 
  


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
slackware 64bit virtualbox guest zenlunatic Slackware 32 12-01-2013 01:55 PM
[SOLVED] VirtualBox guest additions for init 3 Slackware guest? kikinovak Slackware 2 06-04-2013 11:36 AM
Move Slackware guest from a Slackware hosted Virtualbox to Windows hosted Virtualbox? damgar Slackware 1 08-08-2012 12:28 AM
startx on Gentoo guest (VirtualBox) giving STRANGE errors , please help :( asilentmurmur Linux - Newbie 2 02-08-2011 10:25 AM

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

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