LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 12-25-2005, 08:00 AM   #1
sonisumit84
LQ Newbie
 
Registered: Dec 2005
Location: IIPS, Indore, INDIA
Distribution: Slackware 10.0 kernel 2.4.26
Posts: 10

Rep: Reputation: 0
why win98 shows the full capacity of drive in part of which i installed linux?




hi,
i have suse 9.3 & win98 on my system. When i installed the linux then i forgot to format the drive which i choosed for linu. at the time of installation (without formating) i break that 21GB drive into 15GB(for win) 500MB for swap and rest for the linux.
Now the problem is this that when i check the drives frm linux its all good but windows shows me full 21GB drive ....and surprisingly no data loss( actually it seems that some files might have corrupted or Windows shows the message
that they are not on the disk.....help me out....is there something that i'll see only 15GB in windows....
One more thing how can i format that drive(15GB) frm linux...i dont knw the command because i'm a
tnx
 
Old 12-25-2005, 08:11 AM   #2
gunnix
Member
 
Registered: Apr 2004
Distribution: Arch, Debian and FreeBSD
Posts: 243

Rep: Reputation: 30
Well to format a drive in linux you use fdisk or cfdisk .
Do fdisk -h or cfdisk -h to get help.

Then to put an ext3 filesystem on it use "mkfs.ext3 /dev/hdxx" (where xx is something like a1)

Just see what kind of mkfs tools you have to make other filesystems like ext2 , reiserfs, ....
 
Old 12-26-2005, 12:05 PM   #3
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
Quote:
Originally Posted by gunnix
Well to format a drive in linux you use fdisk or cfdisk .
Do fdisk -h or cfdisk -h to get help.

Then to put an ext3 filesystem on it use "mkfs.ext3 /dev/hdxx" (where xx is something like a1)

Just see what kind of mkfs tools you have to make other filesystems like ext2 , reiserfs, ....
I think fdisk and cfdisk commands can be used for repartitioning and not for formating.

Quote:
at the time of installation (without formating) i break that 21GB drive into 15GB(for win) 500MB for swap and rest for the linux.
means at this stage probably he used "fdisk / cfdisk " command, but he didn't formatted the drives.....must have just assigned the id 83 and 82 to linux and swap partitions.

But me too can't understand that why from the windows its showing the drive size as 21/22 Gb.
If he format that portion in windows..will he loose the linux part too ???

regards
 
Old 01-19-2007, 10:19 AM   #4
porzech
Member
 
Registered: Jan 2007
Distribution: Suse, Ubuntu
Posts: 31

Rep: Reputation: 15
Exclamation

from the symptoms described it seems that the partitions were just added to the partition table without the update of the previous partition data (should be impossible if done using fdisk or similar tool) Personally i did such a thing by editing partition table manually (was some kind of experiment) and then i got two overlaping partitions. such a situation is of course very bad if it occurs (if the windows partition starts from beginning of the disk and is followed by linux partitions its very probable that linux partitions get overwriten when more data is saved on windows partition and the system writes behind the begining of linux drive. Same problem when there were files on windows partition and You installed linux on its partition files that were located in that area were overwriten. I could tell more if You could provide dump of partition data.
you could use linux fdisk to get that data.
Just login as root and type fdisk /dev/hda then pres p then q
after pressing p fdisk should show your current partition table.
ps /dev/hda is the node where your drive is located if its not functioning you can try /dev/hdb /dev/hdc /dev/hdd or if its sata drive /dev/sda an the like till you get a valid result

ps I would not format this too large poartition from linux as this could damage data on other partitions first thing to do is to check if your partition table holds correct data in it and if not repair any problems
 
  


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
windows/linux hard drive capacity Vensan Linux - Hardware 2 01-19-2007 10:39 AM
HP T4 (t4000) 4/8gb Tape Drive not using full capacity k41184 Linux - Hardware 0 12-06-2005 08:05 PM
part 1 of filesystem is full ryedunn Linux - General 1 03-17-2004 07:45 AM
Used dd now, then reformatted drive - still shows 80% full! bluehz Linux - Hardware 3 03-15-2004 08:46 PM
How can I find if a certain part of Linux is installed? Conpen2000 Linux - Newbie 2 01-07-2004 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:40 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