[BusyBox] lilo problem

Artemio theman at artemio.net
Fri Nov 28 21:19:54 UTC 2003


Hello all,

maybe this is a little off-topic...

...but I have a problem with booting my own floppy-distro. 

Usually, I fdformat a floppy, then mke2fs on it. I create a /boot dir where I 
put my kernel and ramdisk image, and /dev dir with /dev/fd0 file. Then I just 
install lilo (the latest, 22.5.8) on it. Such system works fine with a 1.44 
floppy on all different test machines.

However, when I do fdformat /dev/fd0u1722, and then use /dev/fd0u1722 
*everywhere* (I place it in /dev on root floppy too) and install lilo, it 
doesn't work: on boot I get L 40 40 40 40 ... which means lilo can't seek 
it's second stage.

I tried "fdisk /dev/fd0u1722 -l" *before* and *after* saying "lilo" for this 
floppy and noticed that floppy partition table gets screwed by lilo (see 
below). It seems to misunderstand the 1722 drive geometry or something like 
that.

Other distros that fdformat /dev/fd0u1722 (like tomsrtbt) work fine on my 
system.

What should I do?


Thanks a lot.


Artemio.


# fdisk /dev/fd0u1722 -l

Disk /dev/fd0u1722: 2 heads, 21 sectors, 82 cylinders
Units = cylinders of 42 * 512 bytes

         Device Boot    Start       End    Blocks   Id  System
/dev/fd0u1722p1   ?  98651910  95042694 2071690107   f6  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(1014, 246, 54) logical=(98651909, 1, 16)
Partition 1 has different physical/logical endings:
     phys=(1014, 246, 54) logical=(95042693, 1, 5)
Partition 1 does not end on cylinder boundary:
     phys=(1014, 246, 54) should be (1014, 1, 21)
/dev/fd0u1722p2   ?  98651910  95042694 2071690107   f6  Unknown
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(1014, 246, 54) logical=(98651909, 1, 16)
Partition 2 has different physical/logical endings:
     phys=(1014, 246, 54) logical=(95042693, 1, 5)
Partition 2 does not end on cylinder boundary:
     phys=(1014, 246, 54) should be (1014, 1, 21)
/dev/fd0u1722p3   ?  98651910  95042694 2071690107   f6  Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(1014, 246, 54) logical=(98651909, 1, 16)
Partition 3 has different physical/logical endings:
     phys=(1014, 246, 54) logical=(95042693, 1, 5)
Partition 3 does not end on cylinder boundary:
     phys=(1014, 246, 54) should be (1014, 1, 21)
/dev/fd0u1722p4   ?  98651910  95042694 2071690107   f6  Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(1014, 246, 54) logical=(98651909, 1, 16)
Partition 4 has different physical/logical endings:
     phys=(1014, 246, 54) logical=(95042693, 1, 5)
Partition 4 does not end on cylinder boundary:
     phys=(1014, 246, 54) should be (1014, 1, 21)




More information about the busybox mailing list