LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-29-2013, 02:57 PM   #46
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761

Quote:
Originally Posted by SwoleGeek View Post
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.
sure, why not
 
Old 05-29-2013, 03:27 PM   #47
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by SwoleGeek View Post
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.
 
Old 05-29-2013, 03:35 PM   #48
rkfb
Member
 
Registered: Oct 2003
Location: Guildford, England
Distribution: Slackware64 15.0 running i3
Posts: 494

Rep: Reputation: 174Reputation: 174
Quote:
Originally Posted by SwoleGeek View Post
Ok, well I have a more pressing matter now. Two installs and fdisk decided to ignore my partitions and made them wrong:

When I set it up in linux it was like this:

/boot - 300MB
/swap - 4GB
/ - 200GB
/home - 261.xxGB

But my partitions look like this now:

http://i.imgur.com/7D3TG2V.jpg

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.
 
Old 05-29-2013, 10:26 PM   #49
SwoleGeek
Member
 
Registered: May 2013
Location: In the gym
Distribution: Slackwarew 14 64x
Posts: 40

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rkfb View Post
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.

Last edited by SwoleGeek; 05-29-2013 at 10:29 PM.
 
Old 05-30-2013, 08:24 AM   #50
Kallaste
Member
 
Registered: Nov 2011
Distribution: Slackware
Posts: 363

Rep: Reputation: 85
Quote:
Originally Posted by SwoleGeek View Post

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
 
Old 05-30-2013, 05:03 PM   #51
SwoleGeek
Member
 
Registered: May 2013
Location: In the gym
Distribution: Slackwarew 14 64x
Posts: 40

Original Poster
Rep: Reputation: Disabled
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.
 
Old 05-30-2013, 05:25 PM   #52
Nikosis
Member
 
Registered: Dec 2005
Location: In front of the monitor
Distribution: Slackware
Posts: 322

Rep: Reputation: 59
Quote:
Originally Posted by SwoleGeek View Post
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

Last edited by Nikosis; 05-30-2013 at 05:29 PM.
 
Old 05-30-2013, 05:27 PM   #53
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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:
Code:
echo "blacklist nouveau" > /etc/modprobe.d/blacklist-nouveau.conf
 
Old 05-30-2013, 06:57 PM   #54
SwoleGeek
Member
 
Registered: May 2013
Location: In the gym
Distribution: Slackwarew 14 64x
Posts: 40

Original Poster
Rep: Reputation: Disabled
Ok i installed the latest drivers but now after reboot and scrolling linux text my screen is black.
 
Old 05-30-2013, 07:07 PM   #55
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 14
Posts: 330

Rep: Reputation: 46
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!
 
Old 05-30-2013, 07:17 PM   #56
SwoleGeek
Member
 
Registered: May 2013
Location: In the gym
Distribution: Slackwarew 14 64x
Posts: 40

Original Poster
Rep: Reputation: Disabled
Well, I followed the following guide:

http://www.basicconfig.com/linuxtips...lackware_linux

Went right up to this step:

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
 
Old 05-30-2013, 07:27 PM   #57
SwoleGeek
Member
 
Registered: May 2013
Location: In the gym
Distribution: Slackwarew 14 64x
Posts: 40

Original Poster
Rep: Reputation: Disabled
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.


http://i.imgur.com/S2OUH1P.jpg


I should also note my install is on SSD and HDD

SDD:

boot
/
/home

HDD:

/swap
/usr
/var

Last edited by SwoleGeek; 05-30-2013 at 07:31 PM.
 
Old 05-30-2013, 07:29 PM   #58
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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.
 
Old 05-30-2013, 07:35 PM   #59
digger95
Member
 
Registered: Oct 2007
Location: Indiana, PA
Distribution: Slackware 14
Posts: 330

Rep: Reputation: 46
Oh okay... well I didn't do anything near as complicated... all I did was build and/or install the following five packages in the following order:

graphviz
libvdpau
xf86-video-nouveau-blacklist (from /extra)
nvidia-kernel
nvidia-driver

To build the driver and kernel packages I edited the SlackBuilds to reflect the proper version number.

That's all I had to do, but of course you're working with a different driver version.

Good luck!

Last edited by digger95; 05-31-2013 at 04:26 AM.
 
Old 05-30-2013, 07:49 PM   #60
SwoleGeek
Member
 
Registered: May 2013
Location: In the gym
Distribution: Slackwarew 14 64x
Posts: 40

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
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.

Did this and echo command but still black screen

Last edited by SwoleGeek; 05-30-2013 at 07:53 PM.
 
  


Reply



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
[SOLVED] Newbie to Slackware questions TigerLinux Slackware 96 01-16-2011 04:40 PM
newbie slackware questions slinky2004 Slackware - Installation 5 10-05-2004 02:57 PM
Interested in switching to linux, some questions. blackflare Linux - Newbie 10 10-01-2004 10:11 AM
A few Slackware questions (I'm a newbie) Trust Slackware 25 03-21-2004 02:40 AM
newbie/ssh/slackware - questions renato167 Slackware 14 12-16-2003 07:31 PM

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

All times are GMT -5. The time now is 08:18 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
Open Source Consulting | Domain Registration