Inicio !!  |   Foros Mayix !!  |   Gentoo!  |   Distrowatch.com/mayix  |   Gmail  |   El loco mundo del techno !!  |   El Espacio Abasme  |  

Mayix Ipod linux howto (English)

The contents of this article are *UNSUPPORTED

Please do *NOT* contact the core iPodLinux team if you have problems
with anything mentioned here!

 

I wrote this after install iPodlinux successfully into my iPodPhoto,
some people don´t want/ to spend to much time to test and install
iPodlinux, and this howto intent to save this time :-)

In this Howto we use sda, like the scsi device

        * We only need 3 steps to get the ipodlinux working into our
          iPodphoto :

*Table of contents*

  • Step 0: backup ipod’s bootsector and AppleOs partition
  • Step 0.1: Restore ipod’s bootsector and AppleOs partition
  • Step 1: Partitioning
  • Step 2: Installing
  • Step 3: ejecting

 Step 0: backup ipod’s bootsector and AppleOs partition

  1.  dd if=/dev/sda of=ipod-boot-sector count=1
  2.  dd if=/dev/sda1 of=apple-os

now we´re going to download some files and install our ipodlinux into
iPod Photo

   1. Download the iPodLinux Compressed FS and the kernel into 1 tar.bz2 here

1. Start fdisk.

fdisk /dev/sda
The number of cylinders for this disk is set to 2431.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help):

2. Delete the firmware partition.

Command (m for help): d
Partition number (1-4): 1

3. Create a new primary partition with a length of 1 cylinder.

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-19073, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-33, default 33): 1

  4. Activate the first partition.

Command (m for help): a
Partition number (1-4): 1

5. Set partition type to ‘Empty’.

Command (m for help): t
Partition number (1-4): 1
Hex code (type L to list codes): 0

6. Create the 3rd primary partition from 2nd to 5th Cylinder.

Command (m for help): n
Command action
e extended
p primary partition (1-4) p
Partition number (1-4): 3
First cylinder (1-19073, default 1): 2
Last cylinder or +size or +sizeM or +sizeK (1-33, default 5): 5

7. Review the changes. Note, this is for a 20GB iPod, for other iPod
versions the sda2 partition size will vary.

Command (m for help): p

Disk /dev/sda: 64 heads, 32 sectors, 19073 cylinders
Units = cylinders of 2048 * 512 bytes

  Device Boot    Start       End      Blocks       Id   System
/dev/sda1   *         1         1        10224        0   Empty
/dev/sda2   *        34     19073   19496960  b   Win95 FAT32
/dev/sda3             2        5           23552       83 Linux

Partition table entries are now in disk order

8. If everything looks OK, write out the partition table.

Command (m for help): w

 

Step 2: Installing

Now untar this file, y get two files:

# tar -xvjpf linuxos-2005-08-22.tar.bz2

   

  1.  /my_sw.bin/ The Kernel mod
  2. /floydzilla-2005-08-21-ipod-root/ the root of the filesystem

# dd if=my_sw.bin of=/dev/sda1
# dd if=floydzilla-2005-08-21-ipod-root of=/dev/sda3

to know how make your own kernel please read this guide Install guide
from linux <Installation_from_Linux>.

tep 3: ejecting

# eject /dev/sda

unplug your ipod and wait to restart, your linux was installed
successfuly!!. if your ipod doesn´t restart use the key combinations to
reset

Thanks to all the work of the IpodLinux team and other thar help in this
project.

some questions ???: *Paulo Cesar Alvarado (techno.mayix@gmail.com)*

Directory of Education/Research Blogs