Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2012 21:10:22 -0400 (EDT)
From:      doug@safeport.com
To:        freebsd-questions@FreeBSD.ORG
Subject:   help with gpart
Message-ID:  <alpine.BSF.2.00.1210312055420.4527@oceanpt.safeport.com>

Next in thread | Raw E-Mail | Index | Archive | Help
I am trying to put FreeBSD on an HP laptop. The use up all the partitions to I 
deleted the least useful one, shrunk the windows partition and tried to add 
freeBSD.

gpart show:

=>       63  625142385  ada0  MBR  (298G)
          63       1985        - free -  (992k)
        2048     407552     1  ntfs  [active]  (199M)
      409600  311951360     2  ntfs  (148G)
   312360960         33        - free -  (16k)
   312360993  283115448     4  freebsd  (135G)
   595476441     577575        - free -  (282M)
   596054016   28880896     3  ntfs  (13G)
   624934912     207536        - free -  (101M)

I do not have any flexibility as to where #4 is. I would like to use the 
9.0 installer from this point but it wants to add BSD partitions to the 282M 
space.

I am not sure after much man-ing and google-ing what gpart commands are 
required. I guess I could use sysinstall at this point but learning gpart seems 
like a good thing. I assume I need to do something like:

    gpart add set -a active -i 4 ada04      (not sure geom is correct)
    gpart bootcode -b /boot/boot0 ada04

and then add the mounts. I would like

    /
    swap
    /var 10g
    /usr 20g
    /home (the rest)

but am somewhat lost about the syntax and geom values. thanks for any help

_____
Douglas Denault
http://www.safeport.com
doug@safeport.com
Voice: 301-217-9220
   Fax: 301-217-9277



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1210312055420.4527>