grml on usb stick: can not get partition to start at cylinder 1

Hi
I try to get grml_small on a usb stick. thanks to mikas nice blog /http://michael-prokop.at/blog/2006/03/24/booten-vom-usb-stick-fdisk-vs-cfdis... I learned that the first partition has to start on cylinder 1. However, when using fdisk or cfdisk , I always get 63 as the value for Start (as Mika has pointed out, the output of fdisk differs from fdisk -l -u , the former showing the value 1 and the latter the value 63) In his blog Mika says: "As soon as I had adjusted the partition ..."
But how did he adjust ?
Thanks Peter

Peter
Cylinder 1 should start at sector 63. Cylinder 0 is sectors 0 to 62. This is standard msdos disk partitioning. So if you compare the partition editor commands
# parted /dev/sda unit s print and # parted /dev/sda unit cyl print
perhaps you can see where you are.
I've never made a grml2usb as on my old system the bios will not boot from the usb but I hope this is some help.
Regards Moss
Hi
I try to get grml_small on a usb stick. thanks to mikas nice blog /http://michael-prokop.at/blog/2006/03/24/booten-vom-usb-stick-fdisk-vs-cfdis... I learned that the first partition has to start on cylinder 1. However, when using fdisk or cfdisk , I always get 63 as the value for Start (as Mika has pointed out, the output of fdisk differs from fdisk -l -u , the former showing the value 1 and the latter the value 63) In his blog Mika says: "As soon as I had adjusted the partition ..."
But how did he adjust ?
Thanks Peter

Further to what I said I've just made a 64Mb grml2usb
dd if=/dev/zero of=/dev/sdb bs=512 count=2880 cfdisk /dev/sdb ## made the whole disk a single type 06 (fat16) partition mount /dev/sdb1 /mnt/sdb1 grml2usb grml_small.iso /dev/sdb1
And now
# fdisk -l /dev/sdb
Disk /dev/sdb: 66 MB, 66882048 bytes 3 heads, 43 sectors/track, 1012 cylinders Units = cylinders of 129 * 512 = 66048 bytes Disk identifier: 0x00000000
Device Boot Start End Blocks Id System /dev/sdb1 1 1012 65252+ 6 FAT16
# fdisk -l -u /dev/sdb
Disk /dev/sdb: 66 MB, 66882048 bytes 3 heads, 43 sectors/track, 1012 cylinders, total 130629 sectors Units = sectors of 1 * 512 = 512 bytes Disk identifier: 0x00000000
Device Boot Start End Blocks Id System /dev/sdb1 43 130547 65252+ 6 FAT16
So I've got a peculiar 43 sectors per track instead of the usual 63. But I've no way of testing if it boots or not.
Best Wishes Moss
Teilnehmer (2)
-
Maurice McCarthy
-
Peter