how to fix fstab in single user mode for bootable "Live" USB drive

http://www.openbsd.org/faq/faq14.html#flashmemLive
says:
If your target machine has an ahci(4) or SCSI interface, you will
probably find your USB drive's identifier changing. Having multiple
versions of your /etc/fstab file may make this easier to "fix" (in
single user mode).

Install OpenBSD to USB drive in a notbook.   the usb drive is
recognized as "sd1"

Now put the USB drive into another PC an boot from USB. the usb dirve
is recognized as "sd0".

in the single user mode.
"fsck -p / && mount -uw /"   not work
"fsck -p /usr && mount /usr" not work
"vi /etc/fstab" not work.

question:
how to mount root / writable and active vi editor?


thanks.

Reply via email to