Quote:
Originally Posted by daemonfowl
Thanks jgimmi !
( I tried single-user mode but received the same error : unable to write label
and the mount point for wd0d (/tmp) was an empty place when I tried resizing or deleting .. so I ended up with x , losing changes.)
|
Sigh.
- Post your disklabel.
- Post the disklabel you want to have, or the changes you want to make.
- Post the disklabel(8) command/commands you are using.
- POST THE EXACT ERROR MESSAGES YOU RECEIVE.
I keep asking, and I never get this information. I'm tired of guessing. Here is some spoon-feeding. If this helps, great. If you cannot follow this .... you are on your own.
- Boot single-user mode. How you do this varies by architecture.
- Mount all partitions. You will need /usr directories mounted for script(1) and col(1).
# mount -a
- Dismount /tmp.
# umount /tmp
- Run script(1):
# script
- Obtain the current disklabel.
# disklabel wd0
- Edit the disklabel with the built-in command driven editor.
# disklabel -E wd0
- use the "m" command to modify the /tmp partition. That might be "d", but I have no clear idea if that is so.
> m d
- Press Enter in response to the Offset:prompt. You do not want to change the starting location.
- Type a size in response to the Size: prompt. Append with "g" or "m" for gigabytes or megabytes.
- Press Enter in response to the FS type: prompt.
- Use the "w" command to write the modified disklabel.
> w
- Use the "q" command to exit the command driven editor.
> q
- If you were actually successful in changing the disklabel, format the newly resized partition with newfs(8).
# newfs wd0d
- Use CTRL-D or the "exit" shell command to leave script(1).
- Clean control characters from the script log with col(1).
# col -b < typescript > myscript.output.file
- Reboot in multiuser mode, copy and paste /myscript.output.file into this thread. We will then finally know what your disklabel looks like now, what error message(s) you receive when you try to change it, and what your disklabel will look like should you end up being successful, after all.