NSLU2-Linux
view · edit · print · history

Upgrading from SlugOS 3.10 to SlugOS 4.x

  • Remove any optware feeds (you can put them back after your system has been upgraded)
  • if /tmp points to some ramdisk create a real /tmp on your usbstick to have enough room for upgrades
  • ipkg update
  • ipkg upgrade
  • Edit /etc/ipkg/cross-feed.conf and /etc/ipkg/native-feed.conf to point to the new feeds
  • ipkg update
  • ipkg upgrade diffutils
  • ipkg -noaction upgrade and fix any errors
  • ipkg upgrade
  • ipkg install rng-tools
  • ipkg remove kernel-module-af-packet kernel-image-2.6.16
  • ipkg install kernel-module-ixp4xx-qmgr kernel-module-ixp4xx-mac kernel-module-mii
  • ipkg install kernel-module-ohci-hcd kernel-module-uhci-hcd
  • ipkg install kernel-module-pata-artop kernel-module-via-velocity
  • depmod -a /lib/modules/2.6.21.7
  • Reboot into Upgrade Mode
  • Flash the new image using Upslug2 or the Sercomm Upgrade Tool.
  • Run "turnup disk" again to re-pivot to your disk.

Known issues:

Cannot create link over existing -/var/cache-.

Cannot create link over existing -/var/log-.

Cannot create link over existing -/var/lock-.

Cannot create link over existing -/var/run-.

Cannot create link over existing -/var/tmp-.

dropbear is not replaced by openssh

/var/lib/ipkg linked to /media/ram/var/lib/ipkg didn't work anymore - error was "ipkg: Cannot create directory `/var/lib/ipkg': File exists". I had to delete /var/lib/ipkg and all was well.

vjensen: ipkg -noaction upgrade and I had to remove zip, unzip, samba (my box uses NFS so I didn't care)

view · edit · print · history · Last edited by Pedxing.
Based on work by vjensen and rwhitby.
Originally by rwhitby.
Page last modified on April 30, 2008, at 12:27 AM