|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
Manual install of FreeBSD 8.0 RELEASE after gpart
Im following this guide, "FreeBSD Install Without Sysinstall"
(cant post the url - new member) However, I have come up against a couple of problems. The reason Im not using sysinstall is becuase ive configured my paritions manually to align to boundarys that are more SSD friendly. Create a slice apanning all the disk after the 63 sectors required by the MBR paritioning scheme: Code:
# gpart show ad4 63 78165297 ad4 MBR (37G) 63 78165297 1 freebsd [active] (37G) Code:
Label Start(ST) End(ST) Size(ST) (MB) / Root ___s1a 16* 1161215 1161200 566MB swap Swap ___s1b 1161216 18966527 17805312 8694MB /var Var ___s1d 18966528 21030911 2064384 1008MB /tmp Temp ___s1e 21030912 23095295 2064384 1008MB /usr User ___s1f 23095296 54577151 31481856 15372MB /??? 54577152 78156225 23579073 11513MB * +63 Sectors is reserved for MBR slice. Code:
# gpart create -s bsd ad4s1 / # gpart add -i 1 -b 16 -s 1161200 -t freebsd-ufs ad4s1 swap # gpart add -i 2 -b 1161216 -s 17805312 -t freebsd-swap ad4s1 /var # gpart add -i 4 -b 18966528 -s 2064384 -t freebsd-ufs ad4s1 /tmp # gpart add -i 5 -b 21030912 -s 2064384 -t freebsd-ufs ad4s1 /usr # gpart add -i 6 -b 23095296 -s 31481856 -t freebsd-ufs ad4s1 Code:
# newfs -E -s 4096 -b 32768 -U -p f /dev/ad4s1a # newfs -E -s 4096 -b 32768 -U -p f /dev/ad4s1d # newfs -E -s 4096 -b 32768 -U -p f /dev/ad4s1e # newfs -E -s 4096 -b 32768 -U -p f /dev/ad4s1f Code:
=> 0 78165297 ad4s1 BSD (37G) 0 16 - free - (8.0K) 16 1161200 1 freebsd-ufs (567M) 1161216 17805312 2 freebsd-swap (8.5GB) 18966528 2064384 4 freebsd-ufs (1.0G) 21030912 2064384 5 freebsd-ufs (1.0G) 23095296 31481856 6 freebsd-ufs (15G) 54577152 23588145 - free - (11G) I did try and do what the script does direct from the console but cant get the pipe to work on the keyboard (???) so cant: Code:
# cat base.?? | tar --unlink -xpzf - -C /mnt/install When I try and run install.sh to copy the contents across, I get seek failed. ...becuase my root fs shows Capacity @ 107% and Avail @ -120 df /dev/ad4s1a 1756 1736 -120 107% /mnt/install /dev/ad4s1d 1756 308 1308 19% /mnt/install/var /dev/ad4s1e 1756 8 1308 0% /mnt/install/tmp /dev/ad4s1f 1756 164 1452 10% /mnt/install/usr (thanks) |
|
|||
Ignore me... Was a later night. I was just putting the wrong switch to newfs
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Free BSD Release 8.0 not recognizing CD/DVD and usb install media | dheerajsuthar | FreeBSD Installation and Upgrading | 8 | 26th February 2010 03:35 PM |
FreeBSD 7.2-RELEASE | vermaden | FreeBSD General | 6 | 12th May 2009 08:33 PM |
Manual install of Mediawiki? | cwhitmore | FreeBSD Ports and Packages | 4 | 3rd October 2008 06:47 PM |
Disable manual fsck on startup | Malakim | FreeBSD General | 4 | 2nd September 2008 05:28 PM |
FreeBSD 6.2-RELEASE > 7.0-RELEASE Upgrade | Marci | FreeBSD Installation and Upgrading | 2 | 23rd July 2008 02:10 PM |