Addendum to my post. I downloaded syslinux.lrp and mkdosfs.lrp from monkeynoodle.org. I copied them to my hard disk (/dev/hda1), did lrpkg -i syslinux and lrpkg -i mkdosfs. Both got installed into memory.
I then gave syslinux /dev/hdc. Syslinux aborted saying sector sizes should be 512 and fs does not seem to be FAT. I executed mkdosfs /dev/hdc and mkdosfs refused to create fs on hdc. I then gave mkdosfs /dev/hdc1 ant it went thro'. I then gave "syslinux /dev/hdc1". This also went thro'. I changed my syslinux.cfg in hard disk to take packeges from/dev/hdc1 and rebooted. Boot went thro' smoothly. I rebooted and disabled Hard disk in bios. While booting from flash, the system gave a message "Hit any key to reboot" and kept going in a loop. I know that unless syslinux /dev/hdc goes thro' smoothly, I cannot boot from the CF. Question is - how do I? /dev/hdc1 partition is flagged for booting. Mohan -----Original Message----- From: [EMAIL PROTECTED] [mailto:leaf-user-admin@;lists.sourceforge.net]On Behalf Of S Mohan Sent: 05 November 2002 14:45 To: [EMAIL PROTECTED] Subject: [leaf-user] (no subject) I've been at this point before and did get some help. I've got stuck at this point again. I'm in search of an workable elegant solution. When I started with leaf, I wanted to install it on a hard disk. When I used syslinux dos version, I got an error saying cannot get exclusive access. I was told I must use DOS6.22 Fdisk. I did and my problem got solved. I then got a ATA PCMCIA Flash drive on which I used a 8MB PCMCIA SANDISK flash card. It went thro' without a problem. I've a set-up machine which has a hard disk with a 16MB partition on which leaf is installed. I boot with a DOS floppy, execute syslinux to install MBR on the flash and then boot leaf off the HDD(/dev/hda1) and backup to the flash (/dev/hdc1). I then disable the hard disk in the bios and check if I can boot off the flash. So far so good. I got a IDE CF adaptor recently. The CF card is a 32MB card. It gets formatted to FAT16 when formatted using DOS. I think DOS6.22 uses FAT12. I checked syslinux site and it says we can boot off FAT12 or FAT16 partitions. Problems occur only when cylinder count > 1024 or cluster size > 16kb. I remember Guitarlynn's oft repeated comment in the mailing list that syslinux gives a problem if partition is > 24MB. I also tried Ranish Partition Manager to format the CF card in FAT12 mode. Still syslinux gave the same error. Syslinux unix version executed under leaf gives a grsec and segmentation fault. Now I'm beginning to pull my hair out. I know I can do "dd if=/dev/hda of=/dev/hdc bs=512 count=1" to get the boot sector from HDD to CF. Then my CF should become hda1. I tried the fdisk.lrp, installed fdisk on leaf and went thro' that fdisk too to create the partitions. Same result. Is there an easier method? Am I missing something very trivial? Can a more experienced person create a script or a program to do this off leaf? I did not fight with the system for so long the first time around. If FDISK with DOS6.22 alone is the issue, I'm stuck in trying to locate one. Is there another alternative? Is mkfs.msdos available in leaf? Bye S Mohan ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html