>>I have 'ported' many of the binaries (like dpkg to dead rat as mc required
>>dpkg to open a .deb file, did not dare the reverse)
>Interesting ! Was wondering how to use man-pages of Debian while in RH,
>just for extended reading . How to go for it ?


You will need  debian box.
Get the dpkg binary with all required libs, and copy them to rh box from
where ever you have picked them.
You can find out list of libs by running ldd /usr/bin/dpkg.


>
>>Its a tricky business as both disro should be using same libc or glibc and
>>library / conf file also should be taken care off.
>
>What should be my combination of Debain version for my currently
>insatlled RH6.2 ?


Use debian 2.2 which is near RH6.2

>>The distro wrapper also takes care of partition, package selection,
>>configuration etc.
>
>>You can create your own distro by copying certain files to a separate
>>partition. and boot it with loadlin. You can borrow binaries from
different
>>distro also.
>
>And what are these "certain files" ? Although I am not
>going to build my own distro immideately, still I would
>like to know the info to fill-in-the-gaps of my linux
>knowledge. What man page should I consult for these
>"certain files" ?



You can try this for a starter, I did it once.
1. Boot to any distro.
2. make a fresh partition on hard disk of 10 mb or so. (At your risk)
3. make ext2 file system with mkfs.ext2 /dev/hda*
4. Mount the partition with mount /dev/hda* /mnt/tmp
5. make bin, lib, and dev, directory.
6. copy /bin/bash and /bin/ls to /mnt/tmp/bin/
7. copy from /dev/hda*, /dev/zero, /dev/null and /dev/console to
/mnt/tmp/dev
8. get the list of libs with ldd /bin/bash and /bin/ls (should be libc6,
ld.so, ... )
9. Copy these to /mnt/tmp/lib
10. unmount the /mnt/tmp.

OK, your distro ready to boot. Now you need a good kernel and loadlin(you
can use LILO, Again at you risk).
1. make a bootable dos floppy on dos system.
2. copy loadlin and the kernel (take the stock kernel from debian
{preferred} or RH cd) to floppy.
3. Reboot with this floppy and at dos prompt type
loadlin vmlinuz init=/bin/bash root=/dev/hd*.

Put name of kernel in place of vmlinuz and partition in place of /hd*.

The system should load and you should get a nice little prompt bash#.
You can do nothing except ls.
This is the beginning and you can populate the system and do some scripting
to make it workable.
You can pass a script name to init= at boot time other wise default is
/sbin/init
I did this long back, and just let me know if does not work.

Regards,
Mukund Deshmukh
Beta Computronics Pvt. Ltd.
Web site - http://betacomp.com








_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to