Hello, I would like to emulation the unix sistem by FREEAXP with a image HD saved from a old unix pc and I must the change edit the FSTAB but I don't know how to do when start with b dka0 -flags 0 file /genvmunix and after on the pront line I get $PWD, at this point how can I use edit if Im not super user?
Posts: 59 Location: nr Heathrow, Middlesex, UK Joined: 18.03.10
Posted on September 25 2021 06:12
>>> boot dka0 -flags 0 -file /genvmunix
will get you to a single user prompt '# '. which gives you a root (uid 0) shell.
However, the root partition '/' is not writable at that point .... so run
# mount -u /
After that '/' should be mounted 'rw'...
You can check its mount status by
# mount (no flags) .... which will show mounted partition(s) and their flag(s).
While in Single User, you will need to edit /etc/fstab using 'ed' as /usr will not
be mounted at this point. (and you will need to edit fstab to mount /usr and
any other partitions).