Hi,
I tried to NetBoot XBMCBuntu with nfsroot and nfscow but it seems that nfscow is not picked up and therefore just get the "read only" portion of the system.
The same config works with dharma livecd.
Any idea ?
Here is my pxelinux.cfg
prompt 0
default menu
implicit 0
timeout 30
menu title XBMCBuntu 11.0
ipappend 2
label menu
menu hide
kernel menu.c32
append XBMC-11.0/pxelinux.cfg
ipappend 0
label xbmccow
menu label XBMCLive NFS Persistent
menu default
kernel XBMC-11.0/casper/vmlinuz
append initrd=XBMC-11.0/casper/initrd.lz netboot=nfs nfsroot=192.168.0.2:/export/XBMC/11.0-XBMCBuntu ip=dhcp root=/dev/nfs usbcore.autosuspend=-1 video=vesafb boot=casper xbmc=autostart,nodiskmount,noredir splash quiet loglevel=0 quickreboot quickusbmodules notimezone noaccessibility noapparmor noaptcdrom noautologin noxautologin noconsolekeyboard nofastboot nognomepanel nohosts nokpersonalizer nolanguageselector nolocales nopowermanagement noprogramcrashes nojockey nosudo noupdatenotifier nouser nopolkitconf noxautoconfig noxscreensaver nopreseed union=aufs nfscow=192.168.0.2:/export/nfsroot/XBMC-11.0/client_mac_address
label safecow
menu label XBMCLive, NFS Persistent SAFE MODE
kernel XBMC-11.0/casper/vmlinuz
append initrd=XBMC-11.0/casper/initrd.lz netboot=nfs nfsroot=192.168.0.2:/export/XBMC/11.0-XBMCBuntu ip=dhcp root=/dev/nfs usbcore.autosuspend=-1 boot=casper xbmc=nodiskmount,noredir quiet loglevel=0 quickreboot quickusbmodules notimezone noaccessibility noapparmor noaptcdrom noautologin noxautologin noconsolekeyboard nofastboot nognomepanel nohosts nokpersonalizer nolanguageselector nolocales nopowermanagement noprogramcrashes nojockey nosudo noupdatenotifier nouser nopolkitconf noxautoconfig noxscreensaver nopreseed union=aufs nfscow=192.168.0.2:/export/nfsroot/XBMC-11.0/client_mac_address
[LIVE] XBMCBuntu nfscow not working
tafypz
Member Posts: 55 Joined: Aug 2009 Reputation: 0 |
2012-02-12 17:39
Post: #1
(This post was last modified: 2012-02-13 13:05 by tafypz.)
|
| find quote |
tafypz
Member Posts: 55 Joined: Aug 2009 Reputation: 0 |
2012-02-13 13:04
Post: #2
Solved the issue, I had to decompress initrd.lz.
I discovered that the casper scripts don't handle nfscow at all. I had to modify it to add the support. Works now.
(This post was last modified: 2012-02-13 13:06 by tafypz.)
|
| find quote |
oetelaar24
Junior Member Posts: 4 Joined: Feb 2012 Reputation: 0 |
2012-02-20 22:04
Post: #3
Hi tafypz,
Could you please tell us what you modified/did to get the nfscow to work? I'm currently using the v32 version of the casper beta 3 image, all works fine except the nfscow. I've ripped the initrd apart and I also see that there is no nfscow handling in the initrd\scripts\casper script. I've looked at the script from the 10.1 live cd, and in that initrd\scripts\live there is nfscow handling, however, the script is so much different, that I don't see where to put what. Thanks in advance. |
| find quote |
oetelaar24
Junior Member Posts: 4 Joined: Feb 2012 Reputation: 0 |
2012-02-20 23:19
Post: #4
Ok, found what to do. Actually quite a bit
![]() Here is a brief walk-trough: Uncompress and cpio out the original initrd.lz, using this info: http://blog.mybox.ro/2010/05/12/how-to-c...trd-image/ Then edit the <initrd>/scripts/casper-helpers. Add the folowing function: Code: get_mac ()Save the file. Then edit the file <initrd>/scripts/casper Add the following in the case $x that starts on line 35, adding the first line on line 64: Code: nfscow=*)Then on line 432 (just under the mkdir -p /cow), add the following: Code: cow_mountopt="rw,noatime"And then uncomment (place a # in front of) the line 482 (mount command) Please note, line numbers are according to the modified file! Then repack the initrd: Code: # find ./ | cpio -H newc -o > ../initrdEdenv32_nfscowHappy scripting! |
| find quote |
Noodle
Senior Member Posts: 159 Joined: Jan 2005 Reputation: 0 |
2012-04-01 23:31
Post: #5
This is really useful. However after modified script, the files under /etc didn't get persistent. Any idea?
Thanks Noodle |
| find quote |
enorlin
Junior Member Posts: 4 Joined: Jun 2010 Reputation: 1 |
2012-07-01 14:38
Post: #6
Just wanted to say thanks for the info in this thread. It works!
However there are some issues,
All in all I think the netboot is not really worth it at the moment. If you could use the builtin "casper-rw" persistency file support over NFS it would be neat, but I can't get that working... (If anyone has tried that succesfully, please post about it )
|
| find quote |
Noodle
Senior Member Posts: 159 Joined: Jan 2005 Reputation: 0 |
2012-08-01 18:48
Post: #7
/etc issue is because of scripts during XBMCBuntu startup, it keep creating /etc/passwd, /etc/shadow every time which almost overwrite your change.
|
| find quote |
oetelaar24
Junior Member Posts: 4 Joined: Feb 2012 Reputation: 0 |
2013-01-17 13:21
Post: #8
Actually it's pretty strange that the support for NFS COW was/is broken.
It's such a valuable addition to the whole xbmc linux package. I haven't tested Frodo yet, but it seems that it also doesn't work on that release. Is there any way to get a developer for xbmc-linux to address this issue? Should we post a bugreport? |
| find quote |
Noodle
Senior Member Posts: 159 Joined: Jan 2005 Reputation: 0 |
2013-04-22 00:11
Post: #9
And even Frodo XBMCbuntu still doesn't support nfs cow yet!
|
| find quote |


Search
Help