Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 1998 12:35:43 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        John Baldwin <jbaldwin@freedomnet.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Help!  I fried my disk label...
Message-ID:  <Pine.BSF.4.00.9808171233290.26224-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.BSD/.3.91.980815202200.11137A-100000@freedomnet.com>

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

On Sat, 15 Aug 1998, John Baldwin wrote:

> I hope this is the right place to ask this, but at the moment I can't get 
> out much.  Here is my situation:  On my second hard drive (wd1) I have 
> two partitions: one for NT and one for FreeBSD.  Today, I added a new 
> hard drive to my system, and as a result, I am now converting the NT 
> partition to another BSD partition.  So, I booted BSD and pulled up 
> /stand/sysinstall.  I used Configure|Fdisk to delete the NT partition and 
> create a BSD one in its place.  Then I ran the disk label editor.  Since 
> the label editor had my current mountpoints as question marks and not 
> their current status, I thought that I should fix those.

Bzzt! Wrong! ;-)

> Well, when I committed the changes, it panic'd and rebooted when it
> tried to run disklabel on the then-mounted root partition (wd1s2a).  

Two problems:

1.  your fstab is now whacked, make sure you fix it.
2.  FreeBSD has trouble coping with two FreeBSD slices on the same disk.
    It'll try to boot the one it finds first.

> What can I do to get the bootloader to recognize my old root partition
> on wd1s2a so that I can boot?  Please mail me directly at this address
> since I'm not reading the questions list.  Thanks for any and all
> help.

You can attempt to override it by specifying

wd(1,a)/kernel

on the Boot: prompt, but no guarantees.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.00.9808171233290.26224-100000>