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

Bug#581687: Device naming scheme changed from GRUB to GRUB2



On Thu, 16 Dec 2010 05:58:05 +0100, Christian PERRIER wrote:
> Quoting Karsten Loeft (karstenloeft@yahoo.de):
> > I noticed that, as of installer beta2, this bug is still not fixed.
> > I am not an expert, but yet I would like to draw your attention to
> > the fact that from lenny to squeeze Debian switched from using GRUB
> > to using GRUB2. GRUB2 now uses a different device numbering scheme
> > than GRUB used. It seems to me that the explanation in the
> > installer was written for GRUB and was forgotten to be rewritten in
> > order to reflect the different device numbering scheme of GRUB2. 

Grub2 uses a different numbering scheme for partitions, not devices.
See:
http://grub.enbug.org/Manual#head-db861a16884db1252847a6ce554b625974134d7e

> The template is:
> 
> Template: grub-installer/bootdev
> Type: string
> # :sl2:
> _Description: Device for boot loader installation:
>  You need to make the newly installed system bootable, by installing
>  the GRUB boot loader 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 elsewhere on the drive, or
> to another drive, or even to a floppy.
>  .
>  The device can be specified using GRUB's "(hdn,m)" notation, or as a
> device in /dev. Below are some examples:
>   - "(hd0)" or "/dev/hda" will install GRUB to the master boot record
>     of your first hard drive (IDE);
>   - "(hd0,1)" or "/dev/hda2" will use the second partition of your
>     first IDE drive;
>   - "(hd2,4)" or "/dev/sdc5" will use the first extended partition of
>     your third drive (SCSI here);
>   - "(fd0)" or "/dev/fd0" will install GRUB to a floppy.
> 
> 
> I'm not 100% sure of what should be changed....preferrably in a way
> that doesn't affect translations. My understanding is that we should
> replace (hd0,1) by (hd0,2) and (hd2,4) by (hd2,5) as only partitions
> numbering changed. Am I right?

So, I would say yes, you're right.



Reply to: