Reusing Extended Partitions

I’m trying to recycle a Dell laptop computer. If used to have
Win NT Pro 2000
QNX4
Red Hat Linux

I need to keep the Win NT parition. I was willing to scrap the QNX4
& Linux paritions.

I have successfully installed QNX6 over the QNX4 paritions. I’d like
to reclaim the linux partition space without harming the WinNT
Partitions.

So, I snooped around with both QNX & WinNT and wrote down what I saw.
My 2 questions are at the end.
Here is a record of what I saw:

Dell Laptop

QNX/RTP fdisk reports:
name type start end cyninders size
DOS4 6 0 69 70 516 MB
QNZ 79 70 340 271 2000 MB
Extd’d 15 341 1057 717 5293 MB

QNX/RTP df -Pk reports:
File System 1K Blocks Mounted As:
/dev/hd0t79 2048760 /
/dev/hd0t6 529008 /fs/hd0-dos
/dev/hd0 1330528 /dev/hd0t7
/dev/hd0 128488 /dev/hd0t130
/dev/hd0 3961408 /dev/hd0t131

WinNT/WindowsExployer Reports:
C: 516.61 MB
D: 1.27 GB

WinNT/DiskManager Reports:
Partition FAT 1 MB
Partition 3.78 GB Logical
Partition 126 MB Logical
Partition NTFS 1.27 GB Logical
Partition FAT 516 MB Primary
1.95 GB Primary

ASSUMPTIONS:
Start End Size MB
0 69 516 Primary FAT WinNT C:
70 340 2000 Primary QNX4 type 79
341 717 5293 Primary Extd type 15 (described below)
? ? 126 Logical ??? type 130
? ? 1330 Logical NTFS WinNT D:
? ? 3961 Logical ??? type 131

QUESTIONS:

  1. How can I confirm that both type 130 & 131 are Linux partitions?
  2. What happened to the alleged 1 MB partition that WinNT/Disk Manager
    reported? (i.e. it doesn’t show up under any QNX report)

In article <b4qu18$49c$1@inn.qnx.com>, qtps@earthlink.net says…

Subject: Reusing Extended Partitions
From: Bill Caroselli <> qtps@earthlink.net
Newsgroups: qdn.public.installation


QUESTIONS:

  1. How can I confirm that both type 130 & 131 are Linux partitions?

What about google search?

http://osdev.neopages.net/docs/pdf/partitiontypes.pdf
http://www.win.tue.nl/~aeb/partitions/partition_types-1.html


  1. What happened to the alleged 1 MB partition that WinNT/Disk Manager
    reported? (i.e. it doesn’t show up under any QNX report)

This question is to Microsoft, IMO. Yes, sometimes, NT sees some unformated space on disk… about 1
meg. Someone, probably, formatted it to FAT :slight_smile: Just remove this partition by Disk Administrator.
It’s very unreliable and useless partition - I don’t know where NT physicly store data of this
partition… I guess when you created partitions during NT installatio, fdisk made a gap between
logical disk because modern disk is very huge for old fdisk, later, disk administrator can see those
gaps as unformated space.

Eduard.

Hi Bill,

QUESTIONS:

  1. How can I confirm that both type 130 & 131 are Linux partitions?

I think I can help you out by confirming that I in fact see these same
partition types on a drive containing only Linux. I used partition magic to
create them for some testing I was doing. ‘df -Pk’ reported the same results
on system running QNX6.2.1 when that drive was connected.

Hope that helps a bit.

-Andrew

“Bill Caroselli” <qtps@earthlink.net> wrote in message
news:b4qu18$49c$1@inn.qnx.com

I’m trying to recycle a Dell laptop computer. If used to have
Win NT Pro 2000
QNX4
Red Hat Linux

I need to keep the Win NT parition. I was willing to scrap the QNX4
& Linux paritions.

I have successfully installed QNX6 over the QNX4 paritions. I’d like
to reclaim the linux partition space without harming the WinNT
Partitions.

So, I snooped around with both QNX & WinNT and wrote down what I saw.
My 2 questions are at the end.
Here is a record of what I saw:

Dell Laptop

QNX/RTP fdisk reports:
name type start end cyninders size
DOS4 6 0 69 70 516 MB
QNZ 79 70 340 271 2000 MB
Extd’d 15 341 1057 717 5293 MB

QNX/RTP df -Pk reports:
File System 1K Blocks Mounted As:
/dev/hd0t79 2048760 /
/dev/hd0t6 529008 /fs/hd0-dos
/dev/hd0 1330528 /dev/hd0t7
/dev/hd0 128488 /dev/hd0t130
/dev/hd0 3961408 /dev/hd0t131

WinNT/WindowsExployer Reports:
C: 516.61 MB
D: 1.27 GB

WinNT/DiskManager Reports:
Partition FAT 1 MB
Partition 3.78 GB Logical
Partition 126 MB Logical
Partition NTFS 1.27 GB Logical
Partition FAT 516 MB Primary
1.95 GB Primary

ASSUMPTIONS:
Start End Size MB
0 69 516 Primary FAT WinNT C:
70 340 2000 Primary QNX4 type 79
341 717 5293 Primary Extd type 15 (described below)
? ? 126 Logical ??? type 130
? ? 1330 Logical NTFS WinNT D:
? ? 3961 Logical ??? type 131

QUESTIONS:

  1. How can I confirm that both type 130 & 131 are Linux partitions?
  2. What happened to the alleged 1 MB partition that WinNT/Disk Manager
    reported? (i.e. it doesn’t show up under any QNX report)

You could also try “df -g” on them, and you could even try mounting them,
e.g.:

mount -t ext2 /dev/hd0t130 /linux

dB

Andrew Scheel <ascheel@qnx.com> wrote in message
news:b4t1hu$4ir$1@nntp.qnx.com

Hi Bill,

QUESTIONS:

  1. How can I confirm that both type 130 & 131 are Linux partitions?

I think I can help you out by confirming that I in fact see these same
partition types on a drive containing only Linux. I used partition magic
to
create them for some testing I was doing. ‘df -Pk’ reported the same
results
on system running QNX6.2.1 when that drive was connected.

Hope that helps a bit.

-Andrew

“Bill Caroselli” <> qtps@earthlink.net> > wrote in message
news:b4qu18$49c$> 1@inn.qnx.com> …
I’m trying to recycle a Dell laptop computer. If used to have
Win NT Pro 2000
QNX4
Red Hat Linux

I need to keep the Win NT parition. I was willing to scrap the QNX4
& Linux paritions.

I have successfully installed QNX6 over the QNX4 paritions. I’d like
to reclaim the linux partition space without harming the WinNT
Partitions.

So, I snooped around with both QNX & WinNT and wrote down what I saw.
My 2 questions are at the end.
Here is a record of what I saw:

Dell Laptop

QNX/RTP fdisk reports:
name type start end cyninders size
DOS4 6 0 69 70 516 MB
QNZ 79 70 340 271 2000 MB
Extd’d 15 341 1057 717 5293 MB

QNX/RTP df -Pk reports:
File System 1K Blocks Mounted As:
/dev/hd0t79 2048760 /
/dev/hd0t6 529008 /fs/hd0-dos
/dev/hd0 1330528 /dev/hd0t7
/dev/hd0 128488 /dev/hd0t130
/dev/hd0 3961408 /dev/hd0t131

WinNT/WindowsExployer Reports:
C: 516.61 MB
D: 1.27 GB

WinNT/DiskManager Reports:
Partition FAT 1 MB
Partition 3.78 GB Logical
Partition 126 MB Logical
Partition NTFS 1.27 GB Logical
Partition FAT 516 MB Primary
1.95 GB Primary

ASSUMPTIONS:
Start End Size MB
0 69 516 Primary FAT WinNT C:
70 340 2000 Primary QNX4 type 79
341 717 5293 Primary Extd type 15 (described below)
? ? 126 Logical ??? type 130
? ? 1330 Logical NTFS WinNT D:
? ? 3961 Logical ??? type 131

QUESTIONS:

  1. How can I confirm that both type 130 & 131 are Linux partitions?
  2. What happened to the alleged 1 MB partition that WinNT/Disk Manager
    reported? (i.e. it doesn’t show up under any QNX report)

ed1k <ed1k@humber.bay> wrote:

In article <b4qu18$49c$> 1@inn.qnx.com> >, > qtps@earthlink.net > says…
Subject: Reusing Extended Partitions
From: Bill Caroselli <> qtps@earthlink.net
Newsgroups: qdn.public.installation


QUESTIONS:

  1. How can I confirm that both type 130 & 131 are Linux partitions?

What about google search?

http://osdev.neopages.net/docs/pdf/partitiontypes.pdf
http://www.win.tue.nl/~aeb/partitions/partition_types-1.html

Thank you. The second link proved to be very helpful.
130 = 0x82 = Linux Swap
131 = 0x83 = Linux Native Partition

Does QNX have a utility to delete these extended paritions and
reallocate them as QNX partitions?

David Bacon <dbacon@qnx.com> wrote:

You could also try “df -g” on them, and you could even try mounting them,
e.g.:

mount -t ext2 /dev/hd0t130 /linux

dB

Thank you. It turned out that 130 was a Linux Swap partition and that
131 was a Natiev Linux Partition.

D’oh! I should have remembered that. Oh well, the mount ought to work on
the 131 partition, anyway.

dB

Bill Caroselli <qtps@earthlink.net> wrote in message
news:b4t4rs$ipv$2@inn.qnx.com

David Bacon <> dbacon@qnx.com> > wrote:
You could also try “df -g” on them, and you could even try mounting
them,
e.g.:

mount -t ext2 /dev/hd0t130 /linux

dB

Thank you. It turned out that 130 was a Linux Swap partition and that
131 was a Natiev Linux Partition.

In article <b4t4pf$ipv$1@inn.qnx.com>, qtps@earthlink.net says…

Thank you. The second link proved to be very helpful.
130 = 0x82 = Linux Swap
131 = 0x83 = Linux Native Partition

Does QNX have a utility to delete these extended paritions and
reallocate them as QNX partitions?

AFAIK, QNX does not have utility to work with extended partitions. I believe fdisk is supposed to do
this job, but seems it doesn’t smart enough to work with extended partitions, in my QNX 6.1A at
least. You can use Partition Magic for Windows to play with partitions (backup your important data
before!) or some other tool to change partition type in extended partition record to 0x4F and after
that ‘dinit’ them :slight_smile: If you just delete them (without resizing extended partition), be aware that
you will not be able to creat QNX logical drives in extended partition (maybe things are different
in QNX 6.2.1??).

Eduard.