OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: tekisui on June 07, 2006, 10:12:01 am

Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: tekisui on June 07, 2006, 10:12:01 am
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..)
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: CoreDump on June 07, 2006, 10:23:43 am
Quote
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..)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130248\"][{POST_SNAPBACK}][/a][/div]

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.
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: tekisui on June 07, 2006, 10:26:54 am
Ok so BEFORE reflash, just:

su
cd /home
rm -rf *.*

Right?

When the f is my sig gonna update.....
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: CoreDump on June 07, 2006, 10:45:01 am
Quote
Ok so BEFORE reflash, just:

su
cd /home
rm -rf *.*

Right?

When the f is my sig gonna update.....
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130250\"][{POST_SNAPBACK}][/a][/div]

Almost correct. Replace the DOS pattern *.* with * and you are set.
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: tekisui on June 07, 2006, 10:46:11 am
Can you tell I work in an all-Windows company? :-p
Thanks for the help. Trying now..
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: CoreDump on June 07, 2006, 10:48:41 am
Quote
Can you tell I work in an all-Windows company? :-p
Thanks for the help. Trying now..
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130254\"][{POST_SNAPBACK}][/a][/div]

  So do I. But thank GOD I don't have to support these machines.
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: tekisui on June 07, 2006, 10:52:31 am
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...
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: CoreDump on June 07, 2006, 11:02:27 am
Quote
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...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130257\"][{POST_SNAPBACK}][/a][/div]

Eh lol, I was talking about windows boxes
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: tekisui on June 07, 2006, 11:52:26 am
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!
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: CoreDump on June 07, 2006, 12:53:18 pm
Quote
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!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130266\"][{POST_SNAPBACK}][/a][/div]

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

I personally never use dropbear.
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: tekisui on June 07, 2006, 01:16:40 pm
Where would be the best place to install things, if not /home?
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: hvontres on June 07, 2006, 01:34:22 pm
Quote
Where would be the best place to install things, if not /home?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130276\"][{POST_SNAPBACK}][/a][/div]
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,
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: tekisui on June 07, 2006, 02:38:48 pm
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...
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: hvontres on June 07, 2006, 02:46:00 pm
Quote
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...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130285\"][{POST_SNAPBACK}][/a][/div]

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
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: Greg2 on June 07, 2006, 02:47:15 pm
Quote
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: [Select]
cd /home
rm -rf *
before you flash.
Then install your apps to /home with:
Code: [Select]
ipkg -d home install app-name
Greg
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: tekisui on June 07, 2006, 07:02:25 pm
 

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

Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: tekisui on June 07, 2006, 07:04:39 pm
Quote
Quote
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...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130285\"][{POST_SNAPBACK}][/a][/div]

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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130286\"][{POST_SNAPBACK}][/a][/div]

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...
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: tekisui on June 07, 2006, 07:10:46 pm
Ha! Fixed my sig.
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: Hrw on June 08, 2006, 04:49:34 am
Quote
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 (http://wiki.openzaurus.org/FAQ#WiFi_related_questions)
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: tekisui on June 08, 2006, 02:02:23 pm
That leads me to http://wiki.openzaurus.org/HowTos/roaming_..._wpa_supplicant (http://wiki.openzaurus.org/HowTos/roaming_with_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.
Title: Oz 3.5.4 Reflash Not Completely Wiping Device
Post by: Hrw on June 09, 2006, 03:49:00 am
I use wpa supplicant on c760 without problems. My collie (5500) gather dust rather then geting use.