Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I tried two different isos, slackware64-live-current and slackware64-live-xfce-current, but the same thing happens on both.
I used the 'dd' command to create a live usb but when I tried booting from it I get this:
Code:
Minimal BASH-line editing is supported. For the first word, TAB lists possible command completions.
Anywhere else TAB lists possible device or file completions.
grub>
Then hitting TAB gives a list of possible commands, from a-t, but nowhere do I see any option to boot live.
So where to from here? I should stress that I just want to run it live. I'm not ready to attempt an install yet as I have to transfer all my files to another drive and that will take some time. TIA.
EDIT: Forgot to say that it never got to the point described here,
"This is a demonstration environment, with the purpose of getting you acquainted
with Slackware, remember? Therefore you will first see all these intimidating
kernel messages scrolling across the screen while booting the OS.
Then you need to login manually." https://download.liveslak.org/
It never displayed "messages scrolling across the screen". It simply displayed the above and stopped right there.
The parts on BIOS vs UEFI. I have cerated bootable dvd's using the script iso2usb.sh. There are very useful examples of how to create a live USB stick, or dvd. Give that a try and see what happens.
It appears your system got you to a grub prompt. I'm not sure why, do you have another linux using grub installed on your system?
The parts on BIOS vs UEFI. I have cerated bootable dvd's using the script iso2usb.sh. There are very useful examples of how to create a live USB stick, or dvd. Give that a try and see what happens.
I'm a total newbie when it comes to compiling/running scripts.
Quote:
It appears your system got you to a grub prompt. I'm not sure why, do you have another linux using grub installed on your system?
Yes, but I've run several other distros from a live usb and never had this problem.
Create a USB version of Slackware Live, where the USB stick is known to the system as '/dev/sdX. Note - the value for the output parameter is the device name of the stick and not one of its partitions!
Go to that link, you will see the text of the file. To create the file locally, mark all the text, and copy it.
On your system, open your favorite plain text editor ( I use nano ) with a command line this: nano iso2usb.sh .
Now paste the copied text into this new file. Save it to you disk. It will not be executable. To change that, use the chmod command. It will look like this : shmod +x iso2usb.sh and then list the command, it should be executable.
So after I used the chmod command it looks like this:
Quote:
-rwx--x--x 1 ... iso2usb.sh
Which is different to yours but when I right click > Properties > Permissions the box next to Allow this file to run as a program is checked so it is showing as executable.
That's good I thought so I carried on. Both these files are on the desktop. But when I open a root terminal on the desktop and run it this happens:
Code:
# ./iso2usb.sh -i ~home/user/Desktop/slackware64-live-xfce-current.iso -o /dev/sdb
-bash: ./iso2usb.sh: No such file or directory
No such file or directory? But the list command says they're both there:
Code:
ls
firefox.desktop iso2usb.sh 'New File' 'New Filef' sc.sh slackware64-live-xfce-current.iso
So after I used the chmod command it looks like this:
Which is different to yours but when I right click > Properties > Permissions the box next to Allow this file to run as a program is checked so it is showing as executable.
That's good I thought so I carried on. Both these files are on the desktop. But when I open a root terminal on the desktop and run it this happens:
Code:
# ./iso2usb.sh -i ~home/user/Desktop/slackware64-live-xfce-current.iso -o /dev/sdb
-bash: ./iso2usb.sh: No such file or directory
No such file or directory? But the list command says they're both there:
Code:
ls
firefox.desktop iso2usb.sh 'New File' 'New Filef' sc.sh slackware64-live-xfce-current.iso
I think the path to the iso file is wrong and the "No such file or directory" comes from the script. Try with the absolute path to the .iso
# ./iso2usb.sh -i /home/user/Desktop/slackware64-live-xfce-current.iso -o /dev/sdb
-bash: ./iso2usb.sh: No such file or directory
# ./iso2usb.sh -i ~/Desktop/slackware64-live-xfce-current.iso -o /dev/sdb
-bash: ./iso2usb.sh: No such file or directory
Then I got an idea and tried this:
Code:
# cd /home/user/Desktop/
# ./iso2usb.sh -i /home/user/Desktop/slackware64-live-xfce-current.iso -o /dev/sdb
And this time it worked:
Code:
#
# We are going to format this device (erase all data) - '/dev/sdb':
...
The operation has completed successfully.
I can't see why that should make a difference. I was already in the Desktop directory before I typed cd - I had first right clicked on desktop > open terminal here, and of course 'Desktop' was in the prompt - but for some reason it made all the difference. Perhaps someone can shed some light on that.
So then a reboot took me straight into Slack-live Xfce. Many thanks to all. What a helpful forum this is.
I've found that slackware-live isos that are copied to a flash drive using 'dd' or 'cp' do not boot properly on my uefi laptop as well (legacy booting a disk made this way is still fine).
It has to do with the $prefix and/or $root variables in grub not pointing to the correct location for the grub menu, so you get dropped down to the console. You can get it to boot if you navigate around in the grub console to where the grub.cfg files are and either start it manually or re-define those variables and exit, at which point it will load the menu. I wouldn't recommend this though.
When you use the iso2usb.sh script, it repartitions the disk and the grub setup works properly with uefi booting. For the record this started happening after a liveslak commit in late 2019 and I emailed Eric about the problem when I caught it sometime last year. There are ways to make it work if you want to edit the grub configs but the better/easier way is to just use the iso2usb.sh script. Plus you get persistence when you set it up that way.
I've found that slackware-live isos that are copied to a flash drive using 'dd' or 'cp' do not boot properly on my uefi laptop as well (legacy booting a disk made this way is still fine).
It has to do with the $prefix and/or $root variables in grub not pointing to the correct location for the grub menu, so you get dropped down to the console. You can get it to boot if you navigate around in the grub console to where the grub.cfg files are and either start it manually or re-define those variables and exit, at which point it will load the menu. I wouldn't recommend this though.
When you use the iso2usb.sh script, it repartitions the disk and the grub setup works properly with uefi booting. For the record this started happening after a liveslak commit in late 2019 and I emailed Eric about the problem when I caught it sometime last year. There are ways to make it work if you want to edit the grub configs but the better/easier way is to just use the iso2usb.sh script. Plus you get persistence when you set it up that way.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.