Re: Installation overwritten... Accidental disklabel and newfs

2021-02-10 Thread Ed Gray
Thanks for the answers. I will make a note of this command. I have now installed 6.8 and am gradually getting my settings and software back. Regards Ed Gray https://www.linkedin.com/in/ed-gray-55079422 On Wed, 10 Feb 2021 at 19:25, Ian Darwin wrote: > > The device nodes don't exist until the

Re: Installation overwritten... Accidental disklabel and newfs

2021-02-10 Thread Ian Darwin
> The device nodes don't exist until the install or upgrade program detects > the disk and creates them. > > Likewise for wd0 as although outdated for ahci disks. > > Dmesg identifies the disk as: > sd0 at scsibus0 targ0 lun0 ATA ST1000DM003... > sd0 953869mb > > This is why I had to run

Re: Installation overwritten... Accidental disklabel and newfs

2021-02-10 Thread Otto Moerbeek
On Wed, Feb 10, 2021 at 07:11:53PM +, Ed Gray wrote: > Hi Otto, > > Thanks for your reply. This is what I see on a shell from bad.rd when I try > to access the first SATA HDD. > > # disklabel sd0 > disklabel: /dev/rsd0: no such file or directory > > # disklabel sd0c > disklabel:

Re: Installation overwritten... Accidental disklabel and newfs

2021-02-10 Thread Ed Gray
Hi Otto, Thanks for your reply. This is what I see on a shell from bad.rd when I try to access the first SATA HDD. # disklabel sd0 disklabel: /dev/rsd0: no such file or directory # disklabel sd0c disklabel: /dev/rsd0c: no such file or directory Same for rsd0 and rsd0c. The device nodes don't

Re: Installation overwritten... Accidental disklabel and newfs

2021-02-10 Thread Otto Moerbeek
On Wed, Feb 10, 2021 at 03:35:06PM +, Ed Gray wrote: > Okay, thanks Stuart. > > I have left testdisk running a deep scan and will see if it finds my /var. > I know I'll still have to mount the partitions and I don't know if an fsck > would be able to fix any damage done by newfs. > > I

Re: Installation overwritten... Accidental disklabel and newfs

2021-02-10 Thread Ed Gray
Okay, thanks Stuart. I have left testdisk running a deep scan and will see if it finds my /var. I know I'll still have to mount the partitions and I don't know if an fsck would be able to fix any damage done by newfs. I think at this point I'm better off starting again as like others I've done

Re: Installation overwritten... Accidental disklabel and newfs

2021-02-10 Thread Stuart Henderson
On 2021-02-09, Ed Gray wrote: > I have backups and will probably not have lost anything important but I > just wondered if anyone had any suggestions as to whether this is fixable > and what steps to take before I give up and re-install? I followed a how-to > I found which suggested using

Installation overwritten... Accidental disklabel and newfs

2021-02-09 Thread Ed Gray
Hi, So I was upgrading my box to 6.8 and managed to accidentally overwrite my disklabel and filesystems. I ran install instead of upgrade and stopped after the filesystem creation when I realized my mistake (see ending paragraphs). The new disklabel was different due to auto allocation changes