SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Run 'shutdown -r now' as root. With 'shutdown -h now' a full power down occurs. You can also replace each with just 'reboot' and 'poweroff', also ran as root.
Trying to install slack from a usb stick, I am root.
DEFINITIVE:
shutdown now
does not work: command not found
Any other suggestions please?
I had the slackware64 folder on another external hd, /dev/sdc but /dev/sdc is not mounted, not in fstab, cannot be mounted.
The installer said, 'would be mounted next boot'. Not true.
Now I have copied the install software, specifically slackware64 to a directory on the hd I want to use, where slack should be installed. /dev/sda must be mounted I think, I should be able to point the installer at it.
Hello Pedroski and welcome to Slackware
This may be a given and trivial but since you came from Ubuntu where sudo is the common way of "becoming root", or more accurately being allowed some root privileges, you might need to see this finer breakdown
Code:
bash-4.3$ sudo which shutdown
Password:
which: no shutdown in (/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib64/java/bin:/usr/lib64/java/jre/bin:/usr/lib64/kde4/libexec:/usr/lib/qt/bin:/usr/lib64/qt/bin:/usr/share/texmf/bin)
bash-4.3$ su
Password:
bash-4.3# which shutdown
/sbin/shutdown
bash-4.3$ su -
Password:
Two men are in a hot-air balloon. Soon, they find themselves lost in a
canyon somewhere. One of the three men says, "I've got an idea. We can
call for help in this canyon and the echo will carry our voices to the
end of the canyon. Someone's bound to hear us by then!"
So he leans over the basket and screams out, "Helllloooooo! Where
are we?" (They hear the echo several times).
Fifteen minutes later, they hear this echoing voice: "Helllloooooo!
You're lost!"
The shouter comments, "That must have been a mathematician."
Puzzled, his friend asks, "Why do you say that?"
"For three reasons. First, he took a long time to answer, second,
he was absolutely correct, and, third, his answer was absolutely useless."
root@homebase1:~# which shutdown
/sbin/shutdown
In Slackware though "sudo" can be setup much like it is in Ubuntu, "su" and "su -" as you can see have much more power to "be root" with "su -" actually being root as evidemced by being part of the messages group.
A shameless borrow
Quote:
Originally Posted by Nintendo
Now you're playing with Power!
You could give USERS or a specific user the privilege of being allowed to shut the system down or reboot but it is more correct to keep such privileges as they are. Hope this helps and have fun.
Thing is, I do not even have slack installed yet. I'm trying to get it up and running from a usb stick installer. However, there was no EFI partition, so I had to stop the install and make the 100MB EFI partition.
The only way I could get out of the of the root shell was ctrl alt del. I was root.
shutdown now does not work in the installer shell.
Thing is, I do not even have slack installed yet. I'm trying to get it up and running from a usb stick installer. However, there was no EFI partition, so I had to stop the install and make the 100MB EFI partition.
The only way I could get out of the of the root shell was ctrl alt del. I was root.
shutdown now does not work in the installer shell.
There is no shutdown command in the installer (but there is a reboot command; that does the same as ctrl alt del). If you don't want to reboot, just switch the computer off.
Thing is, I do not even have slack installed yet. I'm trying to get it up and running from a usb stick installer. However, there was no EFI partition, so I had to stop the install and make the 100MB EFI partition.
Which ISO image are you using? It's probably best if you are new to Slackware to use the install DVD, here: for 64 bit slackware64-14.2-iso/ and for 32 bit slackware-14.2-iso/.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.