Subj : Re: bootdisk on 1722K floppy To : comp.os.linux From : Innocenti Maresin Date : Thu Oct 21 2004 06:20 pm Dubravko Gorupic wrote: > I have a problem to boot from a bootdisk made on a floppy formated to 1722K > with fdformat (/dev/fd0u1722). In case I place kernel (2.4.20) at the > beginning of floppy (dd if=kernel of=/dev/fd0u1722) and then use rdev to say > where compressed image is, when it boots, after message "Loading......", it > resets computer. A code in the beginning of the image uses BIOS and defaults to 18 sectors per track (but you need 21, obviously). BIOS is unable to detect a true sectors per track number unless a disk contains a DOS-compatible parameters table. See arch/i386/boot/bbootsect.s or bootsect.S (I don't know which is really used) few lines above the "root_defined:" label. > In case I place small boot filesystem at beginning of floppy (with kernel > and some /dev/ files) and use lilo to write to floppy boot loader to load > kernel from that boot fs, while booting, I get message "L 99 99 99 99" an so > on (compressed image is after boot fs). > I decompressed tomsrtbt, tried to do the similar thing (with lilo) as he > did, but no success, always "L 99 99 99 99". The same problem, but more easily solvable. Set up LILO and force it to count 21 sectors per track: disk=/dev/fd0 bios= 0x00 sectors= 21 heads= 2 cylinders= 82 -- qq~~~~\ [ úá IP âåú ãåîúõòù ] [ Read Usenet in the proper place ] / /\ \ [ FAQ you ] € http://www.comtv.ru/~av95/chainik.html \ /_/ / \____/ Linux console notes http://www.comtv.ru/~av95/linux/console/ .