Jump to content

Archived

This topic is now archived and is closed to further replies.

OpCode90

Booting Kali From USB HDD - Raspberry Pi?

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...