bug-grub
[Top][All Lists]
Advanced

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

Re: Oddity with DOS Partitions/Swapping


From: Mark Bober
Subject: Re: Oddity with DOS Partitions/Swapping
Date: Fri, 24 Nov 2000 11:42:11 +0000

Yea, I played around with the 'hide/unhide' a bit - the problem is the 
partition that's showing up is already hidden.

In case the extended partition thing was a little unclear:

E: is a Extended Partition of 3.4 gigs
F: is the Logical Drive inside that extended partition of 3.4 gigs.

The Extended Partition shouldn't be visible - and it is hidden, in fact.

On the 4 gig are these partitions, shown by grub:

        0               Type Fat
        1               Type 0x15 <hidden>
        2               Type 0x10 (i may be wrong on the 10 type) <hidden>
        3               Type 0x10 <hidden>
        4               Type Fat

Partition 0 is the C: drive on the 4 gig. Partition 4 is what *should* be the
logical drive E: on the 4 gig.

However, what's happening is that Partition 1 is showing up as E:, even though
it is hidden, forcing Partition 4 to F:. Windows thinks Partition 1 is an 
unformatted drive, and sees F: as Partition 4. DOS FDISK can't see partition 
4.

Upshot is, has anyone ever done a map on a secondary DOS drive with more than 
one partition, and did it see the partitions correctly after that? (and what 
version of DOS/Windows was it?). I'm attempting to see if this is a mapping 
problem via GRUB or an issue with WindowsME.

Mark



On Friday 24 November 2000 07:08, you wrote:
> On Thu, Nov 23 2000, Mark Bober wrote:
>
> Hi,
>
> I am not quite sure if I understood what you want but ...
>
> > I've searched through the archives and google, couldn't find anything
> > relevant, so here goes:
> >
> > Using GRUB 0.5.96.1
> >
> > I've listed 'fdisk -l' output at the end of the message. I've got a 10gig
> > drive, mostly linux with one FAT32 partition, on the primary master. On
> > the secondary master, I have a 4 gig, with a 700meg FAT32 partition as
> > primary, and the rest being a logical DOS FAT32 partition.
> >
> > My boot sequence to get to windows is like this:
> > title WinME
> > root (hd1,0)
> > map (hd0) (hd1)
> > map (hd1) (hd0)
> > makeactive
> > chainloader +1
> > boot
> >
> > As you can see I'm using Windows ME. Now, what I'd expect to see is:
> >
> > C:  (hdc1, or the primary partition on the 4 gig)
> > D:  (hda2, or the primary FAT32 partition on the 10 gig)
> > E:
> >
> > What I get under Windows Explorer is this
> >
> > C:  (hdc1, or the primary partition on the 4 gig)
> > D:  (hda2, or the primary FAT32 partition on the 10 gig)
> > E:
> > F:  (hdc5, or the logical partition on the 4 gig)
> >
> > Drive E: is the problem - it seems to be the "extended partition marker"
> > on the 4 gig drive. For grins, I formatted it, and I had E: and F:, they
> > were the *exact* same drive, just different data. I marked the new 'E:'
> > drive with a text file, rebooted, that text file (and partition) moved to
> > 'F:', and E: was once again this blank, unformatted, fake partition.
> >
> > DOS's FDISK shows this:
> >
> > Drive       Partition               Type            Label           Size
> > C:  1               PRI-DOS REAL-ME 700
> >             2               EXT-DOS -               3404
> >
> > Logical Drive Screen:
> >
> > E:                  Unknown                 3404
> >
> > FDISK doesn't see F:, and shows E: as unformatted. but Windows Explorer
> > does see F:, as formatted. The partitioning of the 4 gigabyte was done
> > with WinME's FDISK, so was the formatting. If I unplug my 10 gig, and
> > boot 'native' to Windows, it doesn't see this blank partition. Is there
> > something more I need to do in grub to get that extended partition to not
> > show up to Windows?
>
> GRUB has hide command. Use it like this :
>
> hide {partition}
>
> This is from user-ref.texi file :
>
> Hide {partition} by setting the "hidden" bit in its partition
> type code. This is useful only when booting DOS or Windows
> and multiple primary FAT partitions exist in one disk.
>
> Regards,
> Goran
>
> > Thanks!
> >
> > Mark
> >
> > (yes, I realize that making one partition is easier, but my plan was to
> > have a 700 meg partition under VMWare, that I could doubly install apps
> > to without screwing up the hardware configuration of the original Windows
> > install (I still like my Windows games)
> >
> > ** fdisk -l output **
> >
> > Disk /dev/hda: 255 heads, 63 sectors, 1232 cylinders
> > Units = cylinders of 16065 * 512 bytes
> >
> >    Device Boot    Start       End    Blocks   Id  System
> > /dev/hda1   *         1       732   5879758+  85  Linux extended
> > /dev/hda2           733      1232   4016250    c  Win95 FAT32 (LBA)
> > /dev/hda5             1        31    248944+  83  Linux
> > /dev/hda6            32        94    506016   82  Linux swap
> > /dev/hda7            95       603   4088511   83  Linux
> > /dev/hda8           604       732   1036161   83  Linux
> >
> > Disk /dev/hdc: 255 heads, 63 sectors, 524 cylinders
> > Units = cylinders of 16065 * 512 bytes
> >
> >    Device Boot    Start       End    Blocks   Id  System
> > /dev/hdc1   *         1        90    722893+   b  Win95 FAT32
> > /dev/hdc2            91       524   3486105    5  Extended
> > /dev/hdc5            91       524   3486073+   b  Win95 FAT32
> >
> > _______________________________________________
> > Bug-grub mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/bug-grub
>
> --
>
> Writing about music is like dancing about architecture.
>     -- Frank Zappa
>
> _______________________________________________
> Bug-grub mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-grub



reply via email to

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