LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-23-2009, 06:17 AM   #1
7mza
Member
 
Registered: May 2008
Location: Jordan
Distribution: use fedora but prefer Slackware
Posts: 98

Rep: Reputation: 15
specify my partition


i format my partition to ntfs by linux command , but it seem not seen by my vista , so i decide to format it using vista , the problem here i dont know which partition is the correct one to format ?
when using fdisk -l

[root@Hamzah-PC l]# fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2ae62ae5

Device Boot Start End Blocks Id System
/dev/sda1 * 1 9132 73347036 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 9132 11756 21081088 7 HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3 11756 14295 20389888 7 HPFS/NTFS
Partition 3 does not end on cylinder boundary.
/dev/sda4 14296 19457 41463765 f W95 Ext'd (LBA)
/dev/sda5 14296 15562 10177146 83 Linux
/dev/sda6 15563 15805 1951866 83 Linux
/dev/sda7 15806 17264 11719386 83 Linux
/dev/sda8 17265 19457 17615241 83 Linux



i dont understand sth , i Believe i format sda5 to ntfs but it shown by "fdisk -l" its not true ?
what is the correct way to know my free partition to format it , can i use mount on this ?

Last edited by 7mza; 09-23-2009 at 06:18 AM.
 
Old 09-23-2009, 06:49 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
What Linux command did you use to format the partition as NTFS? I've never seen this.

How is Windows seeing the various Linux partitions? I would expect that it reports them as unreadable---but does it not at least show the size?---If all else fails, you can ID the partitions based on size.
 
Old 09-23-2009, 07:13 AM   #3
7mza
Member
 
Registered: May 2008
Location: Jordan
Distribution: use fedora but prefer Slackware
Posts: 98

Original Poster
Rep: Reputation: 15
i used

i used mkntfs command , windows can see the linux partition as unused partition so i can format it fine .
 
Old 09-23-2009, 07:18 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
OK----so what is the status? Problem solved?

interesting to note that someone wrote the "mkntfs" command, but I'm wondering WHY? (i.e., if I want Windows formats, I can use ....Windows)
 
Old 09-23-2009, 07:29 AM   #5
7mza
Member
 
Registered: May 2008
Location: Jordan
Distribution: use fedora but prefer Slackware
Posts: 98

Original Poster
Rep: Reputation: 15
thats the problem

:d not solved man , i meant the windows can see all my hard disk partition and see linux as a unused not as drive like C or D or E,
then u can format any partition to any drive u want, when i used mkntfs command to format partition it just seen as drive by linux not windows ,
i used mkntfs command coz i want try it
 
Old 09-23-2009, 07:32 AM   #6
7mza
Member
 
Registered: May 2008
Location: Jordan
Distribution: use fedora but prefer Slackware
Posts: 98

Original Poster
Rep: Reputation: 15
,,

i just want to know what is the correct partition to format by windows
 
Old 09-23-2009, 07:33 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
How about recognizing the partitions based on size?

Also, doesn't Windows list the "unrecognized" partitions in the order reported by the BIOS? Certainly there is a way to verify that.

I don't run any Windows systems at the moment, so my usefulness is limited....
 
Old 09-23-2009, 07:41 AM   #8
7mza
Member
 
Registered: May 2008
Location: Jordan
Distribution: use fedora but prefer Slackware
Posts: 98

Original Poster
Rep: Reputation: 15
what about

what about mount linux partition and see which partitin have a file and which one is free ?
can i mount it ?
how can i know what size used on my partition and what free ?
 
Old 09-23-2009, 07:46 AM   #9
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,617

Rep: Reputation: 442Reputation: 442Reputation: 442Reputation: 442Reputation: 442
Quote:
what is the correct way to know my free partition to format it , can i use mount on this ?
to find out if i have free space:

user@host--$: df -h <Enter>
or
user@host--$: df -k <Enter>

to create Windows format (or other formats) under linux commands i think i have used cfdisk before:

root@host--#: cfdisk <Enter>
[But this should be done at the shell while the harddrive is not locked. Don't run Xwindowing, don't log-in, Press Ctl-Alt+Fn, a shell prompt appears then login as root. Better you boot up using the live cd, then bring up a shell login prompt there issue cfdisk command.]
cfdisk is better than fdisk. just be careful. think first before doing a thing.

as a general rule, per my experience, an ntfs created by linux command was readable by xp.

i hope this helps

good luck.
 
Old 09-23-2009, 07:46 AM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
You cannot mount the Linux partitions in Windows unless you install a driver. In the past, I have used the "ext2fsd" driver in Windows to read Linux partitions.

Quote:
how can i know what size used on my partition and what free
In Linux, the "df" command....But: What I was suggesting is to identify the partition in Windows based on the total size of the partition. Doesn't Windows report that somewhere? (In lInux, you have it from "fdisk -l")
 
Old 09-23-2009, 07:56 AM   #11
7mza
Member
 
Registered: May 2008
Location: Jordan
Distribution: use fedora but prefer Slackware
Posts: 98

Original Poster
Rep: Reputation: 15
tnx alot

tnx guyz it helpful and my problem solved
am just new to linux and still learn and every thing coming clear slowly
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
openSolaris hosed the partition table. Why? Changing primary to secondary partition? JZL240I-U Solaris / OpenSolaris 9 10-16-2008 10:48 AM
tricky backup of Linux system to NTFS partition to increase partition size Pandarsson Linux - General 5 07-09-2008 02:35 PM
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 10:46 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 08:45 AM


All times are GMT -5. The time now is 05:25 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration