lkml.org 
[lkml]   [2003]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Disk Geometries reported incorrectly on 2.6.0-testX
    On Sat, Nov 29, 2003 at 07:16:31AM +0200, Szakacsits Szabolcs wrote:
    > > Yes there is. "Correct" is defined by the BIOS. It is important
    > > for boot loaders (in particular Windows).
    >
    > I suspected the same ... What Windows you mean? DOS (9x/ME/etc) or NT based
    > (NT4/2000/XP/2003)? All?

    Good question. From 98 up, Windows supports both LBA and CHS. I'm not
    sure about XP/2003. The real question is: what is the default install?
    How many users have each?

    > Also, can Parted save/restore the full and exact partition table a
    > scriptable way? I mean something like this:
    >
    > sfdisk -d /dev/hda > hda.pt # save
    > sfdisk /dev/hda < hda.pt # restore
    >
    > sfdisk can't recover geometry so apparently no one-liner, widely available,
    > partition table backup/recovery is possible at present on Linux :-o
    > dd if=/dev/hda of=hda.mbr bs=512 count=1 won't save the logical partitions.

    Parted can't do it. :/

    Cheers,
    Andrew

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:59    [W:0.022 / U:270.608 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site