Feature #787

setup-bootable command line for installing Alpine does not modify partition table

Added by aa latchm 7 months ago. Updated 15 days ago.

Status:New Start date:10/26/2011
Priority:Normal Due date:
Assignee:Natanael Copa % Done:

0%

Category:-
Target version:Alpine 2.5.0

Description

According to the page: http://wiki.alpinelinux.org/wiki/Installing_Alpine_on_USB, Alpine can be installed on a USB stick using the command:

setup-bootable /media/cdrom /dev/sda

However, it seems that setup-bootable then tries to mount /dev/sda which it cannot, since /dev/sda is not a partition.

Should setup-bootable create a partition? If not, then perhaps the instructions should explain how to create a partition before running setup-bootable.

History

Updated by Natanael Copa 7 months ago

setup-bootable assumes partitions are there already. The doc should probably say /dev/sda1.

Updated by Natanael Copa 7 months ago

  • Tracker changed from Bug to Feature
  • Subject changed from setup-bootable command line for installing Alpine results in error to setup-bootable command line for installing Alpine does not modify partition table

We can look into a setup-bootable remake that can flush/recreate partitions for next release. (Still not convinced we want that).

In any case, we should probably do something to avoid this kind of errors. Things we can do (even if we don't modify the partitions):
  • give a proper error message when trying to use a disk instead of a partition device
  • interactive wizard where user only gets valid options (so you cannot pick wrong device)

Updated by Natanael Copa 15 days ago

  • Target version changed from Alpine 2.4.0 to Alpine 2.5.0

Also available in: Atom PDF