LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-01-2009, 05:33 PM   #1
A Traveller
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Rep: Reputation: 0
How to format a disk for data to use with both Linux and Windows 98?


This is my first post here. Hi All.

I would like to ask if anyone could advise me about whether or not it is possible to have a data drive recognised by Windows (98SE) and Ubuntu (9.10) without using Windows to format it.

If I format the hard disk using FDisk, then Ubuntu recognises it, so everything's fine, however, if the disk is larger than 137Gb, I cannot format it with FDisk/Windows as it doesn't recognise the full capacity. If I format the disk in Ubuntu (which recognises the full capacity), will W98SE automatically show it in My Computer or do I need to do it a different way?

By the way, is the 137Gb max size due to WindowsSE, FDisk or the motherboard? I had already tried enabling LBA in Bios on my old pc but couldn't find a setting for that.

At the moment, I am not running a dual boot setup and am switching my data drive between the Windows and Ubuntu computers. Speaking about dual booting, my motherboard gives the option at startup to choose which the first boot device will be (without entering BIOS). I have come across numerous complicated questions on the Internet asking how to dual boot. Am I missing something?

Thanks.
 
Old 12-01-2009, 05:42 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
As per http://en.wikipedia.org/wiki/File_Allocation_Table

Quote:
On Windows 95/98, due to the version of Microsoft's SCANDISK utility included with these operating systems being a 16-bit application, the FAT structure is not allowed to grow beyond around 4.2 million (< 222) clusters, placing the volume limit at 127.53 GB.[14] A limitation in original versions of Windows 98/98SE's Fdisk utility causes it to incorrectly report disk sizes over 64 GB.[15] A corrected version is available from Microsoft, but it cannot partition drives larger than 512GB [16]. The Windows 2000/XP installation program and filesystem creation tool imposes a limitation of 32 GB [17]. However, both systems can read and write to FAT32 file systems of any size. This limitation is by design and according to Microsoft was imposed because many tasks on a very large FAT32 file system become slow and inefficient.[14][18] This limitation can be bypassed by using third-party formatting utilities
To summarise, if you create and format the partition as fat32 on Ubuntu, Windows should be fine to use it

cheers

Last edited by kbp; 12-01-2009 at 05:43 PM. Reason: typo
 
Old 12-01-2009, 05:43 PM   #3
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 648

Rep: Reputation: 78
You won't have any problems reading you windows drive from linux, however windows will not see your linux partition.
 
Old 12-01-2009, 05:44 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,425

Rep: Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055Reputation: 1055
Format it in Ubuntu as VFAT (FAT 32) - Windows (even later than Win98) couldn't format large partitions, but would still use them o.k.
Win98SE should be o.k. as well
 
Old 12-01-2009, 06:11 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
I have not had dual-boot for over 2 years, so there is rust and mold.....

My favored approach was to put all shared data on ext3 and then use the ext2fsd driver in Windows. For the rare occassions that I booted into Windows, it seemed to work well. I was using Win2K and I don't know how well this driver works on later versions.
 
Old 12-01-2009, 08:07 PM   #6
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,311

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
In that case, I'd guess the qn is, is there an ext2fsd for Win98?
 
Old 12-02-2009, 02:52 PM   #7
A Traveller
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for all the replies. They really are appreciated.

I will try formatting it as VFAT, as suggested, and report back on how I get on. Since this sounds easier than to 'put all shared data on ext3 and then use the ext2fsd driver in Windows', I will try that first. My knowledge isn't that advanced yet! Haha.

Thanks.
 
Old 12-07-2009, 02:40 AM   #8
resetreset
Senior Member
 
Registered: Mar 2008
Location: India
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,320

Rep: Reputation: 62
Is VFAT the same as FAT32, syg00? I think they're 2 separate things, VFAT was for Win 95, and 98 upgraded it to FAT32, which is different, and which is what the OP should use, IMO.
 
Old 12-07-2009, 07:30 AM   #9
A Traveller
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Hi All.

I put the new hard disk in my computer and set the jumper to slave (removed it). Unfortunately, the disk doesn't appear in the 'Places' menu, so I did some research on the Internet and came across the sudo fdisk -l command to check if the disk was there and got the following. I'm assuming that if I were to try to format it through the terminal, with my limited knowledge, it will format as ext2 or ext3 or whatever it is and not as VFAT. How can I simply make the disk appear in Places so that I can just right click on it and choose 'Format' from the context menu?

Thanks.


Disk /dev/sda: 20.5 GB, 20490559488 bytes
255 heads, 63 sectors/track, 2491 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1b4f1b4f

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2382 19133383+ 83 Linux
/dev/sda2 2383 2491 875542+ 5 Extended
/dev/sda5 2383 2491 875511 82 Linux swap / Solaris

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/sdb doesn't contain a valid partition table
 
Old 12-07-2009, 07:53 PM   #10
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Hi Traveller,

I don't think it will show up under places until it is partitioned, from the command line, the steps should be as follows:

Code:
sudo fdisk /dev/sdb
n (new)
p (primary)
1 (first partition)
[enter] (start at beginning)
[enter] (finish at end - use the whole disk)
t (change type)
c (Fat32 with LBA)
w (write and exit)
Then you can format it:

Code:
mkfs.vfat /dev/sdb1
cheers
 
Old 12-07-2009, 11:00 PM   #11
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: LFS-Version SVN-20091202, Arch 2009.08
Posts: 1,496

Rep: Reputation: 68
Quote:
Originally Posted by A Traveller View Post
This is my first post here. Hi All.

I would like to ask if anyone could advise me about whether or not it is possible to have a data drive recognised by Windows (98SE) and Ubuntu (9.10) without using Windows to format it.
...
Windows 98SE. Rummaging the bargin bin for that
 
Old 12-10-2009, 02:00 PM   #12
A Traveller
LQ Newbie
 
Registered: Nov 2009
Posts: 11

Original Poster
Rep: Reputation: 0
kbp, thank you so, so, so, so much! That worked perfectly. I really appreciated your step by step instructions. It's an enormous help for newbs like me.

exvor, yes I know, but I don't think I'll ever be buying any Windows software later than 98. I'm going to stick it out with Linux, which I must say, has it's fair share of annoyances, especially when starting out! One of the main ones is installing programs.

Thanks everyone.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
format hard disk and start over with windows xp donniemack1 Linux - Newbie 2 05-13-2009 09:48 PM
LXer: Linux Data Recovery on Windows - Is possible through Disk Doctors Linux Recovery Software LXer Syndicated Linux News 0 10-22-2006 01:21 PM
Burn Data DVD... Read Data in Linux and Windows SaintStrive Linux - Newbie 3 09-18-2004 06:04 PM
I need to format a ext2 floppy disk under Windows XP marcus1060 General 21 04-04-2004 07:05 PM
use vi to convert linux format to windows format intolinux Linux - Software 2 12-10-2003 11:20 PM


All times are GMT -5. The time now is 10:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration