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

Re: Deleted /dev/hda (MBR)



On Mon, Sep 11, 2000 at 08:37:29PM +0200, Moritz Schulte (tux@gmx.li) wrote:
> On Mon, Sep 11, 2000 at 04:39:24PM +0100, Dominik Bittl wrote:
> 
> > I deleted /dev/hda as root and now i cant boot anymore (without
> > disc) !!

<...>

> > What can i do ??
> 
> if i am right, and you really have only deleted this device file, then
> you could try the following: boot a GNU/Linux system. if you don't
> have another working one on your harddisk, get a one of those
> floppy-distributions. for example 'Toms RtBt' from
> http://www.toms.net. then, mount your root partition, and recreate
> /dev/hda. if your rescue system, has the MAKEDEV script, use this. if
> not, use mknod. /dev/hda is a block device, with the major number 3
> and minor number 0. so, 'mknod /path/to/your/root/partition/dev/hda b
> 3 0' should work. if not, see the manpage.

Overkill.  Way overkill.

    man MAKEDEV

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgpqyGIEuycJW.pgp
Description: PGP signature


Reply to: