1 -- $Id: 200_select_disk.lua,v 1.5 2005/02/24 23:08:03 cpressey Exp $
10 App.state.sel_disk = nil
11 App.state.sel_part = nil
13 -- XXX there might be a better place to handle this.
14 if App.state.storage:get_disk_count() == 0 then
16 "The installer could not find any suitable disks " ..
17 "attached to this computer. If you wish to " ..
18 "configure an installation of %s " ..
19 "on an unorthodox storage device, you will have to " ..
20 "exit to a LiveCD command prompt and configure it " ..
21 "manually, using the file /README as a guide.",
27 local dd = StorageUI.select_disk({
28 sd = App.state.storage,
30 "Select the disk on which the installation of %s " ..
31 "that you wish to configure resides.",
33 cancel_desc = _("Return to Main") -- _("Return to %s", fsm:prev().title)
37 App.state.sel_disk = dd
40 return nil -- fsm:prev()