devinteske

growfs

Jan 8th, 2016
488
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. Make a FreeBSD UFS partition bigger for VMware Guest:
  2.  
  3. 1. Shut down VM
  4. 2. Delete all snapshots (requirement for next step)
  5. 3. Resize disk
  6. 4. Create snapshot
  7. 5. Configure VM to boot FreeBSD installation media
  8. 6. Boot install media
  9. 7. Alt-F4
  10. 8. gpart resize -i 1 ada0
  11. 9. gpart commit ada0s1
  12. 10. bsdlabel ada0s1 >> backup
  13. 11. bsdlabel -w ada0s1
  14. 12. bsdlabel -e ada0s1
  15. 13. Fix labels/offsets (using backup)
  16. 14. growfs ada0s1f
  17. 15. reboot
Add Comment
Please, Sign In to add comment