apt-get install libfile-ncopy-perl |
$ su Password: # cd gnupod-tools/ # cp *.pl /usr/local/bin/ |
iPod noch nicht anschliessen! # modprobe ohci1394 # insmod sbp2 iPod nun anschliessen |
tar -xjvf util-linux-X.XXx.tar.bz2 cd util-linux-X.XXx ./configure cd fdisk make cp fdisk /usr/sbin/pc-fdisk |
# dd if=/dev/sda2 of=/root/firmware # md5sum /root/firmware 09f2a78b00a17dbedc74397a6da47db0 firmware |
dd if=/dev/zero of=/dev/sda MAC partitionen killen, dd kann nach gut 5 Sekunden mit CTRL+C abgebrochen werden pc-fdisk /dev/sda fdisk starten Command (m for help): n neue Partition anlegen Command action e extended p primary partition (1-4) p wir wollen eine primary Partition number (1-4): 1 nummer First cylinder (1-608, default 1): einfach ENTER drücken Using default value 1 Last cylinder or +size or +sizeM or +sizeK (1-608, default 608): 5S achtung: 5S .. S wie Super Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 2 First cylinder (6-608, default 6): 6 ist okay, bzw. notwendig.. einfach ENTER drücken Using default value 6 Last cylinder or +size or +sizeM or +sizeK (6-608, default 608): ENTER drücken Using default value 608 Command (m for help): t typ ändern Partition number (1-4): 1 Hex code (type L to list codes): 0 die untenstehende Warnung ist uns egal Type 0 means free space to many systems (but not to Linux). Having partitions of type 0 is probably unwise. You can delete a partition using the `d' command. Changed system type of partition 1 to 0 (Empty) Command (m for help): t Partition number (1-4): 2 hier kommen dann die Daten hin Hex code (type L to list codes): b b=FAT32 Changed system type of partition 2 to b (Win95 FAT32) Command (m for help): w Schreiben der neuen partition, kann etwas dauern.. The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. #dd if=/root/firmware of=/dev/sda1 hier wird die vorhin gesicherte firmware auf sda1 geschrieben 65536+0 Records ein 65536+0 Records aus #mkfs.vfat -F 32 -n "LUNIX" /dev/sda2 formatieren der Datenpartition, LUNIX ist dabei der iPod Name #rmmod sbp2 modul entladen |
Zuerst firewire kram laden, siehe 'Firewire testen' mkdir /mnt/ipod mount /dev/sda2 /mnt/ipod |
gnupod_INIT.pl /mnt/ipod |
mkdir /mnt/ipod/iPod_Control/.gnupod tunes2pod.pl /mnt/ipod/iPod_Control/iTunes/iTunesDB > /mnt/ipod/iPod_Control/.gnupod/GNUtunesDB |
Firewire kram laden mount /dev/sda2 /mnt/ipod |
gnupod_addsong.pl /mnt/ipod seiken_densetsu_2/* ico_melody_in_the_mist/* |
gnupod_search.pl /mnt/ipod "orphan|reach" |
gnupod search 0.1 (C) 2002 Adrian Ulrich Part of the gnupod-tools collection This tool helps you searching songs -- RESULTS: 688 :: The orphan of storm victory Soundtrack Seiken Densetsu 2 693 :: To reach tomorrow manabeast ar Soundtrack Seiken Densetsu 2 --------- |
gnupod_delete.pl /mnt/ipod 688 693 |
mktunes.pl /mnt/ipod umount /mnt/ipod rmmod sbp2 |
iPod mounten tunes2pod.pl /mnt/ipod/iPod_Control/iTunes/iTunesDB > /mnt/ipod/iPod_Control/.gnupod/GNUtunesDB |
rmmod sbp2 && insmod sbp2 |
tunes2pod.pl /mnt/ipod/iPod_Control/iTunes/iTunesDB > /mnt/ipod/iPod_Control/.gnupod/GNUtunesDB |