Help - Search - Members - Calendar
Full Version: Oz 3.5.4 Reflash Not Completely Wiping Device
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Angstrom & OpenZaurus
tekisui
I'm reflashing OpenZaurus alot because I'm fiddling with packages and .deb files, and other things, and I need to be able to start clean so I don't accidentally give myself libraries and things without documenting that I installed them. Each time I reflash OpenZaurus, I'm noticing libraries and things from previous installs persist in the list of installed packages. Also, the username of the previous owner keeps showing up as a folder in / after each reflash. I'm not that familiar with the 5600's inner workings about where it backs things up/caches things/etc, so I'm obviously missing something when I reflash. I want to be able to completely zero the thing out. No previous information, no previous data, nothing. Just a clean OZ install. I've even tried flashing other roms, then flashing OZ back on over that. Same story. I've made sure the CF card I'm using for flasing is clean other than the OZ files, I'm dug thought the filesystem as best I could... What am I missing?

(Ignore the sig.. That's what I had about a year ago..)
CoreDump
QUOTE(tekisui @ Jun 7 2006, 04:12 PM)
I'm reflashing OpenZaurus alot because I'm fiddling with packages and .deb files, and other things, and I need to be able to start clean so I don't accidentally give myself libraries and things without documenting that I installed them. Each time I reflash OpenZaurus, I'm noticing libraries and things from previous installs persist in the list of installed packages. Also, the username of the previous owner keeps showing up as a folder in / after each reflash. I'm not that familiar with the 5600's inner workings about where it backs things up/caches things/etc, so I'm obviously missing something when I reflash. I want to be able to completely zero the thing out. No previous information, no previous data, nothing. Just a clean OZ install. I've even tried flashing other roms, then flashing OZ back on over that. Same story. I've made sure the CF card I'm using for flasing is clean other than the OZ files, I'm dug thought the filesystem as best I could... What am I missing?

(Ignore the sig.. That's what I had about a year ago..)
*


The Poodle has two flash partitions: "/" (ie: the rootfs) and /home.

The rootfs is completely wiped on a reflash, /home stays untouched (which is intended).
Sounds like you should clean out your /home directory.
tekisui
Ok so BEFORE reflash, just:

su
cd /home
rm -rf *.*

Right?

When the f is my sig gonna update.....
CoreDump
QUOTE(tekisui @ Jun 7 2006, 04:26 PM)
Ok so BEFORE reflash, just:

su
cd /home
rm -rf *.*

Right?

When the f is my sig gonna update.....
*


Almost correct. Replace the DOS pattern *.* with * and you are set.
tekisui
Can you tell I work in an all-Windows company? :-p
Thanks for the help. Trying now..
CoreDump
QUOTE(tekisui @ Jun 7 2006, 04:46 PM)
Can you tell I work in an all-Windows company? :-p
Thanks for the help. Trying now..
*


biggrin.gif So do I. But thank GOD I don't have to support these machines.
tekisui
What, the Zaurus? Yeah, death first. Supporting these things would SUCK. They're definitely not for the feint of heart or the non-tinkering type.
Ok I deleted the /home contents completely... Reflashing...
CoreDump
QUOTE(tekisui @ Jun 7 2006, 04:52 PM)
What, the Zaurus? Yeah, death first. Supporting these things would SUCK. They're definitely not for the feint of heart or the non-tinkering type.
Ok I deleted the /home contents completely... Reflashing...
*


Eh lol, I was talking about windows boxes biggrin.gif
tekisui
lol Actually, I have VERY few problems with XP. Anyway, clearing out /home did it. I now have a completely clean install of OZ 3.5.4. I still have two questions:

When OS 3.5.4.1 comes out at the end of the week, I'll just flash it without clearing out /home and that'll be it, right? No reinstalling apps, libraries, resetting settings, etc?

OZ uses DropBear instead of OpenSSH. How much smaller/more effecient is DropBear? One of the advantages I can see of going with OpenSSH instead is easy file transfers via sftp. What else? Any specific reasons why I SHOULDN'T use SSH instead?

Thanks!
CoreDump
QUOTE(tekisui @ Jun 7 2006, 05:52 PM)
lol Actually, I have VERY few problems with XP. Anyway, clearing out /home did it. I now have a completely clean install of OZ 3.5.4. I still have two questions:

When OS 3.5.4.1 comes out at the end of the week, I'll just flash it without clearing out /home and that'll be it, right? No reinstalling apps, libraries, resetting settings, etc?


That depends where you install the packages. If you were to install all additional apps into /home, then yes, that would survive a reflash but you'd have to run ipkg-link manually to relink the files from /home to /.

QUOTE
OZ uses DropBear instead of OpenSSH. How much smaller/more effecient is DropBear?


IIRC openssh adds about 1.5Mb to a base install.

QUOTE
One of the advantages I can see of going with OpenSSH instead is easy file transfers via sftp. What else? Any specific reasons why I SHOULDN'T use SSH instead?

Thanks!
*


There are many good reasons to use OpenSSH and no drawbacks compared to dropbear but its size.

I personally never use dropbear.
tekisui
Where would be the best place to install things, if not /home?
hvontres
QUOTE(tekisui @ Jun 7 2006, 10:16 AM)
Where would be the best place to install things, if not /home?
*

If you have a ext2 or ext3 formated SD card you can install stuff there. You just need to leave the card in the slot all the time. I have all the important stuff in either / or /home and optional or large (python) programs on my SD card.

I hope this helps,
tekisui
The guy I bought the 5600 from is still looking for the SD card he had (I've only had the Zaurus a week) and he just finished moving, so when he finds it, I'll put larger apps there.
Is there anything available similar to apt-get that will automatically fill dependencies when installing from a feed or some similar source? I'm tired of reflashing/wiping each time an install goes awry due to dependency issues. I'm trying to keep crap from being left behind scattered through my filesystem...
hvontres
QUOTE(tekisui @ Jun 7 2006, 11:38 AM)
The guy I bought the 5600 from is still looking for the SD card he had (I've only had the Zaurus a week) and he just finished moving, so when he finds it, I'll put larger apps there.
Is there anything available similar to apt-get that will automatically fill dependencies when installing from a feed or some similar source? I'm tired of reflashing/wiping each time an install goes awry due to dependency issues. I'm trying to keep crap from being left behind scattered through my filesystem...
*


if you use ipkg from the command line, it will use the feed to automagically fix dependencies for you. Of course your Zaurus needs to be on-line to do that smile.gif
Greg2
QUOTE(tekisui @ Jun 7 2006, 02:38 PM)
I'm tired of reflashing/wiping each time an install goes awry due to dependency issues. I'm trying to keep crap from being left behind scattered through my filesystem...

Just do:
CODE
cd /home
rm -rf *
before you flash.
Then install your apps to /home with:
CODE
ipkg -d home install app-name


Greg
tekisui
dry.gif

Uh. Yeah, Greg. We established that. About a dozen posts ago.

tongue.gif
tekisui
QUOTE(hvontres @ Jun 7 2006, 01:46 PM)
QUOTE(tekisui @ Jun 7 2006, 11:38 AM)
The guy I bought the 5600 from is still looking for the SD card he had (I've only had the Zaurus a week) and he just finished moving, so when he finds it, I'll put larger apps there.
Is there anything available similar to apt-get that will automatically fill dependencies when installing from a feed or some similar source? I'm tired of reflashing/wiping each time an install goes awry due to dependency issues. I'm trying to keep crap from being left behind scattered through my filesystem...
*


if you use ipkg from the command line, it will use the feed to automagically fix dependencies for you. Of course your Zaurus needs to be on-line to do that smile.gif
*



That's really good to know.. Now if only I could get WPA working.. It's LISTED as a feature, but you got me on where that feature is. The 'Encryption' fields in the Network Settings are for WEP only, apparantly. And I'm sure as hell not going to step down to WEP from WPA. :-p

And my damn sig is STILL showing. wth...
tekisui
Ha! Fixed my sig.
Hrw
QUOTE(tekisui @ Jun 8 2006, 01:04 AM)
That's really good to know.. Now if only I could get WPA working.. It's LISTED as a feature, but you got me on where that feature is. The 'Encryption' fields in the Network Settings are for WEP only, apparantly. And I'm sure as hell not going to step down to WEP from WPA. :-p


http://wiki.openzaurus.org/FAQ#WiFi_related_questions
tekisui
That leads me to http://wiki.openzaurus.org/HowTos/roaming_..._wpa_supplicant which has this rather ominous foot note:

"I just tested this on my collie with with wpa_supplicant 0.4.8 and it makes anything wireless-related segfault. Switching the config back and rebooting fixes it. Can someone else do further testing to make sure it isnt just my particular hardware?"

Is this on every 5600? Or have people actually gotten this to work? I don't feel like spending an hour or two on this only to have to undo everything I've changed. Just trying to avoid unnecessary work.
Hrw
I use wpa supplicant on c760 without problems. My collie (5500) gather dust rather then geting use.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.