LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-27-2006, 01:01 AM   #1
stutes
LQ Newbie
 
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
second hard drive as one large partition


here. Just recently installed Fedora Core 1 as a part of a dual boot with XP.

The machine has two hard drives.

I was hoping that the second hard drive, which is 160GB, would be just one large FAT32 or EXT3 partition in which I could store the files that I want to share between FC1 and XP.

But between the two installations, my second drive has ended up looking like this:
hdb1 ntfs
hdb2 ntfs
hdb3 ext3
hdb4 extended
hdb5 ext3
hdb6 linux-swap
hdb7 ext3

The last partition, hdb7, is the largest. I have no clue what hdb1-hdb6 are from---I assume from the installations of both operating systems. But I'm having difficulty mounting it hdb7, so I'm thinking of reformatting, perhaps even re-partitioning.

So my questions are this:
1. Can I wipe out ALL of the partitions on the second hard drive, without any ill effects from my XP and my FC1, and repartition the space to be one big partition? (For both, the operating systems were installed on hda partitions).
2. Should I format it to be fat32 or ext3 if I want to share the drive? (I was planning on using the "Ext2 IFS" driver in XP to read and write to the EXT3 partition)
3. If fat32 is recommend, what is the best method for formatting a partition into fat32 so that both FC and XP can read and write to the drive (I've read on some other threads that XP doesn't always recognize a FAT32 partition that was formatted using FC---something about not having an ID or a label...)

Thanks!

Andy
 
Old 05-27-2006, 01:29 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you can easily just wipe the whole lot out under fdisk or such like, without having any issues to be concerned about. From my experience I would sadly recommend that you create the fat32 filesystem itself under XP, as i've had little luck formatting fat32 under linux. And yeah i would use fat32 not ext3.
 
Old 05-27-2006, 01:32 AM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
1) Check in /etc/fstab to see if the partitions are being mounted anywhere. If not, then you should be able to delete them with no problems to your Linux installation. Likewise, check in Windows to make sure that there is nothing on that disk.

2) FAT32 is good to share between Linux and Windows, because both can read and write. Unfortunately, FAT32 is limitted to about 50GB or thereabouts. Ext3 shouldn't have this limitation. I don't know how good the drivers to make Windows read and write ext3 actually are.

3) I suggest cfdisk to create the partitions and then mkfs.ext3 to create the filesytem. If you decide on FAT32, then mkfs.msdos, but it may be better to use Windows.

I hope this helps
--Ian
 
Old 05-27-2006, 01:00 PM   #4
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Just out of curiosity, what does your first hard drive look like? Because that partition layout sounds exactly like what a person would have if they set up a dual boot system on the drive. By which I mean, are you absolutely certain that the drive you have the operating systems installed on isn't this one?

As for your other questions, I don't know how well the ext2 IFS driver works, but assuming it does everything you want, I'd consider it preferrable to a FAT partition, because FAT can't handle Linux things like permissions settings, symlinks or pipes. You'd always be finding yourself frustrated by the limitations of the FAT filesystem.

If you do decide to go with FAT, then definitely use a native Windows formatter to do it. As you said, Windows is often very picky about third-party implementations of things.



Edit: Just thinking, you might try booting up your system with a live cd like Knoppix, so that you can look at the partitions and what's on them from outside of either installed OS. You can also do repartitioning/reformatting from there as well using qtparted.

Last edited by David the H.; 05-27-2006 at 01:08 PM.
 
Old 05-27-2006, 02:07 PM   #5
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,606

Rep: Reputation: 53
FC5 is out; you might want to upgrade from FC1
 
Old 05-27-2006, 03:19 PM   #6
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Originally Posted by David the H.
Because that partition layout sounds exactly like what a person would have if they set up a dual boot system on the drive. By which I mean, are you absolutely certain that the drive you have the operating systems installed on isn't this one?
I was thinking the exact same thing. This certainly doesn't look like a layout that would just pop up out of nowhere.

Before wiping out your partitions, you might want to run the commands:
Code:
$ su
# fdisk -l
# mount
# ls -l /dev | grep ' [hs]d'
and post the outputs here. (That's a space character immediately before the left bracket in the grep command.)
 
  


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
createing a LARGE portable hard drive with fat32 IcoNyx Linux - Hardware 8 01-13-2007 11:56 AM
Needing help copying large hard drive to smaller drive sdubble Linux - Software 1 02-21-2006 12:06 PM
Buying a large USB hard drive TomF Linux - Hardware 1 11-23-2003 02:51 PM
Large Hard Drive, Scyld Linux totalcommand Linux - Newbie 5 07-25-2003 11:01 AM
Large Hard Drive / Slackware 8 issues udtman Slackware 12 05-19-2002 10:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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