NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

install/45990: sysinst uses traditional 63 sector MBR offset

>Number:         45990
>Category:       install
>Synopsis:       sysinst uses traditional 63 sector MBR offset
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    install-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 12 03:55:00 +0000 2012
>Originator:     Izumi Tsutsui
>Release:        NetBSD 5.99.65
System: NetBSD i386 5.99.65 on QEMU
Architecture: i386
Machine: i386
sysinst(8) creates MBR partition with traditional offset 63 sectors
if "Use the entire disk" is selected.
It's too bad for modern 4KB/sector drives and flash memory based drives.

Note fdisk(8) has been fixed to use 1MB boundary for MBR partitions.

boot NetBSD/i386 5.99.65 installcd
 % qemu -m 512m -hda hdd.img -cdrom NetBSD-5.99.65-i386.iso -boot d
a: Installation messages in English
a: unchanged
a: Install NetBSD to hard disk
b: Yes
Hit enter to continue
a: Full installation
a: This is the correct geometry
b: Use the entire disk
a: Yes
a: Set sizes of NetBSD partitions
Accept partition sizes.
g: Change input units (sectors/cylinders/MB)
c: Sectors

Then the root partition starts at 63 sector offset.

Fix src/utils/sysinst/mbr.c to use proper boundary?

Home | Main Index | Thread Index | Old Index