[Bulk] Re: How to create a partition for FreeBSD 9.0?

Ralf Mardorf ralf.mardorf at rocketmail.com
Tue Nov 27 19:58:57 UTC 2012


# mount -t msdosfs /dev/da0s1 /mnt
did not work. It has to be
# mount -t msdosfs /dev/da0 /mnt

This is from the log:

# gpart show ada0
=>       63  625142385  ada0  MBR  (298G)
         63  121274683        - free -  (57G)
  121274746  503862599     2  ebr  [active]  (240G)
  625137345       5103        - free -  (2.5M)

# gpart add -t freebsd -i1 ada0
ada0s1 added

Now it becomes complicated, since the log is a mess:

=>       63  625142385  ada0  MBR  (298G)
         63  121274622     1  freebsd  (57G)
  121274685         61        - free -  (30k)
  121274746  503862599     2  ebr  [active]  (240G)
  625137345       5103        - free -  (2.5M)

# gpart show ada0s1
=>        0  121274622  ada0s1  EBR  (57G)
          0  121274622          - free -  (57G)

# gpart create -s bsd ada0s1
gpart: geom 'ada0s1': File exists

# gpart create -s bsd da0s1
gpart: arg0 'da0s1': Invalid argument

And now log is missing output:

# gpart -t freebsd-ufs -a 4k -s 53g [???]
However, since create already didn't work, the missing output anyway is unimportant.

Regards,
Ralf







More information about the freebsd-questions mailing list