[SOLVED] Newbie Interested in installing Slackware, questions
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.
What do you guys think of using parted magic (boot cd) and creating unformatted partitions there including the swap. Then just skipping fdisk, cfdisk ect.. and use the format in the installation part to use the ext4.
What do you guys think of using parted magic (boot cd) and creating unformatted partitions there including the swap. Then just skipping fdisk, cfdisk ect.. and use the format in the installation part to use the ext4.
For the installer it doesn't matter at all which tool was used to create the partitions, as long as the tool worked correctly. For example, if you use the Windows partition manager for creating the partitions you will end up with partitions with the wrong ID, so that the installer will not find the partition you created for swap.
Any tool that is more advanced than that and can set the correct IDs will work.
This is the second install I did and it looks like this again..
I've always had success working in MB (and a calculator) when using fdisk. I expected 1GB to equal 1024MB but actually found that if I used 1075 as a multiplier it gave the result I wanted.
For instance in the case you give above I would end up entering:
fdisk offers you the first starting sector (usually 2048) ok this then
+300MB (for /boot)
then ok the sector start for partition 2 and
+4300MB (to give the end sector for swap)
then again ok the start sector for 3 and
+215000MB (for /)
then you can just hit enter to ok the start and end sectors for partition 4 (for /home).
then just 'a' for the bootable partition and choose 1 and 't' and choose 2 for swap. Hit 'p' to check over the partition scheme before a 'w' to wrtie it to disk.
You should see whether the 1075 multiplier is right when you create the second partition for swap. If it reports a 4GB partition created then you're ok but if not and it's out up or down slightly then just delete 2 and try again adjusting accordingly.
I've always had success working in MB (and a calculator) when using fdisk. I expected 1GB to equal 1024MB but actually found that if I used 1075 as a multiplier it gave the result I wanted.
For instance in the case you give above I would end up entering:
fdisk offers you the first starting sector (usually 2048) ok this then
+300MB (for /boot)
then ok the sector start for partition 2 and
+4300MB (to give the end sector for swap)
then again ok the start sector for 3 and
+215000MB (for /)
then you can just hit enter to ok the start and end sectors for partition 4 (for /home).
then just 'a' for the bootable partition and choose 1 and 't' and choose 2 for swap. Hit 'p' to check over the partition scheme before a 'w' to wrtie it to disk.
You should see whether the 1075 multiplier is right when you create the second partition for swap. If it reports a 4GB partition created then you're ok but if not and it's out up or down slightly then just delete 2 and try again adjusting accordingly.
Yup thats what I did. Found a guide today that showed exactly how to align the ssd properly in fdisk and also use a calculator at the end to make sure that every partition was aligned with 2048 etc.. Took me all day to finally have it the way I wanted slackware to work, including windows loading up. Hopefully one day soon I can reach knowledge level this community has and drop win(blows?) completely. I'm having fun doing and learning the linux babel. More fun than learning python tbh. Can't believe how much I learned in one day of trying to install slackware properly. I also re installed the kde because people keep telling me I need it.
Going to sleep now, but tomorrows task is to learn how to install nvidia drivers.
Btw, I am writing these details because maybe another newbie like me comes along and can use this thread as guidance in installation and setting up slackware. Thanks again for so many helpful posts.
Also i attempted to change the timeout time for lilo boot in Lilo.conf but nothing changed so i'm assuming i have to run the liloconfig again and just reinstall Lilo? Lilo scares me because i don't want to destroy it. But the boot time os driving me nuts. After pressing enter the scrolling text takes 15 to 20 sec to finally hit the log in screen.
When i boot windows 7 it takes a total of 5 sec after hitting enter in lilo (after reboot) .
The lilo timeout is not what determines how fast the boot process is. It only governs how much time lilo waits before starting to boot (there's a little timer at the bottom of the screen that says "Slackware" in big letters; it starts at 2 minutes by default and is circumvented by pressing "enter).
You can sometimes speed up your boot by adding the line
Code:
compact
near the top of /etc/lilo.conf. Read the lilo man page by entering
Code:
man lilo
for examples.
By the way, lilo really is pretty easy to figure out. Judging by your progress here, if you read the man page and do a bit of googling I don't think you'll have a problem. Have fun!
Last edited by Kallaste; 05-30-2013 at 08:27 AM.
Reason: typo
I still can't figure out how to install nvidia or nouveau blacklist. I downloaded the black list placed it in root and ran installpkg "nameofpackage", file or directory not found. I tried cd root then ran the command and still nothing. I tried /mnt/cdrom/extra/nouveaufolder/pkg , no directory. Tried cd to downloads. Placed file in / then again run installpkg nameofpkg.txz and nothing.
I still can't figure out how to install nvidia or nouveau blacklist. I downloaded the black list placed it in root and ran installpkg "nameofpackage", file or directory not found. I tried cd root then ran the command and still nothing. I tried /mnt/cdrom/extra/nouveaufolder/pkg , no directory. Tried cd to downloads. Placed file in / then again run installpkg nameofpkg.txz and nothing.
Just create a file BLACKLIST-nouveau.conf in /etc/modprobe.d, because that's what that package does
Code:
cd /etc/modprobe.d/
echo blacklist nouveau > BLACKLIST-nouveau.conf
for nvidia
download your dirver for your arch
Code:
chmod + x Nvidiaxxxxxxxxx.run
./Nvidiaxxxxxxxxx.run
The package is just there for convenience. If you use the installer for the Nvidia driver that comes from Nvidia's website it is not needed at all, the installer will blacklist the nouveau driver automatically.
If you still want to blacklist the driver manually just launch this command as root:
As a Slackware newbie myself I was a bit daunted by the prospect of loading the Nvidia drivers but in the end it was quite straightforward. I didn't even have to edit any config files. The SlackBuild packages along with the blacklist package from /extra did everything for me. If you can be a bit more specific as to exactly how you installed the driver, perhaps we might be of some help.
P.S. Welcome to Slackware. Now that I've had a taste I will never go back to anything else!
root@slackware:/usr/local/src# sh NVIDIA-Linux-x86-180.29-pkg1.run
Then the install started, answered yes to everything and went back to root. Some other guide said to type init 5 to restart server x at the end so I did that and then my screen turned black. Ctrl+alt+del didn't work, had to physically reboot. Now after linux text I get black screen. I installed the latest drivers for slackware 64, nvidia 319.23
Not sure if this is related but I made a pic of some linux message every time I logged out in xfce. Not sure if it's normal but when I clicked the logout button it would send me back to linux instead of login screen. Btw the picture is right before I started that tutorial to install drivers and I already had setup inittab to 4 earlier.
Start in runlevel 1 (hit the Tab key in the Lilo menu and type Linux 1) and check if the installer actually blacklisted the nouveau driver, the last Nvidia driver I used did that, but that was quite some time ago and maybe they changed that. If not, run the command given above to blacklist the driver and reboot.
Start in runlevel 1 (hit the Tab key in the Lilo menu and type Linux 1) and check if the installer actually blacklisted the nouveau driver, the last Nvidia driver I used did that, but that was quite some time ago and maybe they changed that. If not, run the command given above to blacklist the driver and reboot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.