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

proposal for less scary grub installation



I've wanted to make the grub boot loader installation screen less scary
for a while. This proposal hinges on the new os-prober stuff working
reasonably well. The idea is to make grub-installer on startup probe for
other OS's using os-prober. If it seems that all drives were used by the
debian install, display this template:

Template: grub-installer/only_debian
Type: boolean
Default: true
_Description: Install the GRUB boot loader to the master boot record?
 It seems that Debian will be the only operating system on this computer,
 so it should be safe to install the boot loader to the master boot record 
 of your first hard drive.

If some other OSes were found, display this template instead:

Template: grub-installer/with_other_os 
Type: boolean 
Default: true 
_Description: Install the GRUB boot loader to the master boot record? 
 The following operating systems have been detected on this computer:
 ${OS_LIST} 
 . 
 If this is all of your other operating systems, it should be safe to 
 install the boot loader to the master boot record of your first hard
 drive. You will be able to choose among the operating systems listed
 above, and your new Debian installation, when the computer boots.

If the user answers no to either question, prompt for a device:

Template: grub-installer/bootdev
Type: string
_Description: Device for boot loader installation:
 You need to make the newly installed Debian system bootable, by installing
 the GRUB bootloader on a bootable device. The usual way to do this is to
 install GRUB on the master boot record of your first hard drive. If you
 prefer, you can install grub to elsewhere on the drive, or to another 
 drive, or even to a floppy.

Probably all of the above would be displayed at high priority, although
the first could conceivably only be asked at low priority, depending on
how confident we are that the probe won't miss operating systems.

I'll try implementing this in people/joeyh/grub-installer in svn.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: