Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2004 17:46:37 +0200
From:      Roberto Nunnari <roberto.nunnari@supsi.ch>
To:        Evan Dower <evantd@hotmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: help! I broke the partition table of the drive with thebootable partition!
Message-ID:  <4069965D.6070301@supsi.ch>
In-Reply-To: <BAY8-F68emPBpEfvGaw00007e79@hotmail.com>
References:  <BAY8-F68emPBpEfvGaw00007e79@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Evan.

Evan Dower wrote:
> You'll need to run fdisk (or the visual version of fdisk in sysinstall 
> that you can get to through Index->fdisk) to change the values back to 
> what they were. In order for the partition to be marked bootable, it 
> needs the flag 0x80 (active). In sysinstall's fdisk interface you can 
> get the effect by pushing S (for Set bootable).
> I hope this helps you out,

Thank you for your reply. I fixed it using fdisk and bsdlabel.

I didn't want to run sysinstall because at present I don't have
a consistent system at hand.. in fact after upgrading from
5.2-p1 to 5.2.1-p3 the system had kernel panic late in
the boot process, during network configuration.. so I did
a restore.. but no full.. just /boot, /bin, /sbin, /lib,
/libexec and /etc.. so I don't feel confident in using
funny tools until I get the system back to a consistent state.

Best regards.
-- 
               Roberto Nunnari -software engineer-
                mailto:roberto.nunnari@supsi.ch
  Scuola Universitaria Professionale della Svizzera Italiana
              Dipartimento Tecnologie Innovative
                   http://www.dti.supsi.ch
  SUPSI-DTI
  Via Cantonale                        tel: +41-91-6108561
  6928 Manno                 """       fax: +41-91-6108570
  Switzerland               (o o)
=======================oOO==(_)==OOo========================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4069965D.6070301>