LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-15-2003, 05:32 PM   #1
kkathman
Member
 
Registered: Sep 2003
Location: Coppell, Texas
Distribution: SUSE 10.1, Kubuntu 6.06 (Dapper)
Posts: 81

Rep: Reputation: 15
Problems with Partitioning After Install


Colleagues,

I have been successful in installing a RH9 system and its working very stably at the present time.

When I began my quest, I had a blank 100gb drive that I wanted to divide up between Linux and couple of FAT32 partitions I could use for sharing files between Linux and Windows. Windows is on another physical drive.So

I went ahead with the install using RH9 and created just the partitions I needed to get Linux working properly in about 30gb of space. I simply used the Disk Druid portion of the install and let it do the partitioning and formatting.

However, now I want to create a couple of 30+gb partitions on the remaining space in FAT32 format. I tried to use Partition Magic, but it just reports that the entire 100gb drive is bad and it cant do a damn thing with it..

So, that leaves me in a quandry of how to create those other two partitions. I would have been more than willing to use PM to just re format the whole thing and do a reinstall, but PM wont even recognize it...it thinks the drive is bad because there is no MBR (I boot with a floppy to Linux).

So..any ideas on how to get me out of this dilemma?

Thanks,
Korky
 
Old 10-15-2003, 06:57 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
it is possible to create fat32 partitions from inside linux. I don't know if RedHat's diskdruid can do it (you should check - I think you can start it from somewhere in the menus). If that doesn't work, there are less user friendly tools like parted and mkfs.vfat. I'm not sure on the syntax and all that (mandrake makes me very lazy) but check out the man pages and search the forum.
 
Old 10-15-2003, 11:00 PM   #3
kkathman
Member
 
Registered: Sep 2003
Location: Coppell, Texas
Distribution: SUSE 10.1, Kubuntu 6.06 (Dapper)
Posts: 81

Original Poster
Rep: Reputation: 15
From the research I have done, it looks like disk druid only can be invoked during install time. Even the Red Hat Linux Bible makes no reference of its use any other time.

That leaves me with Partition Magic, which, right now, cant even decipher what that second disk is, because its been formatted with RedHat's installer!!!

Word to the wise...DO NOT EVER take the advice of someone here and let LINUX do your partitioning!!!!! Because you have absolutely NO control afterward. I guess the only alternative I have is to literally throw a $150 100gb drive away because NO partitioning tool can see it.

Scaping the pennies together for another drive...


Kork
 
Old 10-15-2003, 11:05 PM   #4
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
are you attempting to dual boot?
 
Old 10-15-2003, 11:16 PM   #5
kkathman
Member
 
Registered: Sep 2003
Location: Coppell, Texas
Distribution: SUSE 10.1, Kubuntu 6.06 (Dapper)
Posts: 81

Original Poster
Rep: Reputation: 15
Actually I am not "dual booting" per se. I mean that in saying I did not allow GRUB or LILO to alter my MBR. I boot Linux from a floppy, because there is so much of a problem with Linux boot managers corrupting NTFS WinXP systems.

So, yes Im dual booting in that I have WinXP on my first HDD and Linux on my Second. But NO...in that there is no boot manager.

Kork
 
Old 10-15-2003, 11:27 PM   #6
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
as i said, you can create fat32 partitions from inside linux even if you cannot use diskdruid. parted and mkfs.vfat are two such tools which I'm sure you have on your system. Have you looked around for diskdruid in the menus and whatever tools rh has? Maybe there is even a command like
diskdruid

BTW, mandrake comes with a wonderful gui-based partitioning tool if that is what you want most of all.
 
Old 10-15-2003, 11:35 PM   #7
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I guess diskdruid really is mainly for install. So forget what I said about looking for diskdruid.

But you should have
cfdisk

Try running this from the command line (the command is cfdisk and you have to be root - possibly you have to use /usr/sbin/cfdisk or /sbin/cfdisk as the command to start it). It's not exactly graphical but it is interactive and once you start it, I think you'll find your way around it.
 
Old 10-15-2003, 11:46 PM   #8
kkathman
Member
 
Registered: Sep 2003
Location: Coppell, Texas
Distribution: SUSE 10.1, Kubuntu 6.06 (Dapper)
Posts: 81

Original Poster
Rep: Reputation: 15
Thanks very much for your help!!!

I did look around the GUI and all for a tool and didnt find anything.

I'll try cfdisk, but my biggest concern is once I use cfsisk to do the partitioning, will Windows see that?

See I think because I chose NOT to write any MBR to that second drive, thats causing a problem. But I cant fix that at all, and I cant overwrite or delete everything on that drive!!

Its a bit frustrating. I thought Partition Magic was better than it really is.

Kork
 
Old 10-16-2003, 12:00 AM   #9
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
so long as you use fat32 Windows should be able to see it - it's basically the one filesystem that both linux and windows can read and write to w/o problems. As for the MBR, you can always install the bootloader. You do not have to do it at the time of installation. If your system is not set to boot from your linux drive, then there shouldn't be a problem writing to its MBR (writing to the MBR of the win HD is another story).
 
Old 10-16-2003, 12:23 AM   #10
kkathman
Member
 
Registered: Sep 2003
Location: Coppell, Texas
Distribution: SUSE 10.1, Kubuntu 6.06 (Dapper)
Posts: 81

Original Poster
Rep: Reputation: 15
I understand about the boot loader and am looking into that.

I dont have a cfdisk command on my system that I can find...but then I only looked under /usr/bin..

I do have an fdisk and an fstab, if that helps.


Kork
 
Old 10-16-2003, 12:29 AM   #11
rakriege
Member
 
Registered: Oct 2003
Location: San Deigo, CA
Distribution: FC3, Win2k Server, XP Pro & 2003 Server
Posts: 198

Rep: Reputation: 30
go here....

http://www.linuxquestions.org/questi...hreadid=104549
 
Old 10-16-2003, 12:31 AM   #12
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
it might be under /usr/sbin or under /sbin. In mandrake it's in /usr/sbin. Also, you have to be root to run it.

fdisk is a bit harder to use. You'd have to do some reading (but cfdisk is basically a frontend for that).

Another thought that I had: have you tried if XP can see the second drive? Right click on My computer, choose Management and then go to disk management (i think that's what it's called; been a while since i used xp). It might see the partition table of your linux drive. If it does, it will recognize your linux partition - not as a linux partition but as an empty one - and see lots of unpartitioned free space. You can then create partitions using XP on that free space.
 
Old 10-16-2003, 12:31 AM   #13
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
what partitions is pm saying is bad? and how does your hard drive look? is all the space formatted? or do you have actual freespace? also what filesystem is your linux install using? why not try using scandisk to fix the windows parititions? and if your linux partition is using ext3, why not just boot into linux and do cold shutdown (pressing the power button while linux is running)? when you start to boot back into linux, you can have it use its filesystem checker. i'm suggesting this, because about a month ago, i wanted to extend my linux partition by an extra gig, but pm8 wouldn't go for it saying there was an error in my linux partition. i just let linux's fs checker fix the faulty inode and then resized the linux partition. if your linux partition is using ext2, you may want to ask how to invoke e2fsck on system boot up.

Last edited by megaspaz; 10-16-2003 at 12:33 AM.
 
Old 10-16-2003, 01:03 AM   #14
egh128
Member
 
Registered: Mar 2002
Location: Asheville, NC
Distribution: Slackware
Posts: 257

Rep: Reputation: 30
There are programs for Windows that let you read/write to Linux filesystems. If you have an ext2 filesystem, try Explore2fs. Good luck.

PS: LILO has never harmed my NTFS partition in any way.
 
Old 10-16-2003, 07:39 AM   #15
kkathman
Member
 
Registered: Sep 2003
Location: Coppell, Texas
Distribution: SUSE 10.1, Kubuntu 6.06 (Dapper)
Posts: 81

Original Poster
Rep: Reputation: 15
There is a wealth of information here in these last posts!! Thanks to each of you!!

Regarding the XP tool...that was a good suggestion. Yes XP does see the second drive just fine. It also sees the partitions that linux made (which is more than PM did). And it DOES report the remaining 65GB as free space. However, the trick is here, for some stupid reason, when I go to partition it, it will ONLY let me format it NTFS..and thats not going to do me any good, seeing that I want both Linux and Windows to read it.

Now I keep going back to this, and Im sorry if I am ignorant, but I just havent read enough I guess. I have NO MBR on this second disk. I thought that Windows had to have an MBR for it to create a logical volume? It said it did, but still went through the process, only to say that NTFS was my only formatting option.

My feeling, and I cant verify it, is that Partition Magic cant do anything with the second drive because there is no MBR. I chose not to write one when I installed Lunux, and just boot by floppy to the second drive. I didnt want to take a chance that the process would corrupt my Windows drive.

Do I need to go back and somehow write an MBR for this second drive somehow? Will that fix the problems?

Kork
 
  


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
Problems Partitioning HD acidtone Slackware - Installation 9 02-20-2006 11:34 AM
Partitioning problems Oholiab Slackware - Installation 6 03-26-2005 08:04 PM
install partitioning problems jscalbny Fedora - Installation 1 02-12-2005 05:57 PM
Partitioning problems...:( Slayer097 Linux - Newbie 6 12-29-2004 03:59 PM
Problems Partitioning XP Pro to install Suse 9.1 Pro spcmiller Linux - Newbie 1 07-27-2004 11:08 PM


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