LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-17-2005, 10:31 AM   #1
zillah
Member
 
Registered: Oct 2004
Posts: 536

Rep: Reputation: 30
Knoppix and creating partitions not recogniozed by XP


I used Knoppix (Live CD V4.0.2) "cfdisk" utility to create 3 primary partitions on a 40 GB HD, there primary partitions are:

1- 15 GB NTFS

2- 5 GB FAT32

3- 20 GB NTFS

I did write (Knoppix option), and I restarted the PC.

When I booted the PC with XP CD (to install OS XP )..

XP did not recongnize the format of all there partitions,,,,Why?

I do not if it is related to knoppix, or XP CD ?

Last edited by zillah; 12-17-2005 at 10:38 AM.
 
Old 12-17-2005, 01:52 PM   #2
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
cfdisk can create partitions and label them with an fs name. It cannot create file systems. You need to use a specific tool to do that: mkfs
My guess is windows has checked the actual file system and not only the label and so doesn't see what you think should be there.
 
Old 12-17-2005, 11:20 PM   #3
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
>XP did not recongnize the format of all there partitions,,,,Why?


Cfdisk is simply used to make partitions.
It doesn't format them with a file system. (as already said.)

What you can do is simply create the partitions, and when you put in the XP Disk, you can format the parition you want with NTFS, using the XP disk.
This will also exclude any errors you might have to face after you format with NTFS from a Linux Disk.


XP needs to write some files on the File system..and i don't know what is the exact cause of the error, but sometimes, XP refused to even format that parition already formatted with NTFS from a Linux CD.


Also, if you don't tend to install Linux, then why don't you use only the XP CD?
You can use the XP CD to create a partition to install Windows on, and then once windows is successfully installed, you can create the partitions using the GUI tools -- Disk Management, available under Windows.
 
Old 12-18-2005, 12:52 AM   #4
zillah
Member
 
Registered: Oct 2004
Posts: 536

Original Poster
Rep: Reputation: 30
Quote:
1- 15 GB NTFS

2- 5 GB FAT32

3- 20 GB NTFS
What I meant here I chose the option "Type" available under cfdisk to choose the partition type.

Quote:
(as already said.)
My answer will be same as above.


Quote:
Cfdisk is simply used to make partitions.
It doesn't format them with a file system.
This question came to my mind that: cfdisk just create the partition but there is no option for formating.

Now my confusion what is the point of choosing "Type" option under cfdisk (like 0C for NTFS, BF for Solaris, 07 for whatever------etc) ?


Quote:
This will also exclude any errors you might have to face after you format with NTFS from a Linux Disk.
Do you mean I can format the prtition with NTFS by using Linux CD ?

Last edited by zillah; 12-18-2005 at 12:54 AM.
 
Old 12-18-2005, 01:03 AM   #5
zillah
Member
 
Registered: Oct 2004
Posts: 536

Original Poster
Rep: Reputation: 30
What will the case be if I create partitions "Type"
a- Solaris (BF)
b- Linux swap (83)
c- Linux ext3 (82)
----
---
---
---
do I need to format them in order to be recognized by Solaris OS or Linux OS ?
 
Old 12-18-2005, 03:24 AM   #6
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
It depends on what you mean by 'recognizing' If you want linux or solaris to be able to write to them (or read from them) you'll first have to format. However, if you creat a partition with a fstype label any linux installation program will recognize the label and many will offer you the possibility of formatting that partition with the preselected fs type.

I'm not sure about this, but maybe mkfs needs the label to be set before creating the file system.
 
Old 12-18-2005, 03:53 AM   #7
zillah
Member
 
Registered: Oct 2004
Posts: 536

Original Poster
Rep: Reputation: 30
Quote:
It depends on what you mean by 'recognizing'
What I meant by this:

1- I created 3 partitions of "Type" (0C for NTFS, 70 for FAT32,,,I do not remember the right Hexadecimal number) by using "cfdisk" (Knoppix CD)utility.

2- I restarted the PC by using XP CD (not Knoppix),,,XP CD was telling me that these partitions of type "unknown" .

A- my query is: if I created the same thing but different "Type" (i.e BF or 83 or 83 I do not remember the right Hexadecimal number),,,as you know these type for Solaris, Linux swap or Linux ext3.

B- If I restart my PC by using Linux CD1 or Solaris CD1,,,do the same thing (unknow) as XP will happen to me ?
 
Old 12-18-2005, 04:07 AM   #8
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
1 -

2 As I explained before, XP could see there was a partition, but rather than believeing what the label said it checked the actual file system ... which didn't exist. However, it recognised the partition as existing and available. If the partition had been labelled as ext2, ext3 or any other non windows file system chances are XP would not have acepted the partition as something it could use.

I do not understand what you ask in A

B - no. solaris linux will recognise the label, but will need to create the file system before being able to write to the partition.
 
Old 12-18-2005, 11:08 AM   #9
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
Quote:
Do you mean I can format the prtition with NTFS by using Linux CD ?

Yes. it is.

Also, if you are using Knoppix, why do you want to go through all this hassle?

Use a very powerful GUI based tool called QT-parted.
 
Old 12-18-2005, 11:43 AM   #10
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
spot on! QTparted will not only create partitions but also file systems.
However, I don't think it's able to create ntfs file systems
 
Old 12-18-2005, 11:48 AM   #11
duffmckagan
Senior Member
 
Registered: Feb 2005
Distribution: Cent OS 6.4
Posts: 1,163

Rep: Reputation: 49
QTparted can create NTFS partitions
 
Old 12-18-2005, 12:04 PM   #12
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
I learn something new every day
 
Old 12-18-2005, 12:57 PM   #13
zillah
Member
 
Registered: Oct 2004
Posts: 536

Original Poster
Rep: Reputation: 30
Quote:
no. solaris linux will recognise the label,
I created another 4 primary partitons on second HD,,,,I labeled them as :

1- Solaris BF.

2- FAT32.

3- Linux swap 83.

4- Linux ext3 82.

Solaris CD1 did not recongnize these label,,,it read them as "unknown",,,,like XP had done.

Quote:
I do not understand what you ask in A
Do you get my point from the above ?

Last edited by zillah; 12-18-2005 at 12:58 PM.
 
Old 12-18-2005, 02:44 PM   #14
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
my bad! linux works for me in this case. Don't have much experience with solaris though...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help in creating partitions in Ubuntu 5.04 crash_override_me Ubuntu 4 08-16-2005 11:40 PM
creating partitions simcox1 Mandriva 1 04-22-2005 05:49 AM
Creating Partitions adamb10 Slackware - Installation 4 03-30-2005 02:36 PM
Creating partitions in Linux. RoaCh Of DisCor Linux - Software 8 07-17-2004 07:20 PM
creating partitions on the fly p1az Linux - General 3 07-25-2003 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration