LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help me ! (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-4175529844/)

AvinashSam 01-02-2015 03:09 PM

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 ?

John VV 01-02-2015 04:11 PM

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

AvinashSam 01-02-2015 05:21 PM

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.

TB0ne 01-02-2015 07:14 PM

Quote:

Originally Posted by AvinashSam (Post 5294380)
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.

Teufel 01-02-2015 07:57 PM

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

jamison20000e 01-02-2015 08:50 PM

"Hacking" tools that may now be used against you+ and both OS's\your-data++...
:newbie:
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

AvinashSam 01-02-2015 08:56 PM

thanks a lot teufel, successfully did your all comments execpt the last comment
/swp none swap sw 0 0 this comment shows permisson denied

AvinashSam 01-02-2015 08:57 PM

thansk jamison

jamison20000e 01-02-2015 09:18 PM

Quote:

Originally Posted by Teufel (Post 5294445)
...
To activate swap at boot add this string to /etc/fstab:
Code:

/swp  none  swap  sw  0  0

Code:

sudo vi /etc/fstab
...

jamison20000e 01-02-2015 10:22 PM

^Edit^ ⇑:o⇧

Teufel 01-03-2015 04:09 AM

Quote:

Originally Posted by AvinashSam (Post 5294465)
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


vincix 01-03-2015 04:58 AM

Quote:

Originally Posted by AvinashSam (Post 5294380)
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.

Teufel 01-03-2015 06:03 AM

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... :scratch:

vincix 01-03-2015 06:19 AM

Quote:

Originally Posted by Teufel (Post 5294642)
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... :scratch:

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.

Teufel 01-03-2015 06:37 AM

Quote:

Originally Posted by vincix (Post 5294649)
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?


All times are GMT -5. The time now is 10:01 AM.