[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Zaurus keeps crashing



Hi,

> > Should I put the SD card into a usb flash adapter, and attach it to a PC, then
> > some how chroot into it and install the packages.  When I apt-get on a PC, how do 
> > I tell it that the architecture is arm ? 
> 
> One thing I forgot, run "apt-get update" first on the handheld to make
> sure you're using current packet lists, otherwise the URLs will be wrong.
> 
> First put the SD card in the handheld and run the "apt-get --print-uris"
> command. You'll get an output list of URLs you need to download. Save the
> list to a file on the SD card.
> 
> Then, put the SD card in the flash adapter (don't forget to unmount it,
> never modify data on a card removed from a suspended handheld), and use
> "wget" or a similar tool on the PC to download all the .deb packages in
> the list. They are full path names including the architecture. Save the
> .deb packages on the SD card, and put it back in the handheld.
> 
> Lastly, on the handheld just run "dpkg -i *.rpm" on the downloaded
> packages to install them all together, including dependencies.
> 

Thank you for all your replies, some things are still not clear to me.

Wouldn't "apt-get --print-uris" and/or  "dpkg -i *.deb" still read and write 
a bunch of files and crash the system ?  When I did "apt-get update" it did
crash the system.  

By the way, the same problems existed also for a true MMC card (128Mb),
so the problem is not particular to SD.

Is there a way that I can "apt-get --print-uris" and "dpkg -i *.deb" into
the mounted card on the PC  ?  For this I would need to tell apt on the
PC to get the arm packages instead of i386, and also use the debian database
that is on the mounted card for calculating dependencies.  Should I try to 
use the chroot-debian framework and try to adapt them to my scenario ?

About using NFS to install stuff on the card -- does accessing the card via NFS
not crash it when many files are accessed in a row ? 

The reason I am being so meticulous about the correct procedure, is because
after the Zaurus crashes, it can't fix the disk correctly -- some important
files needed for booting are lost, and I have to reinitialise the SD card.
Such severe damage hasn't happened for the 128Mb card, but does for the 512 SD
card.


Thanks,
Boris



Reply to: