Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Jun 2019 11:01:49 +0200
From:      Matthias Oestreicher <matthias@smormegpa.no>
To:        Anders Jensen-Waud <anders@jensenwaud.com>, Brian Wood <woodbrian77@gmail.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Booting from USB
Message-ID:  <a3b04b4ecf0cf93e7ee0b557325819ab9a3e8d16.camel@smormegpa.no>
In-Reply-To: <d4fd0376-1a46-be7c-02f2-e54ee552aad9@jensenwaud.com>
References:  <CABWFOjuN7g_6Y38o0hMviuHzZnix_P5UnFx1j0u4Z1NzgU-zAA@mail.gmail.com> <d4fd0376-1a46-be7c-02f2-e54ee552aad9@jensenwaud.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I assume your portable SSD is connected to USB and you most probably use a USB pen
drive to install as well.

What often happens is, that your installation pen drive is /dev/da0 while your portable
SSD is /dev/da1 during install. So the installer will add an entry to /etc/fstab that
/dev/da1 is where the system should boot from in the future.
Now you reboot and remove your pendrive. With the pendrive gone, your SSD will now be
/dev/da0, but it tries to boot your newly installed system from /dev/da1..., since
that's what in /etc/fstab.

You could either drop to the shell after install is finished and fix the entry in
/etc/fstab before you reboot and exit the installer, or...
Reboot the machine, and when loading fails, at the loader prompt tell the loader
something like

> UFS:/dev/da0p2
(may be da0p3, depends on what the installer did. in FreeBSD one can type "?" to list
devices. I've never used Trident)

Then when the system is up, fix /etc/fstab entry from e.g. /dev/da1p2 to /dev/da0p2


Am Sonntag, den 09.06.2019, 17:04 +1000 schrieb Anders Jensen-Waud:
> On 9/6/19 2:48 pm, Brian Wood wrote:
> > I installed Trident onto a portable SSD.  When I boot from
> > that SSD, it works fine on an older machine, but doesn't
> > work on my Dell Latitude.  I've tried changing some Bios
> > settings, but that hasn't helped.
> > 
> > I was thinking about dual booting the Dell a week or so ago,
> > but decided to try having the OSes on separate drives.
> > Thanks for ideas on how to figure it out.
> 
> Does the new machine use EFI? How far in the boot process does it go?
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




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