Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
soc:2009:pravin:journal:ubuntubko [2009/07/17 05:38]
less1
soc:2009:pravin:journal:ubuntubko [2009/07/27 05:26]
less1
Line 128: Line 128:
 what is the differnece between debian script and ubuntu script that filesystem.squashfs is not working with ubuntu, but it works with debian? what is the differnece between debian script and ubuntu script that filesystem.squashfs is not working with ubuntu, but it works with debian?
  
 +   - comparing ''​d/​scripts/​live''​ with ''​u/​scripts/​casper''​ --- too different, diff went crazy with this command. ​ They are as good as seperate program who do similar work.
 +   - comparing ''​d/​bin/​run-init''​ with ''​u/​bin/​run-init'',​ --- they are same.
 +   - comparing ''​d/​init''​ with ''​u/​init''​ -- not much of difference
 +
 +This approach is not working for me, I will try another approach.
 +
 +==== analyzing run_init.c ====
 +My guess is that, run_init.c is the one who is dying, and it seems he does allow you to specify the files which should not be deleted.
 +I want to see how to tell that to run_init.c
 +  - Another thing that I want to try out is, what if I dont delete the contents of initramfs? I will remove that check from run_init.c will system still boot?
 +    - My guess is that, ''​overmount /''​ may fail.
 +  - Now, I need to locate the source code of run_init.c
 +
 +===== Ubuntu over iscsi =====
 +  - Following the line of [[BKODebianISCSI|Debian over iscsi]], attempted the Ubuntu over iscsi, but it did not worked.
 +
 +
 +===== Problem found =====
 +  - From the progress in fedora, it seems that problem is because network is restarting itself, which kills the the network and mounted HTTPFS. ​ Culprits are 
 +    - ''/​etc/​init.d/​network''​
 +    - ''/​etc/​init.d/​NetworkManager''​
 +
 +===== Solution =====
 +The temporary hack implemented is **Delete these two files** before doing ''​run-init''​. ​ This hack works fine in this case, only problem is that the ''/​etc/​resolver.conf''​
 +entry remains empty so dns resolving does not work.  Need to fix this soon.
  

QR Code
QR Code soc:2009:pravin:journal:ubuntubko (generated for current page)