Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2007 12:32:41 -0000
From:      =?iso-8859-1?Q?Nuno_Gon=E7alves?= <nuno@fccn.pt>
To:        <freebsd-questions@freebsd.org>
Subject:   Changing boot partition
Message-ID:  <00fe01c84884$93ba1d30$1f2c88c1@corp.fccn.pt>

next in thread | raw e-mail | index | archive | help
Hi all,

=20

I Have a FreeBSD booting ok. It=92s FSTAB is like this:

#Device        MountPoint     FStype           Options

/dev/ad1s1b   none             swap             sw

/dev/ad1s1a   /                  ufs               rw

/dev/acd0      /cdrom          cd9660          ro,noauto

/dev/ad1s2d   /backup         ufs               rw

=20

When I boot the machine the boot manager shows me F1 and F2 to boot for.

F1 brings me /dev/ad1s1a OK

Still I want the machine to boot to /dev/ad1s2d

This partition has a backup from another FreeBSD which I want to boot.

=20

To accomplish this, I need only to change FSTAB ?

What changes should I do ? changing /dev/ad1s2d to /dev/ad1s2a ? I read =
that
a means boot root partition

=20

I tried to change FSTAB to=20

#Device        MountPoint     FStype           Options

/dev/ad1s1b   none             swap             sw

#/dev/ad1s1a /                  ufs               rw

/dev/acd0      /cdrom          cd9660          ro,noauto

/dev/ad1s2a   /backup         ufs               rw

=20

And it hanged when I pressed F1 (could not mount the root partition :P )

=20

Could you guys give any hint ?

Sorry about this questions but I am a newbie to FreeBSD

=20

Thanks once again

Nuno




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00fe01c84884$93ba1d30$1f2c88c1>