[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Which partitioning schemes should be supported by GRUB?
From: |
address@hidden |
Subject: |
Re: Which partitioning schemes should be supported by GRUB? |
Date: |
Mon, 14 Jun 2010 08:07:35 -0500 |
> I can think of an alternative. We do still need grub_install_dos_part
> and grub_install_bsd_part for the multiboot trampoline, which is in
> assembly, so it's difficult to abandon them altogether. However,
> there's no reason we need to use them in make_install_device. How about
> we invent a way to encode most of the information in string form in
> grub_prefix, while leaving a placeholder for make_install_device to fill
> in the disk? There are 64 bytes available for grub_prefix, which should
> be plenty. For example, how about the following (with \0 standing for
> ASCII NUL):
>
> (\0,msdos1,bsd1)/boot/grub
>
> It's then just a matter of spotting the "(\0," sequence and replacing
> the \0 with the drive name. I think this can probably be done using
> less code than the first option above, and all told it feels a bit less
> hacky to me.
Instead of doing string replacement, why not just define a
disk-relative partition format?
Also, the '\0' seems unnecessary. Is having "(," meaningful in some
way already?
>
>
> What do people prefer?
>
> --
> Colin Watson address@hidden
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>
- Which partitioning schemes should be supported by GRUB?, Grégoire Sutre, 2010/06/06
- Re: Which partitioning schemes should be supported by GRUB?, Vladimir 'φ-coder/phcoder' Serbinenko, 2010/06/07
- Re: Which partitioning schemes should be supported by GRUB?, Grégoire Sutre, 2010/06/09
- Re: Which partitioning schemes should be supported by GRUB?, Grégoire Sutre, 2010/06/12
- Re: Which partitioning schemes should be supported by GRUB?, Vladimir 'φ-coder/phcoder' Serbinenko, 2010/06/12
- Re: Which partitioning schemes should be supported by GRUB?, Grégoire Sutre, 2010/06/13
- Re: Which partitioning schemes should be supported by GRUB?, Colin Watson, 2010/06/14
- Re: Which partitioning schemes should be supported by GRUB?,
address@hidden <=
- Re: Which partitioning schemes should be supported by GRUB?, Colin Watson, 2010/06/14
- Re: Which partitioning schemes should be supported by GRUB?, Colin Watson, 2010/06/14
- Re: Which partitioning schemes should be supported by GRUB?, Vladimir 'φ-coder/phcoder' Serbinenko, 2010/06/14
- Re: Which partitioning schemes should be supported by GRUB?, Colin Watson, 2010/06/14
- Re: Which partitioning schemes should be supported by GRUB?, Seth Goldberg, 2010/06/14
- Re: Which partitioning schemes should be supported by GRUB?, Colin Watson, 2010/06/14
- Re: Which partitioning schemes should be supported by GRUB?, Grégoire Sutre, 2010/06/14
- Re: Which partitioning schemes should be supported by GRUB?, Colin Watson, 2010/06/15
- Re: Which partitioning schemes should be supported by GRUB?, Grégoire Sutre, 2010/06/15
- Re: Which partitioning schemes should be supported by GRUB?, Colin Watson, 2010/06/16