Jump to content

USB Works - Does not Show as a install target


Recommended Posts

Yo. SanDisk bombed on me (kinda worked great for a while) and I finally bought a replacement from Sebkinne at DerbyCon. Nice silver USB stick w/Hak5 logo. :)

ANywho I formatted 3GB of the USB stick as ext4, and the rest (831MB-ish) as swap. Works great. Problem is I can't seem to get it to show as an install target, only "Internal Storage" shows up. Thoughts?

I filled the filesystem just with logs a couple times already so I'm getting desperate for space ;)

Cheers,
Frank

Execute: cat /etc/opkg.conf
src/gz pineapple_packages http://cloud.wifipineapple.com/packages
dest root /
dest usb /mnt/usb
dest ram /tmp
lists_dir ext /var/opkg-lists
option overlay_root /overlay

Execute: free
total used free shared buffers
Mem: 29340 23416 5924 0 1504
-/+ buffers: 21912 7428
Swap: 842748 4 842744

root@Pineapple:/pineapple/infusions# opkg update
Downloading http://cloud.wifipineapple.com/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/pineapple_packages.

root@Pineapple:/pineapple/infusions# dmesg | grep sd
[ 13.260000] sd 0:0:0:0: [sda] 7831552 512-byte logical blocks: (4.00 GB/3.73 GiB)
[ 13.260000] sd 0:0:0:0: [sda] Write Protect is off
[ 13.270000] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
[ 13.270000] sd 0:0:0:0: [sda] No Caching mode page present
[ 13.270000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 13.280000] sd 0:0:0:0: [sda] No Caching mode page present
[ 13.290000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 13.290000] sda: sda1 sda2
[ 13.300000] sd 0:0:0:0: [sda] No Caching mode page present
[ 13.310000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 13.310000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 38.420000] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 40.980000] Adding 842748k swap on /dev/sda2. Priority:-1 extents:1 across:842748k
[ 41.260000] EXT4-fs (sda1): recovery complete
[ 41.270000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)

root@Pineapple:~# mount | grep sd
/dev/sda1 on /mnt/usb type ext4 (rw,sync,relatime,user_xattr,barrier=1,data=ordered)
root@Pineapple:~# swapon -s
Filename Type Size Used Priority
/dev/sda2 partition 842748 4 -1
root@Pineapple:~#

Infusion Installation
You are about to install the infusion "sslstrip".

Where would you like to install the infusion to?
Internal Storage





Link to comment
Share on other sites

Oops, forgot the /etc/fstab:

config global automount
option from_fstab 1
option anon_mount 1

config global autoswap
option from_fstab 1
option anon_swap 1

config mount
option target /mnt/usb
option device /dev/sda1
option fstype ext4
option options rw,sync
option enabled 1
option enabled_fsck 0

config swap
option device /dev/sda2
option enabled 1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...