|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
|||
Help creating a slice
We are installing FreeBSD in a dual boot config with Windows 7 for a project at work. Half the disk will be for Windows 7 and the other half for FreeBSD. I know you need to have the HD geometry the BIOS sees. Dell has become nice and cute with their BIOS and they don't tell you what the geometry is anymore. Is there anyway I can figure out what it is? On previous builds I've trusted the geometry FreeBSD guessed but it was wrong and we ended up having boot problems.
|
|
|||
Manufacturers may not share the disk geometry because it's kinda useless. Both the disk controller and the BIOS are big liars.
Anyway, the most important thing is to know the disk coordinates of the Windows partition. From a livefs disc, use # fdisk DeviceN to find out the beginning and end cylinder, head and sector of the Windows partition (ID 7 for NTFS). Once you have that, install FreeBSD and the boot0 boot manager. If you can't boot Windows anymore, check the partition table with fdisk again, and if the C/H/S values have changed since you installed boot0, restore the original values using # fdisk -u DeviceN .Needless to say, you must have Windows installed first.
__________________
May the source be with you! |
|
|||
CHS is mostly redundant on newer drives, most partitioning tools support LBA-based operations
I think the recommended approach in the dual booting world is to install Windows and resize the partition from there, i.e: shrinking it.. and perhaps even adding another partition from there as well, but adjusting the ID using FreeBSD's fdisk(8) to relevant identifier (..is it A5 in FreeBSD?). |
|
|||
Fresh installations of Windows using the standalone version (not the upgrade version requiring an existing Windows installation...) allows the user to specify how many megabytes are to be used by the system partition. Consumption of the entire disk is not required.
|
|
|||
Ah, apologies.. I haven't used/installed Windows in quite a few years.
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Understanding Fdisk, Slice, and the MBR (Master Boot Record) | FBSD | Guides | 1 | 20th February 2010 08:33 PM |
Creating port | backrow | OpenBSD Packages and Ports | 9 | 9th September 2009 11:55 AM |
Creating 2 slices | Beastie | FreeBSD Installation and Upgrading | 7 | 23rd March 2009 12:22 AM |
Moving linux partitions out of the BSD disklabel/slice | fbsduser | NetBSD Installation and Upgrading | 5 | 4th March 2009 07:07 AM |
Change the Size of a Slice | kienjakenobi | FreeBSD General | 9 | 27th June 2008 03:01 PM |