I’ve connected my iPod via USB to my friends computer, running Fedora release 3.
I couldn’t find the device first, but I realized, that it was automounted under /media/usbdisk.
The iPod is formatted as a HFS+ volume, and the 2.6.10-1.770-FC3 kernel successfuly used it as a device, I was able to download and upload files, and it was really-really fast!
Archive for March, 2005
iPod on Linux - first time
Saturday, March 19th, 2005iPod and Powerbook 12″ hard disk replacement
Saturday, March 19th, 2005I had some spare time, and I spent it for observing my Appleware
I successfuly disassemled my Powerbook - very nice inside - and my iPod - second gen 15G too, which I bought in London, last year.
I’m heavily thinking on replacing the hard disks.
I haven’t find the exact id of the Powerbook hard disk on the net, so i publish it here: it’s a Toshiba HDD2189 60GB disk.
The iPod has a custom series like disk, i haven’t find any info on it (neither on www.toshiba.com) - it’s a Toshiba MK1504GAL. I already have storage problems on both comps, I can’t even download more music onto the iPod. ![]()
HDD2189 worth around $100 - I’d like to replace it with a Fujitsu MHU2100AT 100G one - sells at $180.
The MK1504GAL is not listed, but the replacement Toshiba MK4004GAH - 40G disk is around $160.
I purchased these items online, so this article will continue… I’m planning to install Mac Os X 10.4 Tiger with the new disk
Moving from HTML 4.1 to XHTML 1.1
Wednesday, March 9th, 2005I gave skaelede online a fresh new look sometime ago.
By changing the design, I’ve did some changes on the background too: I’ve updated the XSL engine to generate XHTML 1.1 output instead of the good old HTML 4.1 way.
I do not want to miss in details, you can check out the original source code, I just want to add some notes on the workarounds (that I usually forget:) )
1) The MUST BE html, instead of using xml. Internet Explorer would save the file down, or open it with the associated XML-handler application, but not display it as an XHTML page.
2) You can not use </img>, so you cannot have to images
I do not know any workarounds to this problem, yet.
3) The hspace and the vspace attributes should be replaced with: style="margin-left:0px;margin-right:0px;"
4) The border attribute must be replaced with style="border:0px;".
I just wonder, why W3C didn’t have an upgrade guide for all the folks who try to follow their changes…
MySql on Fedora: lost root password
Wednesday, March 9th, 2005i’ve personally never ever faced with this problem, that I’ve completely lost the control over MySql. Somehow - I dunno how - I totaly locked out myself from the database
I found some information on the web on how to deal with this problem, but I have a solution for other Fedora users, because none of the others’ will work on this installation:
1) You need to completely stop MySql.
Running service mysqld stop is not enough, you need to type the following (with root or with the mysql user): kill `cat /var/run/mysqld/mysqld.pid`
2) If nothing shows up on the screen, this is golden silence - so you were successful. If you see a ‘cat: var/run/mysql/mysqld.pid: No such file or directory’ error, then please run: slocate .pid (you need to have slocate installed either by apt-get or yum) - it will show up the list of all pid files on your server - there you can find out, where mysqld stores its.
3) A new mysqld must be started with the parameter --skip-grant-tables.
The main problem is, that other distributions have the safemode version under the name mysqld_safe, but under Fedora, of course it is safe_mysqld…
So type in the following: safe_mysqld --skip-grant-tables &
Now the server replied with someting like the following: Starting mysqld daemon with databases from /var/lib/mysql.
4) Enter: mysql -u root
5) Execute the following SQL: UPDATE mysql.user SET Password=PASSWORD('your-new-password‘) WHERE User=’root’;
(you need to change the your-new-password string to the desired root password)
6) Then: FLUSH PRIVILEGES;
Now you’ll have a clean and newly passed root acount to your own server
Easy, isn’t it?
