Setup-disk throws error on really empty disk
setup-disk on a clean disk throws an error. if the error is not critical then it should not show up.
Alpine version: Tested with Alpine 1.9.0 beta 4
Test environment: Created test vm with newly created (i.e. blank) HDD.
Output of setup-disk:
xbsna03:~# setup-disk
Available disks are: sda
Which one is the root disk? (or none) [sda]
Creating the following partitions on /dev/sda:
/boot 100MB
swap 480MB
/ 32188MB
WARNING: All contents of /dev/sda will be erased. Continue? [y/N]: y
Initializing partitions…
sfdisk: ERROR: sector 0 does not have an msdos signature
/dev/sda: unrecognized partition table type
No partitions found
Installing system on /dev/sda3:
[####################]
/mnt/boot/ is device /dev/sda1
Writing MBR to /dev/sda
Installation is done. Please reboot.
(from redmine: issue id 145, created on 2009-08-27, closed on 2009-10-09)
- Changesets:
- Revision 7c5f8e36 on 2009-09-03T13:33:13Z:
main/alpine-conf: upgrade to 2.0_rc2
fixes #145
fixes #150
fixes #151