Can Linux partitions be created on Extended DOS partition

Can Linux partitions be created on Extended DOS partition

Post by Jon Lebovi » Mon, 24 Nov 1997 04:00:00



I am trying to installing Slackware Linux on my 2nd hard drive.  The
PC is currently running Windows 95.  Disk drive size is 4 GB.  The
drive is set up with a DOS extended partition -- Logical drive D is
2GB, Logical  Drive E is 1 GB.  This leaves 1 GB free for other
purposes.
The Linux fdisk see no available space on this drive.    According to
the SAMS book I'm using, "You can install Linux on an extended
partition  ... if you're using a logical DOS drive and want to install
Linux in its place, delete the logical drive with MS-DOS fdisk.  Then
you can create a logical drive for use with Linux in its place."  

Do I need to reduce the size the DOS extended partition and then
install Linux or is there a way to install Linux partitions within the
extended DOS partition ?

Thanks,
Jon

 
 
 

Can Linux partitions be created on Extended DOS partition

Post by Matthew Vanece » Mon, 24 Nov 1997 04:00:00



> I am trying to installing Slackware Linux on my 2nd hard drive.  The
> PC is currently running Windows 95.  Disk drive size is 4 GB.  The
> drive is set up with a DOS extended partition -- Logical drive D is
> 2GB, Logical  Drive E is 1 GB.  This leaves 1 GB free for other
> purposes.
> The Linux fdisk see no available space on this drive.    According to
> the SAMS book I'm using, "You can install Linux on an extended
> partition  ... if you're using a logical DOS drive and want to install
> Linux in its place, delete the logical drive with MS-DOS fdisk.  Then
> you can create a logical drive for use with Linux in its place."

> Do I need to reduce the size the DOS extended partition and then
> install Linux or is there a way to install Linux partitions within the
> extended DOS partition ?

> Thanks,
> Jon

AFAIK, no.  What I did was delete the logical drive, resize the extended
partition w/DOS fdisk, readd the logical drive (I really HATE DOS!),
replaced files on that drive, and then rebooted to Linux, and setup the
rest of the free space on that drive as a Linux native partition.

Of course, I have two physical hard drives, with one as Linux, and the
other as above.  For just one drive, Linux will run better on its own
native partition, but there IS a distribution that can be installed on
top of DOS in its own directory.  Why you would do this, I don't know;
Linux is my primary OS.  I use Windows very rarely and prefer booting to
Linux.

BTW, you might want to consider reducing your Windows partitions to
around 1G anyhow.  The way you have it is wasting a lot of space due to
sector size.  If you store a file (say, 1 byte) it will still claim the
full sector, leaving the remainder unused.  Smaller partitions (in DOS)
result in smaller sectors, thereby assuring less wasted space.  And I
would give more space to Linux, 2G at least (just my bias speaking,
really).

If I'm wrong, please, somebody correct me! :)
Matthew Vanecek
For professional Website hosting services, visit http://www.mjv.com
Studies in Business Computers at SAC, San Antonio, TX
Visit my Website at http://lonestar.texas.net/~vanec

For 93 million miles, there is nothing between the sun and my shadow
except me. I'm always getting in the way of something...

 
 
 

Can Linux partitions be created on Extended DOS partition

Post by Jon Lebovi » Mon, 24 Nov 1997 04:00:00


Matthew,
Thanks for your response.   I should have killed my original posting
but I got involved with Linux and didn't back on line.  Anyway, a few
minutes after a left the ng posting I solved the problem. If there is
space in an Extended partition, you simply use Linux's fdisk to add an
extended, not primary, partition(s).  As this was the second drive,
and I already had 2 DOS Logical drives(hdb5 & 6 per Linux) , the Linux
partitions became hdb7 and hdb8.  No problem from then on.

Re sizes of partitions and block size -- while I agree that saving
disk space is important, at today's drive prices, disk capacity is
almost free (until you run out of space and need to upgrade.)  I
recently purchased the 4GB Western Digital drive for $300.  That 7.5
cents per megabyte. Out of curiosity I checked the slack space on my
system and was surprised by how much there was.  On the other hand,
even with 4K blocks, there is going to be slack space & accessing
larger files requires more overhead than with larger block sizes.
Anyway, I opt for the greater convenience of fewer drive letters.

Thanks again,
Jon



Quote:>AFAIK, no.  What I did was delete the logical drive, resize the extended
>partition w/DOS fdisk, readd the logical drive (I really HATE DOS!),
>replaced files on that drive, and then rebooted to Linux, and setup the
>rest of the free space on that drive as a Linux native partition.

>Of course, I have two physical hard drives, with one as Linux, and the
>other as above.  For just one drive, Linux will run better on its own
>native partition, but there IS a distribution that can be installed on
>top of DOS in its own directory.  Why you would do this, I don't know;
>Linux is my primary OS.  I use Windows very rarely and prefer booting to
>Linux.

>BTW, you might want to consider reducing your Windows partitions to
>around 1G anyhow.  The way you have it is wasting a lot of space due to
>sector size.  If you store a file (say, 1 byte) it will still claim the
>full sector, leaving the remainder unused.  Smaller partitions (in DOS)
>result in smaller sectors, thereby assuring less wasted space.  And I
>would give more space to Linux, 2G at least (just my bias speaking,
>really).

>If I'm wrong, please, somebody correct me! :)
>Matthew Vanecek
>For professional Website hosting services, visit http://www.mjv.com
>Studies in Business Computers at SAC, San Antonio, TX
>Visit my Website at http://lonestar.texas.net/~vanec

>For 93 million miles, there is nothing between the sun and my shadow
>except me. I'm always getting in the way of something...

 
 
 

Can Linux partitions be created on Extended DOS partition

Post by M. Buchenried » Sat, 29 Nov 1997 04:00:00



>I am trying to installing Slackware Linux on my 2nd hard drive.  The
>PC is currently running Windows 95.  Disk drive size is 4 GB.  The
>drive is set up with a DOS extended partition -- Logical drive D is
>2GB, Logical  Drive E is 1 GB.  This leaves 1 GB free for other
>purposes.

?

There's some confusion here: There has to be a primary partition
(probably the drive now called D:) and an extended partition
holding logical volumes (E:).

Quote:>The Linux fdisk see no available space on this drive.    

Does the extended partition include all of the free space on that disk ?
If not, you may simply create another primary partition.

What is the output of 'fdisk /dev/hdb' if using the 'p' option ?
What version are you using (Linux and fdisk), and did you setup the
Win95 partition with FAT32 ?

Quote:> According to
>the SAMS book I'm using, "You can install Linux on an extended
>partition  ... if you're using a logical DOS drive and want to install
>Linux in its place, delete the logical drive with MS-DOS fdisk.  Then
>you can create a logical drive for use with Linux in its place."  
>Do I need to reduce the size the DOS extended partition and then
>install Linux or is there a way to install Linux partitions within the
>extended DOS partition ?

Yes. You may install other logical volumes within that extended partition
for Linux. The question, however, is what fdisk thinks your disk's layout
to be, and whether the version used does support the bigger disks already.
A lot of books out there in the shleves with outdated Linux versions ...

Michael
--

**************************************************************************
Satellite Safety Tip #4:
                If you see a bright streak in the sky coming at you, duck.

 
 
 

Can Linux partitions be created on Extended DOS partition

Post by Louis Cyphe » Tue, 02 Dec 1997 04:00:00


Ok... now.. I have a 2.16G Samsung hd... I've got Win95 on the first
900M's (wanna cut it down to 300, but that's later and I know how. :>)
Anyway... I've not set up Linux on my second partition yet... I've
been running Linux for a year now (Slackware) but only on 2 200M
hd's...  I've installed Win95 on that first partition and used it to
d'ld Slack-3.4... Heh... kinda nice to have the whole dist...
anyway... I had the second partition deleted with fdisk.. and win95
kept telling me there were errors on the drive. Of course that's not
true.. 9Shmive just want's complete control... what I want to know is
if there is a way to shut it up so I don't get those errors... Just
until I completely wipe it... :>

        Gratitude and Salutations in advance




>>I am trying to installing Slackware Linux on my 2nd hard drive.  The
>>PC is currently running Windows 95.  Disk drive size is 4 GB.  The
>>drive is set up with a DOS extended partition -- Logical drive D is
>>2GB, Logical  Drive E is 1 GB.  This leaves 1 GB free for other
>>purposes.

>?

>There's some confusion here: There has to be a primary partition
>(probably the drive now called D:) and an extended partition
>holding logical volumes (E:).

>>The Linux fdisk see no available space on this drive.    

>Does the extended partition include all of the free space on that disk ?
>If not, you may simply create another primary partition.

>What is the output of 'fdisk /dev/hdb' if using the 'p' option ?
>What version are you using (Linux and fdisk), and did you setup the
>Win95 partition with FAT32 ?

>> According to
>>the SAMS book I'm using, "You can install Linux on an extended
>>partition  ... if you're using a logical DOS drive and want to install
>>Linux in its place, delete the logical drive with MS-DOS fdisk.  Then
>>you can create a logical drive for use with Linux in its place."  

>>Do I need to reduce the size the DOS extended partition and then
>>install Linux or is there a way to install Linux partitions within the
>>extended DOS partition ?

>Yes. You may install other logical volumes within that extended partition
>for Linux. The question, however, is what fdisk thinks your disk's layout
>to be, and whether the version used does support the bigger disks already.
>A lot of books out there in the shleves with outdated Linux versions ...

>Michael

 
 
 

1. how do i mount an extended dos partition or a dos logical partition ?

i need to access/share data with an NT machine (not on a network)
i have 10G removable hard drives
i am trying to put a file system on it to allow access by both linux and
NT
linux won't mount an ntfs file system
the NT person put 4 primary (?) dos partitions on the disk
and if i run fdisk in linux it sees 4 FAT16 partitions
but it will only let me mount the first one

how do i mount the other 3 ?

is there some special way the disk needs to be formated by NT ?

thanks for any help,
dan

2. Backup by inode

3. DOS extended partition -> swap partition

4. Compiling the TIX (Tk extension) library under Linux.

5. What partition sysid is OK for extended DOS partition mount?

6. Exabyte and Linux

7. Partitioning does not work on extended DOS-Partition

8. Printing Windows --> AIX

9. dos won't recognize my extended dos partition

10. How to create a linux extended partitions?

11. Lilo, DOS, OS/2 Linux and extended partitions

12. Mounting an extended DOS partition on LINUX

13. Can I use extended partition of Linux/DOS