NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-amd64/49293: Installing without setting partition sizes results in an install with no swap space
>Number: 49293
>Category: port-amd64
>Synopsis: Installing without setting partition sizes results in an install with no swap space
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-amd64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 18 21:25:01 +0000 2014
>Originator: David Ross
>Release: 6.1.5
>Organization:
n/a
>Environment:
NetBSD 00-15-5d-01-06-09 6.1.5 NetBSD 6.1.5 (GENERIC) amd64
>Description:
If you install NetBSD 6 onto an empty disk, for example in a new VM, it's easy to wind up with no swap space configured. To avoid this, all you need to do is to elect to "Set sizes of NetBSD partitions" instead of "Use existing partition sizes" during the install. You don't even need to adjust the default partition sizes you get, swap will already be present as long as you select "Set sizes of NetBSD partitions."
To be clear, if you set "Use existing partition sizes" on an empty disk during a NetBSD install, you'll wind up with no swap space. You might say that makes sense because there aren't any existing partitions on the disk, but I wouldn't expect the end result to be a non-standard configuration having no swap space.
>How-To-Repeat:
1. Start installing NetBSD 6.1.5 in a VM with a clean disk image. (Probably using a disk that has been zero'd will produce the same results.)
2. Booting up the install media, select defaults for everything.
3. Select "This is the correct geometry."
4. Select "Use the entire disk."
5. Choose to install the NetBSD boot code.
6. Choose "Use existing partition sizes." <-- The issue is here.
7. Proceed with the install, selecting defaults for everything else.
8. When the box boots up, try:
swapctl -l
9. Observe no swap space is configured.
Expected behavior:
A basic swap partition is created (512MB?)
>Fix:
Home |
Main Index |
Thread Index |
Old Index