Results 1 to 4 of 4

Thread: Custom Lilo

  1. #1

    Custom Lilo

    Is there a way to make virtual floppy drive so that i can make a lilo boot floppy using that virtual floppy drive?

    Let me explain...

    We have this patched version of LILO that does booting with hardware configuration measurement and also several other measurement to TCGA compliant security chip during the bootup. (We changed first.S and second.S in the lilo source.) The fact of the matter is that we don't trust the reliability of this LILO and we decided not to mess with the MBR and instead we just made LILO boot floppy.

    Now several years have passed and computers don't ship with floppy disk drives anymore (especially laptops). I've seen ways to convert LILO boot floppy into bootable CD with the help of El Torito, but this does not work on systems that do not have floppy drive...cause you can't make the LILO boot floppy to begin with. I've tried building LILO boot floppy on another machine that has the same kernel image that i'm trying to boot off and then I tried to make bootable cd off that floppy disk image. But later I found that LILO is sort of machine specific so that the bootable CD doesn't really do the job. (Is this true? You can't run one's machine's LILO boot floppy on another machine even if the location of the root matches in the config??)

    So what I need is the ability to write to a location in HD as if it was a floppy drive (some /dev/fd0 simulation) and then be able to create a boot image off that and make iso and burn it. The simulation of floppy is what I'm wondering about the most. Is there any way to do this?

    PS I looked into Live CDs but I don't know much how to tweak it so that it'll use my custom LILO to boot...

  2. #2
    Senior Member comtux's Avatar
    Join Date
    Sep 2004
    Location
    Wilkes Barre Pa
    Posts
    342
    Do you have to use lilo?
    Could you use grub or syslinux?
    I have never heard anything about 1 lilo boot floppy not working on another machine i have switched intire harddrives useing lilo i just had to unload and reload some modules and do a couple of other things with the kernel.
    Im not really sure on how to use lilo to build a live cd.
    I use grub or syslinux but ill look into it.
    Sure there is away to do what yout talking about.
    If you can think it up it can be done.
    Wenn Sie Spaß meines Englisch mich Willensfuckingtötung Sie bilden.

  3. #3
    Guest
    Couldn't you create a small fat filesystem on your drive, and mount it, and point to it as /dev/fd0??

    Kind of a loopback?

  4. #4
    Advisor
    Join Date
    Apr 2004
    Location
    orlando
    Posts
    608
    Quote Originally Posted by flyingbear";p="6856
    Is there a way to make virtual floppy drive so that i can make a lilo boot floppy using that virtual floppy drive?

    Let me explain...

    We have this patched version of LILO that does booting with hardware configuration measurement and also several other measurement to TCGA compliant security chip during the bootup. (We changed first.S and second.S in the lilo source.) The fact of the matter is that we don't trust the reliability of this LILO and we decided not to mess with the MBR and instead we just made LILO boot floppy.
    Why not? Have you run your patch across lilo's mailing list (do they have one?). I bet you could make it so that lilo still works on normal x86 setups, as well as what your working on, and get it included in the main lilo distro, this would provide you with the knowledge that lilo experts have taken a look at your code

    Now several years have passed and computers don't ship with floppy disk drives anymore (especially laptops). I've seen ways to convert LILO boot floppy into bootable CD with the help of El Torito, but this does not work on systems that do not have floppy drive...cause you can't make the LILO boot floppy to begin with. I've tried building LILO boot floppy on another machine that has the same kernel image that i'm trying to boot off and then I tried to make bootable cd off that floppy disk image. But later I found that LILO is sort of machine specific so that the bootable CD doesn't really do the job.
    interesting... I don't see any reason for this. In fact, don't most rescue cd's (slackwares comes to mind) use lilo to boot the machine? Of course I have little knowledge of lilo outside what a user needs to know.
    <snip>

    So what I need is the ability to write to a location in HD as if it was a floppy drive (some /dev/fd0 simulation) and then be able to create a boot image off that and make iso and burn it.
    you should be able to make a small file, and then just "format" that file as a vfat filesystem
    The simulation of floppy is what I'm wondering about the most. Is there any way to do this?

    PS I looked into Live CDs but I don't know much how to tweak it so that it'll use my custom LILO to boot...

Similar Threads

  1. Custom X resolution in vmware?
    By ragamuffin in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 01-23-2006, 09:34 AM
  2. how 2 reformat.custom pc.
    By burnzi321 in forum Windows - General Topics
    Replies: 1
    Last Post: 02-07-2005, 12:23 AM
  3. Custom kernel problem
    By welsh2000836 in forum Linux - General Topics
    Replies: 2
    Last Post: 09-01-2003, 10:03 AM
  4. No Custom Avatar??
    By Scott_Tiger in forum Announcements and Suggestions
    Replies: 2
    Last Post: 02-08-2003, 10:40 PM
  5. Custom titles
    By in forum Announcements and Suggestions
    Replies: 4
    Last Post: 06-06-2002, 01:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •