LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware finish installation after 5 sec (https://www.linuxquestions.org/questions/slackware-14/slackware-finish-installation-after-5-sec-4175631041/)

nonamme 06-02-2018 10:55 AM

Slackware finish installation after 5 sec
 
I bought new laptop Lenovo ideapad 320S there was Winodws 10 on it so I get rid of it. And decide install slackware 14.2 and after some issues with EFI, finding hard disk etc. but thanks to google I solve it. But now I have one more issue which I can not solve and is a bit strange. So I booting slackware from usb stick and I prepare my disk to installation of it like:

/dev/nvme0n1p1 100M EFI System <<< I add it cause slackware 'setup' ask me to do it
/dev/nvme0n1p2 8G Linux Swap
/dev/nvme0n1p3 112G Linux filesystem


Also I have to mound /dev/sda1 (pendrive) if I want to be able to select packages to install, so I mount it in /usr/usb.
After I run "setup" command I am able to configure everything and I am able to go step "Source media selection", I am choosing "Pre-mounte ..." and I am in step "Install Selected Software" after I choose everything what I want I am click install and installing start, but after 5-10 seconds I am getting message "everything installed reboot now" (something similar) but after reboot there is no system on my laptop and I have to do all process again.

wigums 06-02-2018 11:32 AM

did you verify the integrity of the iso?

nonamme 06-02-2018 11:36 AM

Not!? What you mean by that, and how to do it?

Gerard Lally 06-02-2018 11:41 AM

Do you have to mount the USB stick? I never do. Just select USB as your source and the installer will find the package directories.

Alien Bob 06-02-2018 01:42 PM

Quote:

Originally Posted by nonamme (Post 5862544)
I bought new laptop Lenovo ideapad 320S there was Winodws 10 on it so I get rid of it. And decide install slackware 14.2 and after some issues with EFI, finding hard disk etc. but thanks to google I solve it. But now I have one more issue which I can not solve and is a bit strange. So I booting slackware from usb stick and I prepare my disk to installation of it like:

/dev/nvme0n1p1 100M EFI System <<< I add it cause slackware 'setup' ask me to do it
/dev/nvme0n1p2 8G Linux Swap
/dev/nvme0n1p3 112G Linux filesystem


Also I have to mound /dev/sda1 (pendrive) if I want to be able to select packages to install, so I mount it in /usr/usb.
After I run "setup" command I am able to configure everything and I am able to go step "Source media selection", I am choosing "Pre-mounte ..." and I am in step "Install Selected Software" after I choose everything what I want I am click install and installing start, but after 5-10 seconds I am getting message "everything installed reboot now" (something similar) but after reboot there is no system on my laptop and I have to do all process again.

FYI: The installer of Slackware 14.2 does not support NVMe devices all that well, and I wrote a post a while ago documenting how I used a Slackware-current installer to install Slackware 14.2 on a NVMe disk.

But your issue seems different.
If you booted your computer from a bootable USB stick containing the Slackware install DVD, then it should not be needed to mount that USB partition. But if the installer does not find the USB stick then manually mounting it and telling the installer to use that mounted directory should normally work...

nonamme 06-03-2018 12:04 AM

Gerard Lally yes, I have to mount USB stick even if I can boot system from it. Do not know why when I do not mount usb stick (or even with mounted) when I select source media as usb stick, slacware setup do not see my usb stick, but when I mount it I can select source media as pre-mounted and give path to place where I mounted my usb stick.

Alien Bob yes it should work, but it does not

sysfce2 06-03-2018 12:46 AM

Did you include the /slackware64 when specifying the mount location?

enorbet 06-03-2018 01:03 PM

I wonder if you have some compelling reason to use UEFI especially now that Windows is gone. Unless there is some specific advantage you can only get through UEFI wouldn't it just be simpler to use "Legacy BIOS" settings? It surely would make your computing chores substantially easier.

If 100% Up
And 0% Down
Then NoBrainer

aragorn2101 06-04-2018 03:46 AM

Quote:

Originally Posted by sysfce2 (Post 5862768)
Did you include the /slackware64 when specifying the mount location?

I think this might well be the issue here. I also made this mistake once.

nonamme, since you are saying you have to mount the USB partition in order to proceed with the installation and since you understand you should select "Pre-mounted directory", then, maybe there is a small mistake in the location path of the source packages.

When you make the USB stick, a copy of the whole Slackware DVD is placed on the stick under some directory. As an example, I made a USB stick with the Slackware DVD copied to the directory "slackdvd" on the USB. Assuming the USB is detected as /dev/sdb, what I have to do is:

Code:

# mkdir /Slackware  (define a mount point)
# mount -t vfat /dev/sdb1 /Slackware  (mount the USB drive)

- Pre-mounted directory path:
/Slackware/slackdvd/slackware64

Then it works. Once, I made the mistake of not putting "slackware64" in the path, and the installation took 5s. That's because it only installs some basic boot files found on the installation USB.

I hope this helps. :hattip:

rkelsen 06-04-2018 06:03 AM

Quote:

Originally Posted by enorbet (Post 5862985)
I wonder if you have some compelling reason to use UEFI especially now that Windows is gone. Unless there is some specific advantage you can only get through UEFI wouldn't it just be simpler to use "Legacy BIOS" settings? It surely would make your computing chores substantially easier.

Surely you jest. Not only is UEFI safer and easier to configure, it's the way forward. Why buy a 64 bit computer if you're not going to exploit 64 bit features?

Does fdisk even recognise nvme drives? I don't think you have a choice with such new hardware. You've got to use UEFI with GPT partitions.

hydrurga 06-04-2018 06:26 AM

Quote:

Originally Posted by rkelsen (Post 5863329)
Surely you jest. Not only is UEFI safer and easier to configure, it's the way forward. Why buy a 64 bit computer if you're not going to exploit 64 bit features?

I agree that UEFI should be used, unless there is an abiding reason not to. However it is not a "64-bit feature". UEFI works fine with 32-bit architectures.

Philip Lacroix 06-04-2018 10:08 AM

Quote:

Originally Posted by nonamme
Also I have to mount /dev/sda1 (pendrive) if I want to be able to select packages to install

Quote:

I have to mount USB stick even if I can boot system from it. Do not know why when I do not mount usb stick (or even with mounted) when I select source media as usb stick, slacware setup do not see my usb stick, but when I mount it I can select source media as pre-mounted and give path to place where I mounted my usb stick.
Are you are booting the installer using the official image for USB sticks available from the Slackware website? That image in fact doesn't include any files from the slackware/ or slackware64/ tree, which might explain why nothing happens after the "Select" step (that's actually what does happen when the installer doesn't find any files on the selected source, as others have already mentioned).

Anyway, it shouldn't be necessary to mount your device twice, if you have the Slackware tree there. If you don't, it is probably the source of your problem, or you are simply giving the installer the wrong path (you have to point to the slackware/ or slackware64/ directory, not just the mount point, unless the latter coincides with the former).


All times are GMT -5. The time now is 03:21 AM.