====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
soc:2009:pravin:journal:week2 [2009/06/01 19:05] less1 |
soc:2009:pravin:journal:week2 [2009/06/10 12:33] (current) less1 |
||
---|---|---|---|
Line 15: | Line 15: | ||
== Problems with mounting with httpfs == | == Problems with mounting with httpfs == | ||
- | I am able to mount but the problem I am facing is that file is mounted as nosuid,nodev, which does not allow further mounting. | + | Check out [[HttpFSProbs]] for details |
- | <code> | + | |
- | $ ./httpfs http://127.0.0.1/dsl.iso ./test | + | |
- | $ mount | + | |
- | httpfs on /home/pravin/Etherboot/v2/httpfs/test type fuse.httpfs (rw,nosuid,nodev,user=pravin) | + | |
- | $ sudo losetup /dev/loop0 ./test/dsl.iso | + | few worries : |
- | ./test/dsl.iso: Permission denied | + | - If FUSE is used to mount root partition, then when actual user logs in, he may not see any of those files as they are mounted by root. |
+ | - Need to find FUSE option which will allow everyone to see the file. | ||
+ | - httpfs program does not accept any option :-(, How can I pass options ? | ||
- | </code> | + | PS: One way out can be that, root mounts iso over HTTP, then uses the local loop to mount that ISO. |
+ | I guess that, the ISO mounted by root is mounted using normal mount command, and hence should be readable by all. | ||
+ | and can also support other mount options if needed. \\ | ||
+ | I have not done this experiment yet, need to confirm before proceeding on this path.\\ | ||
+ | Done with this experiment, any user can view files if root remounts the iso file from httpfs with loop. | ||
+ | |||
+ | |||
+ | === June - 2 === | ||
+ | Done nothing useful, just some random reading | ||
+ | |||
+ | === June - 3 === | ||
+ | - Writing PHP code to support booting and using pxelinux from machines with static IP address.\\ | ||
+ | - Stuck with issue of permissions regarding opening files in write mode :-( | ||
+ | |||
+ | === June -4 === | ||
+ | - Suddenly enlightened by the memory that I have code for rom-o-matic :-) | ||
+ | - Got it running on my machine. | ||
+ | - Wrote and sent the patch so that it will be easy to host rom-o-matic on any machine. | ||
+ | - Patched rom-o-matic is hosted at http://www.alien.doesntexist.org/rom-o-matic/ | ||
+ | - Modifying rom-o-matic to support pxeknife [[PxeKnifeRomOMatic]] | ||
+ | |||
+ | === June - 5-6 === | ||
+ | - Done with pxe-generation for both static and dynamic networks | ||
+ | - modified rom-o-matic code to provide user with option to have add inbuilt BKO support. | ||
+ | |||
+ | === June - 9 === | ||
+ | - Getting up rom-o-matic with BKO support on etherboot. done [http://etherboot.org/share/pravin/BKO/rom-o-matic/] | ||
+ | - Because of some wired reason, even original rom-o-matic code is not producing any output. -- solved, the bin/NIC target was not compiled in and error reporting was turned off. | ||
+ | - The latest gpxe code, and gpxe version used by rom-o-matic, both are creating trubble while booting. [[ProbsBKORomOMatic]] | ||
+ | |||
+ | === June - 10 === | ||
+ | - Trying to fix the problem with BKO and Rom-O-Matic integration [[ProbsBKORomOMatic]] | ||
+ | - Adding DSL to pxeknife [[PxeKnifeDSL]] | ||
+ | - Trying to boot it over http. | ||
==== Few useful links ==== | ==== Few useful links ==== |