[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 3.0.19-bf2.4 install report



#include <hallo.h>
Glenn McGrath wrote on Sun Feb 17, 2002 um 12:53:55AM:

> The only hitch i encountered was the mbr, after i installed i changed
> the bios boot drive, then when it tried booting i got "L 01 01 01...."
> with 01 constantly repeating... i vagually remember seeing a warning
> about doing such a thing.

What is your first IDE device, how it is connected? My assumption: it is
not /dev/hda but another one, and the real device is mapped by your bios
to ide0. For such situation, there is a workaround in the current CVS
tree.

> I did a net install, i made the boot, root and 4 driver disks but
> happily discovered the 8139too driver built into kernel, so i only
> need 2 disks, retrieved everything via the network.

Hm. This advantage should be documented somewhere.

> I deliberately typed in the wrong url to start the downloads, i got
> the "Malformed release file" that has caused problems in the past, i
> re-did it wiht the correct url and had no problems.

Also my experience. The problem is solved, IMHO.

> It would be nice if a more local defualt mirror was provided... there
> is a low severity bug requesting it, ill have a look at making a
> netselect busybox applet, a bit late to adding new features to bf, but
> it would make a handy addition to busybox anyway i think.

I think, the change is minimalistic. Assuming that the language names
allways have 2 chars, this quick hack may work. If someone has some
spare time, please test and commit:

Index: net-fetch.c
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/utilities/dbootstrap/net-fetch.c,v
retrieving revision 1.53
diff -u -r1.53 net-fetch.c
--- net-fetch.c 2002/02/08 05:56:11     1.53
+++ net-fetch.c 2002/02/16 15:20:59
@@ -347,6 +347,11 @@
   // http://http.us.debian.org/debian/dists/potato/main/disks-$arch/current/
   nf_state.method = strdup("http");
   nf_state.server.hostname = strdup("http.us.debian.org");
+#ifdef USE_LANGUAGE_CHOOSER
+  /* ugly... this will work as long as the LANG name has two chars. Preffer "us
"
+   * when "en". */
+  sprintf(nf_state.server.hostname, "http.%s.debian.org", strcmp(lang->locale, 
"en")==0 ? "us" : lang->locale );
+#endif  
   nf_state.server.port = 80;
   nf_state.proxy.hostname = strdup("none");
   nf_state.proxy.port = 8080;

Gruss/Regards,
Eduard.
-- 
Real programmers don't comment their code.  It was hard to write, it
should be hard to understand.



Reply to: