[syslinux] syslinux booting from a third partion of ipod.
Adrian T
syslinux at g-ss.com
Sun Apr 29 17:37:17 PDT 2007
Hello,
I hope that somebody can help me, I am trying to boot Knoppix from the third
parition of an ipod nano with out loosing the player capabilities. After
fdisk I have the following partitions:
slr ~ # fdisk -l /dev/sda
Disk /dev/sda: 4095 MB, 4095737344 bytes
255 heads, 63 sectors/track, 497 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 10 80293+ 0 Empty (ipod firmware)
/dev/sda2 11 339 2642692+ b W95 FAT32 (music data)
/dev/sda3 * 340 497 1269135 6 FAT16 (knoppix files)
It seems that every usb-linux guide uses the first partition as the boot
partition, on the ipod nano the first partition contains the firmware of the
device rendering it inoperable if it is removed.
After paritioning and formating with "mkdosfs -F 16 /dev/sda3" I copied the
contents of a knoppix cd to the third partition, so with ls I get the
following
slr /mnt/usb # ls
autorun.bat balder.img cdrom.ico german.kbd ldlinux.sys memtest
autorun.inf boot.cat f2 index.html linux minirt.gz
autorun.pif boot.msg f3 knoppix logo.16 syslinux.cfg
after that I ran "syslinux -fs /dev/sda3"
Is it possible to to boot like tihs? Am I missing something?
The contents of syslinux.cfg follows
------------------------------------------------------
DEFAULT linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791
initrd=minirt.gz nomce loglevel=0 quiet BOOT_IMAGE=knoppix
TIMEOUT 300
PROMPT 1
DISPLAY boot.msg
F1 boot.msg
F2 f2
F3 f3
LABEL knoppix
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791
initrd=minirt.gz nomce loglevel=0 quiet BOOT_IMAGE=knoppix
LABEL expert
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791
initrd=minirt.gz nomce BOOT_IMAGE=expert
LABEL memtest
KERNEL memtest
APPEND foo
LABEL knoppix-txt
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=normal
initrd=minirt.gz nomce loglevel=0 quiet BOOT_IMAGE=knoppix
LABEL debug
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=normal
initrd=minirt.gz debug BOOT_IMAGE=debug
LABEL fb1280x1024
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=794
xmodule=fbdev initrd=minirt.gz nomce loglevel=0 quiet BOOT_IMAGE=knoppix
LABEL fb1024x768
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791
xmodule=fbdev initrd=minirt.gz nomce loglevel=0 quiet BOOT_IMAGE=knoppix
LABEL fb800x600
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=788
xmodule=fbdev initrd=minirt.gz nomce loglevel=0 quiet BOOT_IMAGE=knoppix
LABEL dos
KERNEL balder.img
LABEL failsafe
KERNEL linux
APPEND ramdisk_size=100000 init=/etc/init lang=us vga=normal atapicd nosound
noapic noacpi pnpbios=off acpi=off nofstab noscsi nodma noapm nousb nopcmcia
nofirewire noagp nomce nodhcp xmodule=vesa initrd=minirt.gz
BOOT_IMAGE=knoppix
LABEL userdef
KERNEL linux
APPEND
###############################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
More information about the Syslinux
mailing list