From: <gu...@ke...> - 2002-02-21 18:33:54
|
Hi, I=B4ve found the "problem". I=B4ve just taked out the "^" of the FDEV var= before the "[sh]d[a-f][1-9]" expression and made the initrd.gz again !!! It wor= ked out ! I can=B4t say that this is a bug.... but didn=B4t work for me. :) > FDEV=3D`dmesg | grep -v LDM | grep "[sh]d[a-f][1-9]" | cut -d':' -f2 | = sort | uniq` # FIXED # changed by aguiarg Now I have another problem... I=B4m trying to load my modules at c:\trinux\bootpkg\*.tgz but they dont get loaded. I still working on it b= ut I think it=B4s strange. Is there any special configuration ? I=B4ve just = mounted my floppy and copyed tux dir to c:\trinux; (I=B4ve tryed to change atound= but didn=B4t made any good) My network doesn=B4t start even configuring dhcp (config/eth0 -> dhcp) an= d loading the dhcpcd.tgz with pkgadd. Can anyone give me a help ? Thank=B4s again, Gus ----- Original Message ----- From: "Matthew Franz" <mf...@ci...> To: <gu...@ke...> Cc: <tri...@li...> Sent: Thursday, February 21, 2002 2:12 PM Subject: Re: [Trinux-talk] trinux newbie > > Are you sure your IDE device got detected/that you were using an IDE > kernel? A > > dmesg | grep hd > > should reveal your devices > > Is your DOS device the first one? > > - mdf > > > > > Thanks for the tip ! It did work..... now I can boot from my IDE disk= ! But > > I=B4m having problems to load my modules. > > I discovered that the vars CDEV and FDEV are getting no value.... so when my > > box boots, it doesn=B4t recognize that it is > > booting from a loadlin.exe. > > > > Looking at the linuxrc boot script I=B4ve found where it set this var= s: > > -- > > CDEV=3D`dmesg | grep D-ROM | grep hd | cut -d: -f1 | sort | uniq` # CD-ROM > > devices > > FDEV=3D`dmesg | grep -v LDM | grep "^ [sh]d[a-f][1-9]" | cut -d':' -f= 2 | sort > > | uniq` # FIXED > > > > echo "FDEV: $FDEV" > > echo "CDEV: $CDEV" > > -- > > At the boot I see FDEV: and CDEV: empty. > > "BOOT=3D" is empty to. > > > > Can anyone help me ? Any experience like this before ? > > > > I=B4m using a AMD Duron with freedos, kernel 2.4.17 and trinux-ide. > > > > > > Thank=B4s in advance, > > Gus > > > > > > > > > > ----- Original Message ----- > > From: "Matthew Franz" <mf...@ci...> > > To: <gu...@ke...> > > Cc: <tri...@li...> > > Sent: Wednesday, February 20, 2002 6:07 AM > > Subject: Re: [Trinux-talk] trinux newbie > > > > > > > > > > Yes, you can boot from a flash IDE or normal IDE drive. Here is a rough > > > guide: > > > > > > 1) Create a small DOS/FAT partition (10-25mb). This will need to be *DOS* > > > not NT, so you will need to dig up a Win9x or DoS boot floppy and format > > > /s it. If you want to stay Open Source FreeDoS (http://www.freedos.org) > > > will work fine. > > > > > > 2) Somehow copy loadlin.exe to that partition in C:\ > > > > > > 3) Create a trinux directory on c:\ > > > > > > 4) Download the latest initrd.gz from > > > http://www.io.com/~mdfranz/trinux/initd/ and place it c:\ > > > > > > 5) Download an ide kernel from http://trinux.sf.net/kernel/x.x.x/id= e/ (I > > > think 2.4.5 should work) to c:\bzimage > > > > > > 6) Test it to make surt it boots: c:> loadlin initrd=3Dinitrd.gz > > > root=3D/dev/ram0 bzimage (the kernel name might come before the boo= t > > > arguments, can't remember off the top of my head. Whatever command = you get > > > working can be added to your autoxec.bat to get everything going > > > > > > 7) Within c:\trinux create the following directories: > > > > > > tux - contains the normal directory structure found on trinux flopp= ies > > > > > > bootpkg - will contain any packages you want loaded early on if you want > > > to do network booting you will need: dnslibs.tgz dhcpcd.tgz system.tgz. > > > > > > kpkg - kernel packages you want loaded > > > > > > pkg - you can also put packages here > > > > > > > > > NOTE: network configuration changes slightly from the last floppy release. > > > > > > If you want to do DHCP (easiest) tux\config\eth0 (or eth1) should contain > > > dhcp. You can also put the IP and netmask in there separated by a space > > > (192.168.100.1 255.255.255.0) and then add \tux\config\gateway,dns with > > > your default route and DNS server > > > > > > Post to the list if you have any problems. > > > > > > - mdf > > > > > > > I=B4ve just found trinux and looking around (docs, faq and lists)= I didn=B4t > > > > find a *exact* answer for my question... so there it goes: > > > > - Can I install trinux to boot from a IDE disk and not necessaril= y from > > a > > > > floppy disk (perhaps a flash-ide) ? > > > > I=B4ve found documantation enough to install it in a floppy disk = but I > > > > couldn=B4t found any where explaning how to install only in IDE drivers. > > > > If someone could send me a url, doc, pice of txt, anything.... I=B4= ll be > > > > thankful. > > > > > > > > Thank=B4s in advance, > > > > Gus > > > > > > > > > > > > _______________________________________________ > > > > Trinux-talk mailing list > > > > Tri...@li... > > > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > > > > > > > > > > _______________________________________________ > > > Trinux-talk mailing list > > > Tri...@li... > > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > > > > > > _______________________________________________ > > Trinux-talk mailing list > > Tri...@li... > > https://lists.sourceforge.net/lists/listinfo/trinux-talk > > > > > _______________________________________________ > Trinux-talk mailing list > Tri...@li... > https://lists.sourceforge.net/lists/listinfo/trinux-talk > |