fips and fdisk partitions incorrect?

fips and fdisk partitions incorrect?

Post by David McMah » Sun, 02 Feb 1997 04:00:00



I'm having trouble with the fdisk portion of my INFOMAGIC RedHat 4.0
installation.  I'm running win95 on a 4Gig drive split up as a
primary C: (2Gig) and a extended/logical D: (2Gig).

After I fips'd and set aside some disk space for the LINUX install, I
used DOS fdisk.exe (from DOS mode) to delete the new partition under DOS.
I rebooted the machine in DOS mode and started the RedHat install by going
to my CDROM E:/dosutils and ran autoboot.  It finds the CDROM OK and everything
works great until I get to the LINUX fdisk section where it reports the
following partitions from the "p" command:

/tmp/hda1        1.1G     DOS 16-bit >=32M
/tmp/hda2        2Gig     Extended
/tmp/hda3        2Gig     DOS 16-bit >=32M

The 1.1G is the remainder of my C: that's still win95.  I used approx .9 for
the LINUX install.  The "extended" 2Gig is the D: drive and I don't know why
it's reporting the other 2Gig partition (the combined 1.1G and new FIPS
partition?)

The problem is the install guide for INFOMAGIC LINUX said the "p" command here
should show just the /dev/hda device (just the new partition I made with FIPS)
but instead it shows all of the DOS partitions and not the new partition I
set aside for LINUX.

With all of the DOS partitions showing up at this point, I can't re-partition
the new partition (which isn't even showing up) into SWAP and LINUX NATIVE.

The question is, why are my DOS partitions showing up when I'm running
LINUX fdisk during installation?  I can't see the *new* partition.

Also, I originally tried slicing off a piece of my D: drive (using FIPS)
to use for LINUX (my preferred choice), but FIPS gave an error
"unable to partition extended drives at this point", so I had to do this
install on my primary C drive.  Does anyone know a workaround for this?
Is there anyway to put this on my D: drive instead?

Thanks for any info you can send.

Dave McMahon

 
 
 

fips and fdisk partitions incorrect?

Post by Daniel Sambe » Sun, 02 Feb 1997 04:00:00


Hi!

I'm trying to set up my HD with Linux and use OS/2's Boot Manager.
I have done this a few times with just 2 OS's, but I want to have
the option of booting Dos, OS/2 or Linux.

Dos & OS/2 are booting fine... so I'm trying to load Linux, but I
forgot about my swap partition! Linux instructs me to use OS/2's
fdisk to set up the partition table... but OS/2's fdisk seems to
"max out" at 4 partitions! One for the boot manager, one for DOS,
one for OS/2 and one for LINUX NATIVE, but then informs me that
the rest of the disk is "not usable". SO... I tried Linux's fdisk,
which told me that I need to set up an extended partition?

What gives?

Thanks,

Dan


 
 
 

fips and fdisk partitions incorrect?

Post by Daniel Sambe » Sun, 02 Feb 1997 04:00:00


TEST

 
 
 

fips and fdisk partitions incorrect?

Post by Daniel Sambe » Sun, 02 Feb 1997 04:00:00


TESTING

 
 
 

fips and fdisk partitions incorrect?

Post by Daniel Sambe » Sun, 02 Feb 1997 04:00:00


Hi!

 I'm trying to set up my HD with Linux and use OS/2's Boot Manager.
 I have done this a few times with just 2 OS's, but I want to have
 the option of booting Dos, OS/2 or Linux.

 Dos & OS/2 are booting fine... so I'm trying to load Linux, but I
 forgot about my swap partition! Linux instructs me to use OS/2's
 fdisk to set up the partition table... but OS/2's fdisk seems to
 "max out" at 4 partitions! One for the boot manager, one for DOS,
 one for OS/2 and one for LINUX NATIVE, but then informs me that
 the rest of the disk is "not usable". SO... I tried Linux's fdisk,
 which told me that I need to set up an extended partition?

What gives?

Thanks,
Dan

 
 
 

fips and fdisk partitions incorrect?

Post by Damir J.N » Mon, 03 Feb 1997 04:00:00



> Hi!

> I'm trying to set up my HD with Linux and use OS/2's Boot Manager.
> I have done this a few times with just 2 OS's, but I want to have
> the option of booting Dos, OS/2 or Linux.

> Dos & OS/2 are booting fine... so I'm trying to load Linux, but I
> forgot about my swap partition! Linux instructs me to use OS/2's
> fdisk to set up the partition table... but OS/2's fdisk seems to
> "max out" at 4 partitions! One for the boot manager, one for DOS,
> one for OS/2 and one for LINUX NATIVE, but then informs me that
> the rest of the disk is "not usable". SO... I tried Linux's fdisk,
> which told me that I need to set up an extended partition?

> What gives?

> Thanks,

> Dan


Hi, Dan
if you are trying to set up all those partitions as PRIMARY under OS/2,
it will max out at 4 possible partitions. Did you try to mark those
extra partitions as --the exact name escapes me right now -- extended or
logical partitions? That's how I set mine up and it works like a charm.

HTH
DamirN

 
 
 

fips and fdisk partitions incorrect?

Post by fto.. » Mon, 03 Feb 1997 04:00:00



>Hi!

>I'm trying to set up my HD with Linux and use OS/2's Boot Manager.
>I have done this a few times with just 2 OS's, but I want to have
>the option of booting Dos, OS/2 or Linux.

>Dos & OS/2 are booting fine... so I'm trying to load Linux, but I
>forgot about my swap partition! Linux instructs me to use OS/2's
>fdisk to set up the partition table... but OS/2's fdisk seems to
>"max out" at 4 partitions! One for the boot manager, one for DOS,
>one for OS/2 and one for LINUX NATIVE, but then informs me that
>the rest of the disk is "not usable". SO... I tried Linux's fdisk,
>which told me that I need to set up an extended partition?

>What gives?

>Thanks,

>Dan


Because of the unfortunate limit of four primary partitions, you'll have to create
two logical drives for your Linux Native and Linux Swap. I've done this so you
should have no problems. Just remember to run OS/2's fdisk after your done
creating, formating,etc. and add the Linux Native to the menu. Yes, I did this
too, and felt really stupid when LILO didn't appear on the boot menu. I felt even
more so when it took me five minutes to realize why. Definately not one of my
better nights.
 --
  Floyd L.Tolar

   "The riskier the road, the greater the profit."
  [Ferengi 62nd. Rule of Aquisition]                                                            
 
 
 

fips and fdisk partitions incorrect?

Post by rj.. » Mon, 03 Feb 1997 04:00:00



>Hi!

>I'm trying to set up my HD with Linux and use OS/2's Boot Manager.
>I have done this a few times with just 2 OS's, but I want to have
>the option of booting Dos, OS/2 or Linux.

>Dos & OS/2 are booting fine... so I'm trying to load Linux, but I
>forgot about my swap partition! Linux instructs me to use OS/2's
>fdisk to set up the partition table... but OS/2's fdisk seems to
>"max out" at 4 partitions! One for the boot manager, one for DOS,
>one for OS/2 and one for LINUX NATIVE, but then informs me that
>the rest of the disk is "not usable". SO... I tried Linux's fdisk,
>which told me that I need to set up an extended partition?

>What gives?

>Thanks,

>Dan


 Dan,

 It looks like you are creating all your partitions as primary.

 PC architecture only allows 4 primary partitions.  This is non-negotiable
 and means that you will have to re-partition your drive to use the rest
 of it.  Under most circumstances you only need one primary anyway,
 so making the rest of them extended logicals is a better idea anyway.
 Both linux and OS/2 will live on extended partitions without any problem,
 and that way they will be able to access the stuff on the other partitons
 as well.

 Let me know if you need more detailed info,

 rick

 
 
 

fips and fdisk partitions incorrect?

Post by ddem.. » Mon, 03 Feb 1997 04:00:00




>> Dos & OS/2 are booting fine... so I'm trying to load Linux, but I
>> forgot about my swap partition! Linux instructs me to use OS/2's
>> fdisk to set up the partition table... but OS/2's fdisk seems to
>> "max out" at 4 partitions! One for the boot manager, one for DOS,
[...]
>Hi, Dan
>if you are trying to set up all those partitions as PRIMARY under OS/2,
>it will max out at 4 possible partitions. Did you try to mark those
>extra partitions as --the exact name escapes me right now -- extended or
>logical partitions? That's how I set mine up and it works like a charm.

This fellow is correct. In fact, you are really much better off if there is
only ONE primary partition, since (at least under DOS & OS/2) only one
primary is "visible" at a time. The only thing that needs to be on a primary
is DOS, the poor brain-dead old thing, and all the rest should be
extended/logical partitions. Your setup should look like:

1. Bootmanager (OK I lied: this will be a primary one, too)
2. DOS (primary)
3. OS/2 (extended)
3. Linux (extended)
3. Linux swap (extended)

Keeping them almost all extended will mean that the drive letters won't
get reordered if you ever add a second HD.

__________________________________
David Demmer
Ontario Laser & Lightwave Research Centre

http://www.ollrc.on.ca

 
 
 

fips and fdisk partitions incorrect?

Post by Steve Re » Tue, 04 Feb 1997 04:00:00




Quote:>Hi!

>I'm trying to set up my HD with Linux and use OS/2's Boot Manager.
>I have done this a few times with just 2 OS's, but I want to have
>the option of booting Dos, OS/2 or Linux.

>Dos & OS/2 are booting fine... so I'm trying to load Linux, but I
>forgot about my swap partition! Linux instructs me to use OS/2's
>fdisk to set up the partition table... but OS/2's fdisk seems to
>"max out" at 4 partitions! One for the boot manager, one for DOS,
>one for OS/2 and one for LINUX NATIVE, but then informs me that
>the rest of the disk is "not usable". SO... I tried Linux's fdisk,
>which told me that I need to set up an extended partition?

>What gives?

Without getting technical, your hard drive can only manage 4
partitions, past that you have to create these extended partitions to
create more.
 
 
 

fips and fdisk partitions incorrect?

Post by Derek Mort » Wed, 05 Feb 1997 04:00:00




:>

:>
:>>> Dos & OS/2 are booting fine... so I'm trying to load Linux, but I
:>>> forgot about my swap partition! Linux instructs me to use OS/2's
:>>> fdisk to set up the partition table... but OS/2's fdisk seems to
:>>> "max out" at 4 partitions! One for the boot manager, one for DOS,
:>[...]
:>>Hi, Dan
:>>if you are trying to set up all those partitions as PRIMARY under OS/2,
:>>it will max out at 4 possible partitions. Did you try to mark those
:>>extra partitions as --the exact name escapes me right now -- extended or
:>>logical partitions? That's how I set mine up and it works like a charm.
:>>
:>This fellow is correct. In fact, you are really much better off if there is
:>only ONE primary partition, since (at least under DOS & OS/2) only one
:>primary is "visible" at a time. The only thing that needs to be on a primary
:>is DOS, the poor brain-dead old thing, and all the rest should be

winblows 95 is a poor old brain dead thing as well

:>extended/logical partitions. Your setup should look like:
:>
:>1. Bootmanager (OK I lied: this will be a primary one, too)
:>2. DOS (primary)
:>3. OS/2 (extended)
:>3. Linux (extended)
:>3. Linux swap (extended)
:>
:>Keeping them almost all extended will mean that the drive letters won't
:>get reordered if you ever add a second HD.
:>
:>
:>__________________________________
:>David Demmer
:>Ontario Laser & Lightwave Research Centre

:>
:>http://www.ollrc.on.ca
:>

Derek

//    Derek Morton and Lenise Whyte in Eltham,  Australia      //

 
 
 

fips and fdisk partitions incorrect?

Post by Michel or Betty » Fri, 07 Feb 1997 04:00:00




>>Hi!

>>I'm trying to set up my HD with Linux and use OS/2's Boot Manager.
>>I have done this a few times with just 2 OS's, but I want to have
>>the option of booting Dos, OS/2 or Linux.

>>Dos & OS/2 are booting fine... so I'm trying to load Linux, but I
>>forgot about my swap partition! Linux instructs me to use OS/2's
>>fdisk to set up the partition table... but OS/2's fdisk seems to
>>"max out" at 4 partitions! One for the boot manager, one for DOS,
>>one for OS/2 and one for LINUX NATIVE, but then informs me that
>>the rest of the disk is "not usable". SO... I tried Linux's fdisk,
>>which told me that I need to set up an extended partition?

>>What gives?

>>Thanks,

>>Dan

>Because of the unfortunate limit of four primary partitions, you'll have to create
>two logical drives for your Linux Native and Linux Swap. I've done this so you
>should have no problems. Just remember to run OS/2's fdisk after your done
>creating, formating,etc. and add the Linux Native to the menu. Yes, I did this
>too, and felt really stupid when LILO didn't appear on the boot menu. I felt even
>more so when it took me five minutes to realize why. Definately not one of my
>better nights.
> --
>  Floyd L.Tolar

>   "The riskier the road, the greater the profit."
>  [Ferengi 62nd. Rule of Aquisition]                                                            

Why in the world would you want the Linux partitions to be on primary partitions?
For one thing you would never be able to see them while you're running OS/2 as only one
primary partition can be enabled at a time. Keep your primary partitions for stupid software
like windoze or dos who can't boot anywhere else.

A logical partition is much more practical for a real operating system who can live anywhere.

------------------------------------------------------------
Michel Catudal     Team OS/2 USA member
http://www.veryComputer.com/~bbcat/

New -- Nouveau  :  C compiler for the 68HC05 -- Compilateur C pour le 68HC05
                           Remote de* for the Z180  -- Dbogueur pour le Z180
                           C Compiler and assembler for the PD78C10/11

Links to OS/2, Linux, dos, windoze, genealogy, history, humor ... sites
Des liens pour des sites d'OS/2, de Linux, de dos, de chassis, de gnalogie, d'histoire, d'humour ...
------------------------------------------------------------

 
 
 

fips and fdisk partitions incorrect?

Post by jp » Mon, 10 Feb 1997 04:00:00



> I'm having trouble with the fdisk portion of my INFOMAGIC RedHat 4.0
> installation.  I'm running win95 on a 4Gig drive split up as a
> primary C: (2Gig) and a extended/logical D: (2Gig).

> After I fips'd and set aside some disk space for the LINUX install, I
> used DOS fdisk.exe (from DOS mode) to delete the new partition under DOS.
> I rebooted the machine in DOS mode and started the RedHat install by going
> to my CDROM E:/dosutils and ran autoboot.  It finds the CDROM OK and everything
> works great until I get to the LINUX fdisk section where it reports the
> following partitions from the "p" command:

> /tmp/hda1        1.1G     DOS 16-bit >=32M
> /tmp/hda2        2Gig     Extended
> /tmp/hda3        2Gig     DOS 16-bit >=32M


> Dave McMahon

run fdisk before starting setup
delete hda2   hda3
make your to linux drives now

quit fdisk

run setup

 
 
 

1. fdisk and cfdisk giving incorrect partition size information

Hi all,

For a long time, only about 8GB of the 30GB IDE hard disk in my RH 7.2
machine was being used in several partitions, with 22GB of free space
hanging off an extened partition. I attempted to create a new logical
partition, using cfdisk, out of the free space.

After the partition information was 'written', cfdisk gave me an error
of the sort "Can't re-read new partion table. Please reboot.." After
rebooting and mounting the new partition (hda7), here's the output of
'df':

Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda1               505605    456124     23377  96% /
/dev/hda3              1004052     18620    934428   2% /home
none                    127228         0    127228   0% /dev/shm
/dev/hda2              4032124   1905176   1922120  50% /usr
/dev/hda5               505605     58967    420534  13% /var
/dev/hda7                38859        13     36840   1% /da

Here is the output of print table cmd of fdisk /dev/hda:

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1        65    522081   83  Linux
/dev/hda2            66       575   4096575   83  Linux
/dev/hda3           576       702   1020127+  83  Linux
/dev/hda4           703      3647  23655712+   5  Extended
/dev/hda5           703       767    522081   83  Linux
/dev/hda6           768       832    522081   82  Linux swap
/dev/hda7           833      3647  22611456   83  Linux

cfdisk gives the same information.

Can anyone tell me what's going on here? Why the different partition
sizes being reported?

Thanks.

2. software for autoloader

3. fips fdisk partition ?

4. Does Linux support PCMCIA SCSI cards?

5. How to fdisk a FIPS Linux partition on PC?

6. ipv6 forwaring issues eth0 sit1

7. linux fdisk-2.1 and win95 fdisk extended partition type `0f'

8. directory browsing ignoring index.php

9. new filesystem problems: "fdisk: can't write fdisk partition table: Invalid argument"

10. Problems with number of heads from DOS FDISK partitions and Linux fdisk on 8.4 GB drive

11. Partition with fdisk, then reboot, then fdisk complains.

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

13. FIPS/fdisk chokes on system ID