grub-devel
[Top][All Lists]
Advanced

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

[PATCH] Fix when installing on pationless but partionable medium


From: Vladimir 'phcoder' Serbinenko
Subject: [PATCH] Fix when installing on pationless but partionable medium
Date: Fri, 17 Jul 2009 18:41:59 +0200

Sometimes a media that can be partioned isn't really partioned. E.g.
usb sticks. This is a patch to handle this situation. Unfortunately
such medium is often formated with a flavour of FAT which shares its
signature with MBR so it may be easily misidentified as
pc_partition_table. Furthermore the same signature is shared with
bootsectors including grub. One possibility is to try interpret disk
as known filesystems and see if we succeed. But the problem is that
the check for FAT are light and may result in false positives too. The
only more or less advanced check there is a check for FATXX string.
But I was about to propose to eliminate this check since I encountered
a FAT filesystem without this string on friend's SD card formatted
with symbian which he wanted to use as liveusb. Does anyone has a
better idea?

-- 
Regards
Vladimir 'phcoder' Serbinenko

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

Attachment: installfix.dif
Description: video/dv


reply via email to

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