Netboot fix

Jamesbond reported a problem with netboot, testing Wary 5.0, but it is a Woof problem and also applies to Lucid Puppy.

Jamesbond posted a solution as well:
http://murga-linux.com/puppy/viewtopic.php?t=63400&start=165

Shinobar refined the solution:
http://murga-linux.com/puppy/viewtopic.php?t=63400&start=180

I have applied this fix to Woof.


Posted on 16 Jan 2011, 7:54


Comments:

Posted on 16 Jan 2011, 8:09 by shinobar
another init patches
Thanks Barry.
I made another patches against the init, both applied at wary-500j05.

1.usbhd.patch
758c758

< [ "$REMOVABLEDRVSAVE" = "1" ] && PUPMODE=7
---
> [ "$REMOVABLEDRVSAVE" = "1" -a "$PMEDIA" != "usbhd" ] && PUPMODE=7 # shinobar
766c766
< [ "$REMOVABLEDRVSAVE" = "1" ] && PUPMODE=13
---
> [ "$REMOVABLEDRVSAVE" = "1" -a "$PMEDIA" != "usbhd" ] && PUPMODE=13 # shinobar

2.unetbootin.patch
550,552c550,553

< if [ "$ONEDRVL" != "sr" -a "$PMEDIA" = "cd" ];then #101021 avoid finding vmlinuz on hd.
< echo "Bypass looking for vmlinuz on $ONEDEV"
< else
---
> # shinobar: allow unetbootin
> #if [ "$ONEDRVL" != "sr" -a "$PMEDIA" = "cd" ];then #101021 avoid finding vmlinuz on hd.
> # echo "Bypass looking for vmlinuz on $ONEDEV"
> #else
573c574
< IGNORE='sr' #refinement, if vmlinuz not on optical drive, don't probe it.
---
> [ "$PMEDIA" = "cd" ] || IGNORE='sr' # shinobar: allow unetbootin #refinement, if vmlinuz not on optical drive, don't probe it. # 29dec10 shinobar
585c586
< fi
---
> #fi #shinobar

Take a consider please.




Posted on 16 Jan 2011, 10:28 by BarryK
re usbhd patch
I like the first one, the usbhd patch, have applied it.

I am still not sure about making that change for unetbootin. I would rather that the unetbootin developer made the change to modify the pmedia entry.



Posted on 16 Jan 2011, 21:23 by jamesbond
Thanks Barry, shinobar!
Thanks Barry, shinobar!


Posted on 21 Jan 2011, 19:29 by shinobar
unetbootin
Found the fix for network boot also allows unetbootin.
Note: Searching the pupsave for 2 level deep takes long time.


Posted on 24 Jan 2011, 8:27 by perthie
Unetbootin Patch at the Source
Read here: https://bugs.launchpad.net/unetbootin/+bug/700671