LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-02-2015, 04:09 PM   #1
AvinashSam
LQ Newbie
 
Registered: Jan 2015
Location: India
Distribution: Kali
Posts: 11

Rep: Reputation: Disabled
Help me !


hi,i installed kali linux amd64 v 1.0.9 with dualboot in windows 8,how to allocate SWAP memory after complete installtion of kali linux ?
 
Old 01-02-2015, 05:11 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
you do that in the installer ,during the install.
the default is something like 2 gig

also Kali is a operating system DESIGNED !!! by EXPERTS!!! for use BY EXPERTS!!!
and by EXPERT i DO mean someone with a 6 year degree in computer sciences or like in real world experience

please heed the WARNING the developers posted !!!

http://docs.kali.org/introduction/sh...use-kali-linux

"Is Kali Linux Right For You?"
Quote:
As the distribution developers, one would likely expect us to recommend that everyone use Kali Linux. The fact of the matter is however, that Kali is a Linux distribution specifically geared towards professional penetration testing and security auditing and as such, it is NOT a recommended distribution for those unfamiliar with Linux.

In addition, misuse of security tools within your network, particularly without permission, may cause irreparable damage and result in significant consequences.

If you are looking for a Linux distribution to learn the basics of Linux and need a good starting point, Kali Linux is not the ideal distribution for you. You may want to begin with Ubuntu or Debian instead.
those "significant consequences" often involve law enforcement
 
1 members found this post helpful.
Old 01-02-2015, 06:21 PM   #3
AvinashSam
LQ Newbie
 
Registered: Jan 2015
Location: India
Distribution: Kali
Posts: 11

Original Poster
Rep: Reputation: Disabled
Thanks,i m new to linux,i dont know anything about it,but i wish to know about kali linux bcz of lot of hacking tools.So onlyi got interest in that.
 
Old 01-02-2015, 08:14 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,925

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
Quote:
Originally Posted by AvinashSam View Post
Thanks,i m new to linux,i dont know anything about it,but i wish to know about kali linux bcz of lot of hacking tools.So onlyi got interest in that.
You should also have interest in the LQ rules. Don't use text speak, and NO ONE here is going to help you for hacking purposes.
 
Old 01-02-2015, 08:57 PM   #5
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 510

Rep: Reputation: 120Reputation: 120
Suppose you have no free space at your hard drive to create dedicated swap partition.
If so you could create a swap file at your root partition.
At first run
Code:
df -h
command to see how much of free space do you have at your / partition, do you have enough free space to fit swap file there.
Then run this command to create swap file:
Code:
sudo dd if=/dev/zero of=/swp bs=1M count=2000
it will create file with size of 2Gb. You can adjust count to create it larger or smaller.
Create a filesystem on this file and enable swapping:
Code:
sudo mkswap /swp
sudo swapon /swp
If you do all the steps properly you can see you swap enabled by running
Code:
swapon -s
To activate swap at boot add this string to /etc/fstab:
Code:
/swp  none  swap  sw  0  0
 
1 members found this post helpful.
Old 01-02-2015, 09:50 PM   #6
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest, has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,101
Blog Entries: 2

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
"Hacking" tools that may now be used against you+ and both OS's\your-data++...
You can't shrink the partition while using it so just use a live (your Kali disk will probably do) distros partitioning tool from menu under systems settings or something and shrink your Linux or winplows partition (or can shrink microcoughed8 from it's partitioning tool,) make free space a Linux swap partition and I think Kali well recognize and start using it, you will have to check.

Second link in my signature and best wishes, have fun.

Edit\add: http://www.linuxquestions.org/questi...3/#post5298504
http://www.linuxquestions.org/questi...2/#post5298529

Last edited by jamison20000e; 01-10-2015 at 11:03 AM.
 
1 members found this post helpful.
Old 01-02-2015, 09:56 PM   #7
AvinashSam
LQ Newbie
 
Registered: Jan 2015
Location: India
Distribution: Kali
Posts: 11

Original Poster
Rep: Reputation: Disabled
thanks a lot teufel, successfully did your all comments execpt the last comment
/swp none swap sw 0 0 this comment shows permisson denied
 
Old 01-02-2015, 09:57 PM   #8
AvinashSam
LQ Newbie
 
Registered: Jan 2015
Location: India
Distribution: Kali
Posts: 11

Original Poster
Rep: Reputation: Disabled
thansk jamison
 
1 members found this post helpful.
Old 01-02-2015, 10:18 PM   #9
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest, has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,101
Blog Entries: 2

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
Quote:
Originally Posted by Teufel View Post
...
To activate swap at boot add this string to /etc/fstab:
Code:
/swp  none  swap  sw  0  0
Code:
sudo vi /etc/fstab
...

Last edited by jamison20000e; 01-02-2015 at 11:15 PM.
 
Old 01-02-2015, 11:22 PM   #10
jamison20000e
Senior Member
 
Registered: Nov 2005
Location: ...uncanny valley... infinity\1975; (randomly born:) Milwaukee, WI, US, Earth, end border$! ◣◢┌∩┐ Fe26-E,e...
Distribution: any GPL that works well on my cheapest, has been KDE or CLI but open... http://goo.gl/NqgqJx &c ;-)
Posts: 3,101
Blog Entries: 2

Rep: Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840Reputation: 840
^Edit^ ⇑
 
Old 01-03-2015, 05:09 AM   #11
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 510

Rep: Reputation: 120Reputation: 120
Quote:
Originally Posted by AvinashSam View Post
successfully did your all comments execpt the last comment
/swp none swap sw 0 0 this comment shows permisson denied
it isn't a comment. It is a string you have to add to /etc/fstab file.
Use "sudo nano /etc/fstab" or "sudo vi /etc/fstab" to open that file with text editor and append above string at the end.

Another way to append it using CLI, it requires root password:
Code:
su -
echo "/swp none swap sw 0 0" >> /etc/fstab

Last edited by Teufel; 01-03-2015 at 05:11 AM.
 
1 members found this post helpful.
Old 01-03-2015, 05:58 AM   #12
vincix
Member
 
Registered: Feb 2011
Distribution: Centos 6.7, 7
Posts: 514

Rep: Reputation: 48
Quote:
Originally Posted by AvinashSam View Post
Thanks,i m new to linux,i dont know anything about it,but i wish to know about kali linux bcz of lot of hacking tools.So onlyi got interest in that.
If you're planning to learn hacking and you're a newbie, then Kali is probably NOT the best solution to start with, despite those hacking tools, as some people have already mentioned in this thread.

You can learn the basics of hacking with much more user friendly distros such as Ubuntu, Fedora or even CentOS (which in general is for server purposes). I think you've been misled by what Kali is meant to be. Those hacking tools should be used by experts, not by people who don't know the basics of linux. Roughly all the linux distros have more than enough flexibility for a newbie to tinker with.

If you weren't able to create a swap partition when you installed your linux distro, then it's just plain silly to go on with Kali linux.

P.S. When creating a thread, you should also choose a relevant name for it, not just "Help me". It helps both the users who try to help you and the search engines.

Last edited by vincix; 01-03-2015 at 06:04 AM.
 
2 members found this post helpful.
Old 01-03-2015, 07:03 AM   #13
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 510

Rep: Reputation: 120Reputation: 120
I'm just wondering what Kali Linux is? Is it something especiall?
Can I do with Kali something that I can't with my Gentoo? Or with Ubuntu?
Why everyone adviced to abandon it? Is it really so dangerous to use it?

Seems I have to download and try it, may be it equipped with atomic weapons...
 
Old 01-03-2015, 07:19 AM   #14
vincix
Member
 
Registered: Feb 2011
Distribution: Centos 6.7, 7
Posts: 514

Rep: Reputation: 48
Quote:
Originally Posted by Teufel View Post
I'm just wondering what Kali Linux is? Is it something especiall?
Can I do with Kali something that I can't with my Gentoo? Or with Ubuntu?
Why everyone adviced to abandon it? Is it really so dangerous to use it?

Seems I have to download and try it, may be it equipped with atomic weapons...
Well, now at least you know that you're going to install it and go all the way with it. The more forbidden it seems, the more your interest grows, despite the common-sensical advice. If you still haven't understood that Kali is simply difficult to deal with and there are better options for whatever you want to do, then there's nothing more to add.
 
Old 01-03-2015, 07:37 AM   #15
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 510

Rep: Reputation: 120Reputation: 120
Quote:
Originally Posted by vincix View Post
If you still haven't understood that Kali is simply difficult to deal with and there are better options for whatever you want to do, then there's nothing more to add.
Could you be so kind to enlighten me what kind of difficulties I might experience with Kali?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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




All times are GMT -5. The time now is 03:01 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration