Opened 4 years ago

Closed 4 years ago

#246 closed Feature Request (fixed)

Installer modifying disk partitions table when installing on existent partition

Reported by: bitraptor Owned by:
Priority: minor Milestone:
Component: Installer Version: 8.0-RC
Keywords: Cc: trac-bugs@…

Description

When installing PC-BSD on an existing disk partition (slice) the installer nevertheless touches the disk partition table.
When listing the partitions with fdisk -l in linux afer the installation I have a "partition does not end on cylinder boundary" message which I did not have before the installation.
I know that FreeBSD has some tradition in seeing disk geometry its own way but when installing FreeBSD on an exisiting disk partition (i.e. slice) it leaves the partition table unchanged. So probably the PCBSD installer could also in this case leave the partition table alone.

Change History (4)

comment:1 Changed 4 years ago by kris

I'll take a look at this for 8.1. Aside from the fdisk warning, it doesn't fail elsewhere correct? I.E. you can still boot / work?

Did use the option to install the PC-BSD boot-loader? Also, which partition did you install to on the disk, 1-4?

comment:2 Changed 4 years ago by bitraptor

Installed on a PC with 2 IDE disks ad0, ad1
Installing on ad1s2 without PC-BSD boot-loader.
System working without other issues.

Interestingly using grub PC-BSD has to be chainloaded as grub cannot read the PC-BSD partition whereas FreeBSD can be booted from grub with kernel /boot/loader

comment:3 Changed 4 years ago by kris

Ok, that gives me some good starting info to debug this for 8.1. I've added it to the wiki of TODOs:

http://wiki.pcbsd.org/index.php/PC-BSD_8.1_TODO

comment:4 Changed 4 years ago by kris

  • Resolution set to fixed
  • Status changed from new to closed

This should be fixed now, got rid of our manual calculations in changing partition types, being done automatically with "gpart". If this shows up again in the future we'll need to report to the freebsd geom maintainers :)

http://trac.pcbsd.org/changeset/6307

Note: See TracTickets for help on using tickets.