Problem with a custom disk partition

Questions about the installation of FreeBSD
Post Reply
philippe972
Posts: 5
Joined: Thu Oct 29, 2015 4:51 am
Location: france
Has thanked: 0
Been thanked: 0

Problem with a custom disk partition

Post by philippe972 » Thu Oct 29, 2015 4:56 am

Hi

I try to install GhostBSD 10.1 XFCE 64.

I choose a custom GPT partition scheme with a separate /home.

From the start of the install, i have a EXITERROR message.

This is the output of pc-sysinstall.log :

kern.geom.debugflags: 16 -> 16
kern.geom.label.disk_ident.enable: 0 -> 0
Deleting all gparts
Running: gpart delete -i 2 /dev/ada0
ada0p2 deleted
Running: gpart destroy /dev/ada0
ada0 destroyed
Clearing gpt backup table location on disk
Running: dd if=/dev/zero of=/dev/ada0 bs=1m count=1
1+0 records in
1+0 records out
1048576 bytes transferred in 0.008874 secs (118163528 bytes/sec)
Running: dd if=/dev/zero of=/dev/ada0 bs=1m oseek=460796
dd: /dev/ada0: end of device
5+0 records in
4+0 records out
4194304 bytes transferred in 0.027236 secs (153998617 bytes/sec)
Running gpart on /dev/ada0
Running: gpart create -s GPT -f active /dev/ada0
ada0 created
Running: gpart add -s 1M -t bios-boot /dev/ada0
ada0p1 added
Running: gpart add -s 452632M -t freebsd-ufs /dev/ada0
ada0p2 added
Running: gpart add -s M -t freebsd-swap /dev/ada0
gpart: Invalid size param: Invalid argument
EXITERROR: Error 1: gpart add -s M -t freebsd-swap /dev/ada0
Unmounting: /mnt
Running: umount -f /mnt
umount: /mnt: not a file system root directory
Unmounting DVD/USB media: /cdmnt-install
Running: umount -f /cdmnt-install
umount: /cdmnt-install: not a file system root directory


I don't understand what's wrong.

Thanks for help.
Attachments
ghostbsd.jpeg
my custom disk partition before install
ghostbsd.jpeg (178.37 KiB) Viewed 3381 times

philippe972
Posts: 5
Joined: Thu Oct 29, 2015 4:51 am
Location: france
Has thanked: 0
Been thanked: 0

Unable to create separate /home partition

Post by philippe972 » Sat Oct 31, 2015 11:22 pm

I try many times to install ChostBSD 10.1 and i can't succeed.
I choose to have a separate /home partition but it seems it's impossible with GPT or MBR scheme partition.
Each time, i have an EXITERROR message and the install stop.

Thanks for some help !

ASX
Posts: 988
Joined: Wed May 06, 2015 12:46 pm
Has thanked: 0
Been thanked: 0

Re: Problem with a custom disk partition

Post by ASX » Sun Nov 01, 2015 9:12 am

HI,

I can see two problem from your report:

1)
Running: gpart add -s M -t freebsd-swap /dev/ada0
gpart: Invalid size param: Invalid argument
EXITERROR: Error 1: gpart add -s M -t freebsd-swap /dev/ada0[quote][/quote]'

there should be a 'size' along with the 'M' qualifier, that's not your fault of course, something is wrong with partition editor and need to be fixed ...


2)
To install using a separate home dir, what is needed is to specify '/usr/home' as a separate filesystem, '/home' is a symlink to /usr/home and the installer will fail while trying to create a /home directory on top of an already existing /home symlink.

Also in this case the installer/partition editor should suggest '/usr/home' instead of '/home', but at least this can be worked around by manually specify the correct mountpoint.

Thanks for your report.

philippe972
Posts: 5
Joined: Thu Oct 29, 2015 4:51 am
Location: france
Has thanked: 0
Been thanked: 0

Re: Problem with a custom disk partition

Post by philippe972 » Sun Nov 01, 2015 12:39 pm

I restart my install with a /usr/home partition and everything works fine now. No more problem with the swap and i have a separate /home.

Thanks a lot ASX for your precious help.

Post Reply