Everytime I install Ubuntu on a new machine, and want to get Android SDK running, I always forgot to install the 32bit libraries required by Android SDK.
The command line to install all required libraries on Ubuntu 14.10 x64:
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1
Friday, December 19, 2014
Friday, August 1, 2014
Recovering old 5.25 floppies with Ubuntu Server
I was trying to recover some data from my old 5.25 floppy disks last weeks. First, I bought an old Pentium III 1Ghz, 256MB RAM for R$16 (about $7), and added my old 5.25 floppy drive to it.
The computer not had an HD or CD-ROM, but it has and old 3.5 floppy drive (very lucky!)
I installed FreeDOS on my old notebook HD first, to check if computer was working right. And yes, it was.
Now, I wanted to run Ubuntu Server 14.04 (because there is not enough RAM to run Ubuntu Desktop) to enable the USB and network interface, to make easy to copy the recovered files from and USB drive or network.
I did the install in a VirtualBox using another computer, and after installing Ubuntu Server, did a boot in VirtualBox with a Clonezilla image transfering it to PIII HD via IDE/USB interface.
After installing it back to PIII, the first problem was Grub UUID. I fixed it booting on Grub recovery in Ubuntu, and running the command:
$ sudo grub-install --recheck
By default, the floppy module is not loaded first time, to fix it:
$ sudo modprobe floppy
Next annoying thing, which I lost almost 2 weeks trying to fix it, is the 5.25 floppy drive motor spinning forever bug. When I try to access the drive, using mount or dd, the drive motor turns on and never turns off, ever.
Finally I found a workaround to fix this!
First, install fdutils:
$ sudo apt-get install fdutils
Now, add this line to your /etc/rc.local:
floppycontrol -C 2147483647
Reboot, and your 5.25 floppy drive is working!
The computer not had an HD or CD-ROM, but it has and old 3.5 floppy drive (very lucky!)
I installed FreeDOS on my old notebook HD first, to check if computer was working right. And yes, it was.
Now, I wanted to run Ubuntu Server 14.04 (because there is not enough RAM to run Ubuntu Desktop) to enable the USB and network interface, to make easy to copy the recovered files from and USB drive or network.
I did the install in a VirtualBox using another computer, and after installing Ubuntu Server, did a boot in VirtualBox with a Clonezilla image transfering it to PIII HD via IDE/USB interface.
After installing it back to PIII, the first problem was Grub UUID. I fixed it booting on Grub recovery in Ubuntu, and running the command:
$ sudo grub-install --recheck
By default, the floppy module is not loaded first time, to fix it:
$ sudo modprobe floppy
Next annoying thing, which I lost almost 2 weeks trying to fix it, is the 5.25 floppy drive motor spinning forever bug. When I try to access the drive, using mount or dd, the drive motor turns on and never turns off, ever.
Finally I found a workaround to fix this!
First, install fdutils:
$ sudo apt-get install fdutils
Now, add this line to your /etc/rc.local:
floppycontrol -C 2147483647
Reboot, and your 5.25 floppy drive is working!
Subscribe to:
Posts (Atom)