OpCode90 Posted May 20, 2014 Share Posted May 20, 2014 been trying all night to get this to work. ive got the file system onto the external hdd. can someone point me in the right direction to free up the sd card for RAM and run kali from my usb hdd? thanks Quote Link to comment Share on other sites More sharing options...
phpsystems Posted May 20, 2014 Share Posted May 20, 2014 You could try writing the image directly to the hard drive with DD. Of course, this will make getting any data you have on the drive in accessible. Once installed, you should be able to resize the partitions. Quote Link to comment Share on other sites More sharing options...
OpCode90 Posted May 20, 2014 Author Share Posted May 20, 2014 yea ive gotten that far. I have 2 partitions on HDD. 1 for the file system /dev/sdb1 (950GB) and another for the Linux swap /dev/sdb2 (15GB). the Rpi image of Kali doesn't have a /boot/conifg.txt so ive been trying every tutorial ive seen online and haven't had any luck. Quote Link to comment Share on other sites More sharing options...
phpsystems Posted May 20, 2014 Share Posted May 20, 2014 Depending on how the RPi boots, you might have to keep the main files on the hard-drive, with the SD card holding the bootloader, using the rest as swap. Did you create those partitions by hand, or did you do something like: dd if=kali-pi.img of=/dev/sdb bs=512k Where sdb is your usb hdd. Quote Link to comment Share on other sites More sharing options...
phpsystems Posted May 20, 2014 Share Posted May 20, 2014 http://forum.stmlabs.com/showthread.php?tid=481 Quote Link to comment Share on other sites More sharing options...
OpCode90 Posted May 20, 2014 Author Share Posted May 20, 2014 yea I used dd command above wrote kali to my sd card. booted into kali and set up partitions on hard drive and copied the file system over to the partition for Linux. expanded partition to use entire 950GB. Quote Link to comment Share on other sites More sharing options...
phpsystems Posted May 20, 2014 Share Posted May 20, 2014 So all you need to do is tell Kali to find the file systems on the HDD then. http://forum.stmlabs.com/showthread.php?tid=481 This link should explain how to do that. Quote Link to comment Share on other sites More sharing options...
OpCode90 Posted May 20, 2014 Author Share Posted May 20, 2014 (edited) Http://www.c-mobberley.com/wordpress/2013/04/13/moving-raspberry-pi-root-folders-from-sd-card-to-usb-hdd/ Has pretty detailed info also. Between these two sites hopefully I can work this out. Thanks guys and I'll update if I manage to make it work Edited May 20, 2014 by OpCode90 Quote Link to comment Share on other sites More sharing options...
OpCode90 Posted May 20, 2014 Author Share Posted May 20, 2014 Alright I'm waiting on /dev/sdb1 (HDD Partition) to finish the resize2fs function and fill the entire HDD with the Kali file system and then all I have left is to work on the fstab & to edit the boot cmdline.txt.. I know the RPi Kali image doesn't have a working cmdline.txt so can anyone point me in the right direction with info on making this work? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.