Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.hawaii.edu!news.uoregon.edu!hunter.premier.net!news.mathworks.com!fu-berlin.de!news.coli.uni-sb.de!news.phil.uni-sb.de!not-for-mail From: rock@wurzelausix.CS.Uni-SB.DE (D. Rock) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How to reinstall the boot manager? Date: 9 Jun 1996 20:39:31 GMT Organization: Universität des Saarlandes Lines: 48 Message-ID: <4pfcq3$j36@pf1.phil.uni-sb.de> References: <uohmt4hew.fsf@erich4.microsoft.com> NNTP-Posting-Host: botanix.cs.uni-sb.de X-Newsreader: TIN [UNIX 1.3 950824BETA PL0] In Artikel <uohmt4hew.fsf@erich4.microsoft.com> schrieb Eric Hanchrow (erich@erich4.microsoft.com): : This must be a FAQ, but I sure can't find the answer -- either in this : newsgroup, or on http://www.freebsd.org/search.html (I can find a ton : of similar *questions* at that URL, but no answers). : : I had FreeBSD 2.1.0 working nicely, with its boot manager. Then I : installed Win95, and of course now the boot manager is gone, and I : can't figure out how to get it back, nor how else I can boot FreeBSD. Here is my way: The bootmanager file is located in /usr/src/release/sysinstall/bteasy17.uu uudecode this file. You will get a file "bteasy17" Now do the following (I hope you backed up your partition tables...): dd if=bteasy17 of=/dev/wd0 bs=1 count=446 for each device you wish to boot from (/dev/wd0, /dev/wd1, /dev/sd0, etc.). Beware: - Don't use raw device names. They can't handle weird blocksizes. - count=446 is extremely important. The partition table is 16 bytes per entry plus 2 bytes magic number located at the end of the sector. (446 = 512 - (4 * 16 + 2)) I've tried this multiple times with no problems. If you haven't installed /usr/src/release, here is the uuencoded file: begin 664 bteasy17 M,\".P([8CM"\`'S\B_2_``:Y``'RI>I@!@``B]58HD@'/#5T'+00]N0%K@26 M]D0$_W0^Q@2`Z-H`BG0!BTP"ZPCHSP"Y`0`RT;L`?+@!`LT3<AZ!O_X!5:IU M%NH`?```@/J!=`*R@(OJ0H#RLX@6.@>_O@>Y!`#&!BT',3+VB"V*100\`'0C M/`5T'_[&OBH'Z'$`OD@'1D:+'`K_=`4R?01U\XVW<@?H6@"#QQ#^!BT'XLN` M/G4$`G0+OCL'"O9U"LT8ZZR^*@?H.0#H-@`RY,T:B]J#PV"T`<T6M`!U"\T: M.]-R\J!(!^L*S1:*Q#P<=/,$]CPQ<M8\-7?24+XH![L;!E/\K%`D?[0.S1!8 MJ(!T\L-6N`$#NP`&N0$`,O;-$U[&!D@'/\,-B@T*1C`@+B`N("Z@9&ES:R`Q M#0H*1&5F875L=#H@1C^@``$`!``&`P<'"@IC#F0.912`%($9@AZ3)*4GGRMU M+U(OVS)`-_(]`&1O\TA01M-/<[)5;FGX3F]V96SL36EN:?A,:6YU^$%M;V5B MX4)3Q$)31.E00TG80U#-5F5N:?A$;W-S9>,_OP`````````````````````` M```````````````````````````````````````````````````````````` 1````````````````````5:H` ` end Greetings, Daniel Rock