Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB Installer #23

Open
Jayala0 opened this issue Mar 17, 2014 · 2 comments
Open

USB Installer #23

Jayala0 opened this issue Mar 17, 2014 · 2 comments

Comments

@Jayala0
Copy link

Jayala0 commented Mar 17, 2014

I have issues with the provisioning.sh file

It says it has a problem reading the partition table and aborts the install and the device is left unformatted, I tried to format it again with fdisk, giving a Sun label again but the same problem occurs again.

Thanks in advance

@minshallj
Copy link
Contributor

It sounds like you are getting to this line:
https://github.com/cozybit/distro11s/blob/master/scripts/provisioning.sh#L63

Above it we are trying to make a new partition on your device with fdisk. Running that command works fine on my system (Ubuntu 13.10 with fdisk 2.20.1, and on a debian 7 system as well)

Is it possible that you are sending a partition rather than a device to the program? (e.g. /dev/sdb1 when you should put /dev/sdb)

You might want to try the fdisk command by hand and see where it fails. Make sure you unmount all partitions first, then run a sudo fdisk /dev/sdb (where sdb is replaced by whatever the device name for your usb is) and then type
n
p
1

a
1
w
You should be able to see what each of those mean if you type m for help while inside the interactive fdisk.
Be careful though, this could ruin your system if you pass the wrong device. I usually do a sudo fdisk -l to make sure I am passing the device that is the correct size of my usb drive.

If this seems to work fine for you, then it may be somewhere else in the script that things are failing. In that case put a set -x at the top of the script and then send back the line where it failed.

@Jayala0
Copy link
Author

Jayala0 commented Mar 24, 2014

Thanks for your help, I was just not pointing to the correct device. Im kinda newbie in Linux.

I am required to build and test a mesh network using open80211 with USB dongles and I'm still a bit confused. I have 3.11.0-15 kernel and I have already built distro11s in my folder in 2 computers and followed the instructions on how to set up a mesh I had success and I'm currently working on catching the frames with wireshark.

Does working with the iw tool already makes the mesh work with open11s and if that is so does tweaking the code parameters of the distro11s/src/kernel/net/wireless files change the protocol configuration or do I have to change the ones in the own kernel mac80211?

Sorry for the delay I was trying to work my way. Thanks for your time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants