From: Henk v. A. <he...@lx...> - 2003-12-19 08:14:44
|
Dear all, I'm also working on running Trinux from a harddisk. In my case, I'm using a small partition which boots SYSLINUX, similar to the way that Trinux is booted from a floppy disk. On this partition, I have stored a number of floppy disk images, so I can boot virtually any Operating System from any bootfloppy, which is much faster then booting from a physical floppy drive. One of the problems I saw is that the original linuxrc in the initrd.gz does not recognize this situation. I have added the following lines to the original linuxrc of Matthew Franz in the 'Special Probing stuff' Section, and then it worked. Matthew, is this something to add permanently in the linuxrc ? Regards, Henk >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ###################################################################### ### Special Probing stuff ###################################################################### ### HvA, 20031201: check for boot harddisk with syslinux echo "Checking all vfat partitions for ldlinux.sys (syslinux)" for i in `cat /etc/proc/fixed 2> /dev/null` do if mount -o ro -t vfat /dev/${i} /mnt 2> /dev/null then echo -n "VFAT found on $i" if ls /mnt/ldlinux.sys 2> /dev/null then echo -n " found ldlinux.sys (syslinux)" if [ -d /mnt/trinux ] then echo " found trinux" BOOT="/dev/${i}" BOOTFS="vfat" echo "BOOT=$BOOT" echo "$i" > /etc/proc/fixedpkg SYSLINUX="true" cd / umount /mnt 2> /dev/null break fi fi fi umount /mnt 2> /dev/null done <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Henk van Asselt -----Original Message----- From: Matthew Franz [mailto:mf...@ci...] Sent: Thursday, 18 December, 2003 5:09 PM To: Brian Ford Cc: tri...@li... Subject: Re: [Trinux-talk] Running Trinux from a hard disk On Thu, Dec 18, 2003 at 10:23:26AM -0500, Brian Ford wrote: > > List; > > Is anyone out there running Trinux from a hard drive? I have a Pentium > MMX PC with 192 MB of RAM that I am looking to use for pen test. I can > run Trinux on it from the CD but have been unable to get it to boot from > the hard disk. Any suggestions? > Section 1.4 in http://trinux.sourceforge.net/docs.txt should get you started. It requires booting with MS-DOS (or FreeDOS for purists) with loadlin.exe See http://prdownloads.sourceforge.net/trinux/fdos-util-0.1?download - mdf ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Trinux-talk mailing list Tri...@li... https://lists.sourceforge.net/lists/listinfo/trinux-talk |
From: Matthew F. <mf...@ci...> - 2003-12-19 14:34:45
|
Very nice patches, I'll add them to the linuxrc and to the documentation. Sounds like I also need to do a new release, particularly in light of all the do_brk() nonsense. Hopefully over the holidays... - mdf > Dear all, > > I'm also working on running Trinux from a harddisk. > > In my case, I'm using a small partition which boots SYSLINUX, similar to the > way that Trinux is booted from a floppy disk. > > On this partition, I have stored a number of floppy disk images, so I can > boot virtually any Operating System from any bootfloppy, which is much > faster then booting from a physical floppy drive. > > One of the problems I saw is that the original linuxrc in the initrd.gz does > not recognize this situation. > > I have added the following lines to the original linuxrc of Matthew Franz in > the 'Special Probing stuff' Section, and then it worked. > > Matthew, is this something to add permanently in the linuxrc ? > > Regards, Henk > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > ###################################################################### > ### Special Probing stuff > ###################################################################### > > ### HvA, 20031201: check for boot harddisk with syslinux > echo "Checking all vfat partitions for ldlinux.sys (syslinux)" > > for i in `cat /etc/proc/fixed 2> /dev/null` > do > if mount -o ro -t vfat /dev/${i} /mnt 2> /dev/null > then > echo -n "VFAT found on $i" > if ls /mnt/ldlinux.sys 2> /dev/null > then > echo -n " found ldlinux.sys (syslinux)" > if [ -d /mnt/trinux ] > then > echo " found trinux" > BOOT="/dev/${i}" > BOOTFS="vfat" > echo "BOOT=$BOOT" > echo "$i" > /etc/proc/fixedpkg > SYSLINUX="true" > cd / > umount /mnt 2> /dev/null > break > fi > fi > > fi > umount /mnt 2> /dev/null > done > > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< > > > Henk van Asselt > > > > -----Original Message----- > From: Matthew Franz [mailto:mf...@ci...] > Sent: Thursday, 18 December, 2003 5:09 PM > To: Brian Ford > Cc: tri...@li... > Subject: Re: [Trinux-talk] Running Trinux from a hard disk > > On Thu, Dec 18, 2003 at 10:23:26AM -0500, Brian Ford wrote: > > > > List; > > > > Is anyone out there running Trinux from a hard drive? I have a Pentium > > MMX PC with 192 MB of RAM that I am looking to use for pen test. I can > > run Trinux on it from the CD but have been unable to get it to boot from > > the hard disk. Any suggestions? > > > > Section 1.4 in http://trinux.sourceforge.net/docs.txt should get you > started. It > requires booting with MS-DOS (or FreeDOS for purists) with loadlin.exe > > See http://prdownloads.sourceforge.net/trinux/fdos-util-0.1?download > > - mdf > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > ------------------------------------------------------- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for IBM's > Free Linux Tutorials. Learn everything from the bash shell to sys admin. > Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk -- ---------------------------------------------- Matthew Franz mf...@ci... Critical Infrastructure Assurance Group (CIAG) Cisco Systems, Inc. Austin, TX AIM/Yahoo: matthewdfranz |