Problem with re-partitioning HD for DOS after having Linux on it

Problem with re-partitioning HD for DOS after having Linux on it

Post by Michael S. Pos » Thu, 24 Oct 1996 04:00:00



This may have nothing to do with Linux; if not, I apologize
to those of you in the Linux newsgroup who are reading this.

I have received a used 1.2Gb HD which previously had a
200Mb primary DOS partition, a 300Mb extended DOS partition,
and the rest was used for Linux, and partitioned using the
appropriate Linux utilities.

I have placed the hard drive in another machine and correctly
set up the BIOS.  I have completely formatted the hard drive
(via the BIOS).  When I go into the DOS 6.22 fdisk to create
a 1.2Gb primary DOS partition, it only creates a 504Mb partition
and then tells me that there is no room left on the device.
How can I get the whole hard drive set up for DOS?

Is there some problem with the area of the hard drive that used
to be configured for Linux, or is there some problem with DOS,
and the 500Mb limit and the prior 500Mb of DOS partitioning
are merely coincidence?

I'll check the newsgroups, but would appreciate an e-mail reply.
Thank you.

--
Michael S. Post

http://www.westworld.com/~mpost

 
 
 

Problem with re-partitioning HD for DOS after having Linux on it

Post by Henk Bokhov » Thu, 24 Oct 1996 04:00:00



Quote:>Is there some problem with the area of the hard drive that used
>to be configured for Linux, or is there some problem with DOS,
>and the 500Mb limit and the prior 500Mb of DOS partitioning
>are merely coincidence?

Hello,
Yep, you've bumped into the limitations of good ol' DOS...
Looks like your BIOS isn't supporting HDDs > 540 Mb.
Maybe 'OnTrack DiskManager' can be of any help. Look for it on the
Net. Cheers,

     Henk C.A. Bokhoven            __   __          __
 Enduser-support / LAN-admin.     / _  |_  |\/||\/|<__ - helpdesk
AlliedSignal Carpet Fibers B.V.,  \__/ |__ |  ||  | __>
POBox 2026  7801 CA  EMMEN  The Netherlands  tel.: +31.591.693547
-----------------------------------------------------------------
              "Smile and the world smiles with you.
             Frown and they know the network's down."
-----------------------------------------------------------------


 
 
 

Problem with re-partitioning HD for DOS after having Linux on it

Post by vi.. » Thu, 24 Oct 1996 04:00:00



>This may have nothing to do with Linux; if not, I apologize
>to those of you in the Linux newsgroup who are reading this.
>I have received a used 1.2Gb HD which previously had a
>200Mb primary DOS partition, a 300Mb extended DOS partition,
>and the rest was used for Linux, and partitioned using the
>appropriate Linux utilities.
>I have placed the hard drive in another machine and correctly
>set up the BIOS.  I have completely formatted the hard drive
>(via the BIOS).  When I go into the DOS 6.22 fdisk to create
>a 1.2Gb primary DOS partition, it only creates a 504Mb partition
>and then tells me that there is no room left on the device.
>How can I get the whole hard drive set up for DOS?
>Is there some problem with the area of the hard drive that used
>to be configured for Linux, or is there some problem with DOS,
>and the 500Mb limit and the prior 500Mb of DOS partitioning
>are merely coincidence?
>I'll check the newsgroups, but would appreciate an e-mail reply.
>Thank you.
>--
>Michael S. Post

>http://www.westworld.com/~mpost

or maybe you need to run fdisk in dos and delete all the partitions on
the HD, including the Non-DOS partition (linux).  Then partition it
however you want it.

Hope this helps
viper

 
 
 

Problem with re-partitioning HD for DOS after having Linux on it

Post by Mak » Fri, 25 Oct 1996 04:00:00



Quote:>This may have nothing to do with Linux; if not, I apologize
>to those of you in the Linux newsgroup who are reading this.
>I have placed the hard drive in another machine and correctly
>set up the BIOS.  I have completely formatted the hard drive
>(via the BIOS).  When I go into the DOS 6.22 fdisk to create
>a 1.2Gb primary DOS partition, it only creates a 504Mb partition
>and then tells me that there is no room left on the device.
>How can I get the whole hard drive set up for DOS?

This is due entirely to a BIOS limitation on the PC - the motherboard BIOS.
See if the BIOS setup allows for LBA/EIDE drives.
Otherwise; work-arounds:

  1. Replace the motherboard with a later one. ~$150 including 486dx-133CPU
     Requires some knowledge of computer maint.

  2. Replace the BIOS on the motherboard.   ~$70 can be a hassle to get the
     right one for your board.

  3. Get a Promise EIDE controller with it's own BIOS. ~$70 - works great,
     and is available in ISA or VLB bus flavors. (Other brands avail.)

  4. Get some Disk Manager type program that uses a boot loader device
     driver to  give you the whole drive. Other brand includes Partition
     Magic. This solution is NOT Recommended.

Best choice: Option 3.

-----
Mark.

 
 
 

Problem with re-partitioning HD for DOS after having Linux on it

Post by Kevin Mart » Fri, 25 Oct 1996 04:00:00




Quote:>I have received a used 1.2Gb HD
> When I go into the DOS 6.22 fdisk to create
>a 1.2Gb primary DOS partition, it only creates a 504Mb partition
>and then tells me that there is no room left on the device.

You're up against the 504MB limitation of DOS and your BIOS.
As you suspected, this has nothing to do with Linux.  (Linux
can use the drive despite the BIOS limitations, which is why
the previous owner gave the first 504MB to DOS and the rest
to Linux.)

Further explanation sent via email per poster's request;
followups set to c.o.msdos.misc only.

 
 
 

Problem with re-partitioning HD for DOS after having Linux on it

Post by Gar » Fri, 25 Oct 1996 04:00:00


On Wed, 23 Oct 1996 00:21:25 -0700, "Michael S. Post"


>This may have nothing to do with Linux; if not, I apologize
>to those of you in the Linux newsgroup who are reading this.

>I have received a used 1.2Gb HD which previously had a
>200Mb primary DOS partition, a 300Mb extended DOS partition,
>and the rest was used for Linux, and partitioned using the
>appropriate Linux utilities.

>I have placed the hard drive in another machine and correctly
>set up the BIOS.  I have completely formatted the hard drive
>(via the BIOS).  When I go into the DOS 6.22 fdisk to create
>a 1.2Gb primary DOS partition, it only creates a 504Mb partition
>and then tells me that there is no room left on the device.
>How can I get the whole hard drive set up for DOS?

>Is there some problem with the area of the hard drive that used
>to be configured for Linux, or is there some problem with DOS,
>and the 500Mb limit and the prior 500Mb of DOS partitioning
>are merely coincidence?

The problem is that DOS's fdisk doesn't recognize Linux EXT2 type file
systems.  I had the same problem when I tried DOS repartitioning a
drive that previously had Linux partitions.  I used Partition Magic to
remove the old Linux EXT2 partitions.  It works great.  You can also
use it to resize partitions non-destructively.  For more info, go to:
http://www.powerquest.com/

-gary

- Show quoted text -

>I'll check the newsgroups, but would appreciate an e-mail reply.
>Thank you.

>--
>Michael S. Post

>http://www.westworld.com/~mpost

 
 
 

Problem with re-partitioning HD for DOS after having Linux on it

Post by Markus S McGe » Sat, 26 Oct 1996 04:00:00



> This may have nothing to do with Linux; if not, I apologize
> to those of you in the Linux newsgroup who are reading this.

> I have received a used 1.2Gb HD which previously had a
> 200Mb primary DOS partition, a 300Mb extended DOS partition,
> and the rest was used for Linux, and partitioned using the
> appropriate Linux utilities.

> I have placed the hard drive in another machine and correctly
> set up the BIOS.  I have completely formatted the hard drive
> (via the BIOS).  When I go into the DOS 6.22 fdisk to create
> a 1.2Gb primary DOS partition, it only creates a 504Mb partition
> and then tells me that there is no room left on the device.
> How can I get the whole hard drive set up for DOS?

> Is there some problem with the area of the hard drive that used
> to be configured for Linux, or is there some problem with DOS,
> and the 500Mb limit and the prior 500Mb of DOS partitioning
> are merely coincidence?

> I'll check the newsgroups, but would appreciate an e-mail reply.
> Thank you.

> --
> Michael S. Post

> http://www.westworld.com/~mpost

What you may have to do ( if I understand the question correctly) is
reformat that section that contained linux.  I could be wrong, I'm only a
Mathematics major!
 
 
 

Problem with re-partitioning HD for DOS after having Linux on it

Post by Jim Mellican » Sun, 27 Oct 1996 04:00:00



> This may have nothing to do with Linux; if not, I apologize
> to those of you in the Linux newsgroup who are reading this.

Run "fdisk /mbr". This restores the master boot record and you can run
fdisk after and then format the drive.
 
 
 

Problem with re-partitioning HD for DOS after having Linux on it

Post by td.. » Sat, 02 Nov 1996 04:00:00




>> I have placed the hard drive in another machine and correctly
>> set up the BIOS.  I have completely formatted the hard drive
>> (via the BIOS).  When I go into the DOS 6.22 fdisk to create
>> a 1.2Gb primary DOS partition, it only creates a 504Mb partition
>> and then tells me that there is no room left on the device.
>> How can I get the whole hard drive set up for DOS?

I suspect you need a disk manager (such as OnTrack Disk Manager)
which can fool older BIOS software into handling large disks (usually
as several drives).

Tom Dial

 
 
 

Problem with re-partitioning HD for DOS after having Linux on it

Post by Theral Mack » Sat, 02 Nov 1996 04:00:00





>>> I have placed the hard drive in another machine and correctly
>>> set up the BIOS.  I have completely formatted the hard drive
>>> (via the BIOS).  When I go into the DOS 6.22 fdisk to create
>>> a 1.2Gb primary DOS partition, it only creates a 504Mb partition
>>> and then tells me that there is no room left on the device.
>>> How can I get the whole hard drive set up for DOS?

>I suspect you need a disk manager (such as OnTrack Disk Manager)
>which can fool older BIOS software into handling large disks (usually
>as several drives).
>Tom Dial

First, IDE drives do not need to be low level formatted (thats what the
bios formatt does). Second, make sure that the mode for your drive is set
up in the bios correctly. Try using LBA mode first, then auto, sometimes
that does the trick. If your bios does not support LBA mode, you
either need to upgrade the bios(or motherboard or IDE card) or get a drive
overlay installed on the drive, which is what Tom mentioned (preferably
the first, as overlays can do funny things). Once that is set up it should
work.

T-mack

--
Theral Mackey
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:     ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!tm92

 
 
 

1. Adding a new DOS partition to a HD with DOS/Linux

Hi, I recently installed Linux(RedHat 4.0) onto a 3.1 GB hard drive.  I
had originally partitioned the drive so that a gig was for DOS and a gig was
for Linux(under the extended partition).  Now, I want another gig for DOS.
When I add a new primary partition via Linux fdisk (change the type, zero
out the first 512 bytes via dd according to the fdisk manpage), DOS fdisk
recognizes two primary DOS partitions (C and D).  However, when I try
to format [/s] [/u] d:, it gives me the standard warning and then exits
to the DOS prompt with hardly any work done.  Any other attempt to access
this d: gives "Sector not found."  Does anyone know what I'm doing wrong?

Here is my /etc/fstab if this is any help.

/dev/hda6                 /                         ext2   defaults 1 1
/dev/hda1                 /dos                      ignore 0 0 0
/dev/hda8                 /home                     ext2   defaults 1 2
/dev/fd0                  /mnt/floppy               ext2   noauto 0 0
/dev/hda7                 /usr                      ext2   defaults 1 2
/dev/hda9                 /usr/local                ext2   defaults 1 2
/dev/hda10                /usr/src                  ext2   defaults 1 2
/dev/hda2                 none                      ignore 0 0 0
/dev/hda3                 none                      ignore  0 0

none                      /proc                     proc   defaults
/dev/hda5                 none                      swap   sw

(hda1 is the gig of DOS that's working, hda2 is the extended partition base
for linux, and hda3 is the gig of DOS that I just created)

--
Eugene Hung

2. Does linux have drivers for cd-rom?

3. dos/linux HD partition problem

4. Multiple machine administration

5. hd to hd installation (dos partition path)

6. Compiling gcc-3.0

7. Having Problems Installing From DOS partition.

8. socket error 10065 ipop3d port 110

9. partitioning (or, re-partitioning) question

10. Quick re-partitioning Q re FIPS & Win95 partition

11. Re-partitioning disk with mounted partitions ?

12. Partition table gone on dos/linux HD

13. copying HD with linux partition under DOS?