> > > "/dev/discs/.../part1:Windows NT/2000/XP:chain" > > > ^------------------^ ^----------------^ ^---^ > > > partition OS name for boot May change: > type > > of boot loader > > > loader's pretty required. > Usually > > there is only > > > output a 'linux' style > bootloader or > > > a chain one for other > > partitions > > > with their own boot sectors. > > > > > > Adding tests is easy. Just look in the directory for > the > > architecture you > > > are concerned with, and create a shell script in > there with > > the format > > > [0-9][0-9]name. The numbers determine in what order > the > > script will be run. > > > All of the scripts are passed a path in /dev to a > single > > partition and should > > > return one of the above strings if a match was > encountered, > > and no further > > > processing will occur for that partition. > > > > > > Bootloader installer packages will then have to > process > > this output (fairly > > > trivial) to create valid configuratoin entries for > the > > bootloader. lib.sh > > > will also include a function make_short that takes a > 'long' > > OS name and > > > makes a shorter one (for example, Windows 98 -> > Win98) for > > bootloaders > > > that can't afford to use spaces in boot names. > > > > What about using this or an extension thereof in > partman, to detect > > which partition contain only random data and which > contain > > bootable file > > systems. > > There is the posibility that the partition that booted before not to be the one containing the other(s) OS. Take Windows 2k or XP: They can have their boot files on the primary partition that is marked as bootable, but the files on another partition (even on another drive). (I know this for sure).
So, a solution like I saw before (I don't remember who sent it) - looking for a windows/system32 directory might fail... Also if there is a Windwos NT family (Yucks, I don't know how I managed not to get sick the first time) bootloader, it can reside on a partition and can start other (9x-es or NTs) OSes... Eddy (I hope that I will get to code for Debian soon, as I am a programmer, too... . By the way, what is the status on the GTK frontend of di?) __________________________________ Do you Yahoo!? Yahoo! Mail - More reliable, more storage, less spam http://mail.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]