Active Topics

 


Reply
Thread Tools
Posts: 3 | Thanked: 0 times | Joined on May 2015
#51
Originally Posted by saponga View Post
The image doesn't include metasploit.
Let me get this straight:

1. metasploit is not preinstalled on this kali
2. no new packets can't be installed because the filesystem goes to readonly-mode by default

If the above is the case with all of you guys, I'm not too unhappy about not being able to install this at all...
 
jellyroll's Avatar
Posts: 435 | Thanked: 684 times | Joined on Apr 2012 @ Netherlands 020
#52
Originally Posted by geera View Post
Let me get this straight:

1. metasploit is not preinstalled on this kali
2. no new packets can't be installed because the filesystem goes to readonly-mode by default

If the above is the case with all of you guys, I'm not too unhappy about not being able to install this at all...
It's possible to install new packages but i can't install metasploit or packages that depend on it.

Last edited by jellyroll; 2015-06-02 at 14:06.
 
Posts: 45 | Thanked: 136 times | Joined on Jan 2012 @ Hyderabad
#53
Originally Posted by geera View Post
Let me get this straight:

1. metasploit is not preinstalled on this kali
2. no new packets can't be installed because the filesystem goes to readonly-mode by default

If the above is the case with all of you guys, I'm not too unhappy about not being able to install this at all...
You can install it by mounting your memory card to your linux PC, then chroot to it. There you can install everything
 
jellyroll's Avatar
Posts: 435 | Thanked: 684 times | Joined on Apr 2012 @ Netherlands 020
#54
Originally Posted by rapol.goutham View Post
You can install it by mounting your memory card to your linux PC, then chroot to it. There you can install everything
Many thanks.
I did mount the Kali file system on a Linux lC and installed metasploit successfully. I couldn't upgrade Kali in the chroot environment.I received the following error.

Preparing to replace libxrender1:armhf 1:0.9.7-1+deb7u1+b1 (using .../libxrender1_1%3a0.9.7-1+deb7u2_armhf.deb) ...
Unpacking replacement libxrender1:armhf ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.16.0-rc1+
/bin/df: Warning: cannot read table of mounted file systems: No such file or directory
warning: failed to read mtab



^Cdpkg: error processing initramfs-tools (--unpack):
subprocess installed post-installation script was interrupted
Processing triggers for man-db ...
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@JellyRoll:/home#
 
Posts: 45 | Thanked: 136 times | Joined on Jan 2012 @ Hyderabad
#55
Originally Posted by jellyroll View Post
Many thanks.
I did mount the Kali file system on a Linux lC and installed metasploit successfully. I couldn't upgrade Kali in the chroot environment.I received the following error.

Preparing to replace libxrender1:armhf 1:0.9.7-1+deb7u1+b1 (using .../libxrender1_1%3a0.9.7-1+deb7u2_armhf.deb) ...
Unpacking replacement libxrender1:armhf ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.16.0-rc1+
/bin/df: Warning: cannot read table of mounted file systems: No such file or directory
warning: failed to read mtab



^Cdpkg: error processing initramfs-tools (--unpack):
subprocess installed post-installation script was interrupted
Processing triggers for man-db ...
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@JellyRoll:/home#
Try these commands before chroot,
(Replace <chrootdir> with your kali memory card rootfs mount point)

mount -t proc none <chrootdir>/proc
mount -t sysfs none <chrootdir>/sys
mount -o bind /dev <chrootdir>/dev
mount -o bind /dev/pts <chrootdir>/dev/pts
mount -o bind /tmp <chroodir>/tmp

Now chroot to your kali rootfs, then reinstall your application again.
After exiting chroot, unmount all the above mount points.

umount <chrootdir>/proc
umount <chrootdir>/sys
umount <chrootdir>/dev
umount <chrootdir>/dev/pts
umount <chroodir>/tmp
 

The Following User Says Thank You to rapol.goutham For This Useful Post:
jellyroll's Avatar
Posts: 435 | Thanked: 684 times | Joined on Apr 2012 @ Netherlands 020
#56
Originally Posted by rapol.goutham View Post
Try these commands before chroot,
(Replace <chrootdir> with your kali memory card rootfs mount point)

mount -t proc none <chrootdir>/proc
mount -t sysfs none <chrootdir>/sys
mount -o bind /dev <chrootdir>/dev
mount -o bind /dev/pts <chrootdir>/dev/pts
mount -o bind /tmp <chroodir>/tmp

Now chroot to your kali rootfs, then reinstall your application again.
After exiting chroot, unmount all the above mount points.

umount <chrootdir>/proc
umount <chrootdir>/sys
umount <chrootdir>/dev
umount <chrootdir>/dev/pts
umount <chroodir>/tmp
It's working thanks.
 
Posts: 3 | Thanked: 0 times | Joined on Jul 2015
#57
Hello
I tried to install kali on a 8 GB sd card but I get the following error

"Target file system doesn't have requested /sbin/init.
No init found. Try passing init= bootarg

can't access tty: job control turned off
(initramfs)

"
I know that this error was seen before, but no one it's saying how they get rid of it.
I checked the partitions with garted and also written the image with dd rescue and ddrescue, same error, also reinstalled maemo and u-boot and tried again, same error.

What I am doing wrong ?

Thank you for any help.
 
Posts: 45 | Thanked: 136 times | Joined on Jan 2012 @ Hyderabad
#58
Originally Posted by florin198 View Post
Hello
I tried to install kali on a 8 GB sd card but I get the following error

"Target file system doesn't have requested /sbin/init.
No init found. Try passing init= bootarg

can't access tty: job control turned off
(initramfs)

"
I know that this error was seen before, but no one it's saying how they get rid of it.
I checked the partitions with garted and also written the image with dd rescue and ddrescue, same error, also reinstalled maemo and u-boot and tried again, same error.

What I am doing wrong ?

Thank you for any help.
If your boot parameters are correct, the image may not be written to the sdcard properly or our sdcard is bad. Are you able to chroot to your sdcard?
Please paste here the output of 'fdisk -l' command.
 
Posts: 3 | Thanked: 0 times | Joined on Jul 2015
#59
Hello,
I have a new 8GB class 10 sd card, I don't think is bad.
Apparently I can chroot

"Nokia-N900:~# mount /dev/mmcblk1p2 /mnt/kali/
Nokia-N900:~# ls /mnt/kali/
bin etc lost+found opt run srv usr
boot home media proc sbin sys var
dev lib mnt root selinux tmp
"


Here is the output from fdisk -l
"fdisk -l

Disk /dev/mmcblk1: 8068 MB, 8068792320 bytes
4 heads, 32 sectors/track, 123120 cylinders
Units = cylinders of 128 * 512 = 65536 bytes

Device Boot Start End Blocks Id System
/dev/mmcblk1p1 1 1954 125000 c Win95 FAT32 (LBA)
/dev/mmcblk1p2 1969 93744 5873664 83 Linux
/dev/mmcblk1p3 93745 96000 144384 82 Linux swap

Disk /dev/mmcblk0: 32.0 GB, 32015122432 bytes
4 heads, 16 sectors/track, 977024 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 2 884865 28315648 c Win95 FAT32 (LBA)
/dev/mmcblk0p2 884866 950401 2097152 83 Linux
/dev/mmcblk0p3 950402 974977 786432 82 Linux swap
"
 
Posts: 3 | Thanked: 0 times | Joined on Jul 2015
#60
I can chroot and also can install programs on this kali rootfs
 
Reply

Tags
kali armhf, kali n900, kali nokia n900, kali rx51, linux n900


 
Forum Jump


All times are GMT. The time now is 16:22.