Article View: alt.linux
Article #369Re: Lost partition
From: preamp
Date: Tue, 27 Feb 2001 08:20
Date: Tue, 27 Feb 2001 08:20
66 lines
3296 bytes
3296 bytes
sandy wrote: > > There is a backup boot record here; > > -rw-r--r-- 1 root root 512 Feb 24 23:03 boot.0345 > > Now is this the time and date that you re-wrote the /dev/hda5 > boot record? > > If yes then; Nope... it was much earlier than this I fear...... > > Now what you want to do is re-write the first 512 bytes of > /dev/hda5 with what would normally appear in a FAT32 > filesystem. I don't know exactly what is there but if you > create another FAT32 filesystem (may need to be the > same size) I did this... /dev/hda6 and I made it identical in size. >then boot linux and (please check dd argument > below because I'm doing from memory, which isn't very > good); It's better than you think :-) > > dd if=/dev/hdbNUM of=/tmp/boot_record bs=512 count=1 > > bs is block size and count is number of blocks. Check size > of file by; > > ls -l /tmp/boot_record > > Should be 512 bytes. Yep...fine. >If everything OK then copy this boot > record to /dev/hda5; > > dd if=/tmp/boot_record of=/dev/hda5 > > Now reboot and see if /dev/hda5 is OK. > > Keith You're brilliant my friend.... it has worked perfectly!!!! I can't thank you enough for the amount of trouble you have saved me. (Although I thought it would be easy to rebuild if we failed, I was wrong. I had Net Nanny installed there, and due to it's protection against interference, it was not going to let me reinstall it anywhere else until I uninstalled the non-existent files. I could not do that because it would not accept the admin password - I think because it could not verify it against the missing data) Anyway, thanks again.
Technical Details
Message-ID:
<3a9b62ba$0$25508$7f31c96c@news01.syd.optusnet.com.au>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!demon!203.97.37.7!news.xtra.co.nz!news1.optus.net.au!optus!news1.mpx.com.au.MISMATCH!news01.syd.optusnet.com.au!nnrp01.syd.optusnet.com.au!not-for-mailReferences:
<3a973ada$0$25511$7f31c96c@news01.syd.optusnet.com.au> <TjXl6.10734$CW1.8347507@typhoon.ne.mediaone.net> <3a98a2a6$0$25500$7f31c96c@news01.syd.optusnet.com.au> <6tdm6.11657$CW1.8952318@typhoon.ne.mediaone.net> <3a9a0d37$0$25504$7f31c96c@news01.syd.optusnet.com.au> <3a9a135a$0$25468$7f31c96c@news01.syd.optusnet.com.au> <42um6.11955$CW1.9514309@typhoon.ne.mediaone.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8a83,3313a7f9466caaac X-Google-Attributes: gidf8a83,public X-Google-Thread: 100c5f,3313a7f9466caaac X-Google-Attributes: gid100c5f,public X-Google-Thread: f9382,3313a7f9466caaac X-Google-Attributes: gidf9382,public X-Google-Thread: 102983,3313a7f9466caaac X-Google-Attributes: gid102983,public X-Google-ArrivalTime: 2001-02-27 00:20:58 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!212.74.64.35!colt.net!dispose.news.demon.net!demon!203.97.37.7!news.xtra.co.nz!news1.optus.net.au!optus!news1.mpx.com.au.MISMATCH!news01.syd.optusnet.com.au!nnrp01.syd.optusnet.com.au!not-for-mail From: preamp <preamp@spamblock.dingoblue.net.au> Subject: Re: Lost partition Newsgroups: alt.linux,alt.os.linux.mandrake,aus.computers.linux,comp.os.linux Date: Tue, 27 Feb 2001 18:20:00 +1000 References: <3a973ada$0$25511$7f31c96c@news01.syd.optusnet.com.au> <TjXl6.10734$CW1.8347507@typhoon.ne.mediaone.net> <3a98a2a6$0$25500$7f31c96c@news01.syd.optusnet.com.au> <6tdm6.11657$CW1.8952318@typhoon.ne.mediaone.net> <3a9a0d37$0$25504$7f31c96c@news01.syd.optusnet.com.au> <3a9a135a$0$25468$7f31c96c@news01.syd.optusnet.com.au> <42um6.11955$CW1.9514309@typhoon.ne.mediaone.net> Organization: None Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8Bit User-Agent: KNode/0.3.2 Lines: 72 Message-ID: <3a9b62ba$0$25508$7f31c96c@news01.syd.optusnet.com.au> NNTP-Posting-Host: 198.142.220.210 X-Trace: 983261883 news01.syd.optusnet.com.au 25508 198.142.220.210