LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Agh! Help!

[ILUG] Agh! Help!

Conor Daly conor.daly at oceanfree.net
Thu Jun 13 10:44:34 IST 2002


On Thu, Jun 13, 2002 at 10:22:49AM +0100 or so it is rumoured hereabouts, 
Philip Trickett thought:
> Hi,
> 
> Would anyone have any suggestions for the following:
> A user, not really in an awake mode, was trying to create a new network 
> boot floppy for the installation of RedHat 7.3 over a network.  The 
> command used was:
> dd if=bootnet.img of=/dev/hda
> Now, you can see the problem, as the first 1.44 mb of the hard disk was 
> overwritten by the install floppy image, and the computer just does 
> exactly as the install image would do when it is booted.
> 
> It looks as if it took the partition tables with it as well when this 
> happened as fdisk cannot see any partitions.
> 
> Would anyone have any suggestions?  As there was some stuff on the 
> machine which was quite useful.

If you know the *exact* partition boundaries and types, you _may_ be able
to just remake them using fdisk (do NOT! mke2fs them after or you'll
definately lose them!).  If the first partition is something easy (eg
/boot), you might get all your data back from other partitions but you're
not likely to get /dev/hda1 back (IMO that is...)

Conor
-- 
Conor Daly <conor.daly at oceanfree.net>

Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
 10:38am  up 20 days, 19:56,  0 users,  load average: 0.01, 0.06, 0.07
Hobbiton.cod.ie
 10:44am  up 20 days, 20:05,  2 users,  load average: 0.05, 0.12, 0.09




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell