grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Fix when installing on pationless but partionable medium


From: Vladimir 'phcoder' Serbinenko
Subject: Re: [PATCH] Fix when installing on pationless but partionable medium
Date: Sat, 18 Jul 2009 23:28:58 +0200

> I don't understand what you mean here.
Let's take a common example of cdrom. Most of the users and developers
are accustomed to a cdrom holding one filesystem. On macs however cds
are partitioned and not being able to access all the partitions is a
problem for end user. Such situations are probably common. If we ditch
has_partitions altogether the only negative side effect will be that
in some weird configurations unpartitioned media may appear to have
partitions but whole media is still accessible. Additionally it
simplifies and makes kernel smaller
>
>> > I'm not sure there's much we can do about this.  Using heuristics sounds 
>> > like
>> > it will make the solution worse than the problem.  I don't care much about
>> > Microsoft filesystems, but I'd hate to see GRUB fail on a completely sane
>> > ext3 inside msdos label because it happened to look like FAT in raw disk at
>> > the same time.
>> The approach proposed by Collin avoids such problems since correct
>> pc_partition_map is always detected as such.
>
> I haven't looked at the source code, but what he said is we can determine if
> an MBR is valid by checking the bootable flag, and this is not always so.
I don't see any problem. He said: checking that bootable flags of all
partitions are either set (0x80) or unset (0x0) and not another value
>
> --
> Robert Millan
>
>  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
>  how) you may access your data; but nobody's threatening your freedom: we
>  still allow you to remove your data and not access it at all."
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>



-- 
Regards
Vladimir 'phcoder' Serbinenko

Personal git repository: http://repo.or.cz/w/grub2/phcoder.git




reply via email to

[Prev in Thread] Current Thread [Next in Thread]