LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 07-19-2003, 11:39 PM   #1
PionexUser
Member
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Red Hat 9
Posts: 179

Rep: Reputation: 30
Partition Question


OK, I used all my harddrive on the first install of RedHat and then when I re-installed Linux I left 3gb of free space. When I enter fdisk in DOS mode there is no free space. How can I make it so that fdisk in DOS mode can read that free space and I can make another partition?
 
Old 07-19-2003, 11:47 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I'm going to possibly move this to the General forum as I am suspecting you mean actual DOS mode with a boot disk and a: prompts. If you mean something else, please clarify. If not, this is not a linux question

Cool
 
Old 07-19-2003, 11:50 PM   #3
PionexUser
Member
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Red Hat 9
Posts: 179

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by MasterC
I'm going to possibly move this to the General forum as I am suspecting you mean actual DOS mode with a boot disk and a: prompts. If you mean something else, please clarify. If not, this is not a linux question

Cool
Indeed, with a boot disk.
 
Old 07-19-2003, 11:54 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Moving to the "General" forum where non-linux questions/topics go

I do believe that linux fdisk will be able to format that space for you, into a fat32 partition no less, but DOS fdisk is beyond me

Cool
 
Old 07-20-2003, 01:10 AM   #5
PionexUser
Member
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Red Hat 9
Posts: 179

Original Poster
Rep: Reputation: 30
How would I get into "linux fdisk"?
 
Old 07-20-2003, 01:40 AM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
You need to be root and just run 'fdisk' - if that doesn't work, it's in /sbin.
 
Old 07-20-2003, 02:47 AM   #7
PionexUser
Member
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Red Hat 9
Posts: 179

Original Poster
Rep: Reputation: 30
How can I view all my partitions?
 
Old 07-20-2003, 03:05 AM   #8
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
What do you mean? How to use fdisk? fdisk /dev/hda -l or fdisk /dev/hda, then get the prompt and do 'p'. It's got an 'm' at the prompt for a menu of options and there's the man page.

(For "hda", whatever your drive is or drives are, of course.)
 
Old 07-20-2003, 04:35 AM   #9
PionexUser
Member
 
Registered: Jul 2003
Location: Alaska, USA
Distribution: Red Hat 9
Posts: 179

Original Poster
Rep: Reputation: 30
Quote:
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 797 1027 1855507+ f Win95 Ext'd (LBA)
/dev/hda3 14 332 2562367+ 83 Linux
/dev/hda4 333 396 514080 82 Linux swap
/dev/hda5 797 1027 1855476 c Win95 FAT32 (LBA)
OK, how come I have no free space? I should have 3gb of free space.....
 
Old 07-20-2003, 05:03 PM   #10
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
You're a bit scrambled there. To unscramble it for a better view:

Primary
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda3 14 332 2562367+ 83 Linux
/dev/hda4 333 396 514080 82 Linux swap
/dev/hda2 797 1027 1855507+ f Win95 Ext'd (LBA)
Extended
/dev/hda5 797 1027 1855476 c Win95 FAT32 (LBA)

Looks like you've got a hole from 397-796. Unfortunately, all primary partitions are accounted for. I'm not sure what to do about that. I believe all logical drives have to be inside the area marked off by the extended partition - /dev/hda2 - I don't think you can just say "Make 397-796" a new logical volume. And you can't create a 5th primary partition. I may be wrong but it looks like you're going to need to... hm... I hate extended partitions. Maybe resize /dev/hda2 to take up 397-1027 and then create a /dev/hda6 inside it from 397-796. And definitely back up the data on the Win95 and really the whole computer. That's what *I'd* try but I'm not entirely sure it would go cleanly. I think it would, though. You might give it a shot or wait for somebody who was certain.

Afterwards, you might also try 'fdisk /dev/hda' then 'x' then 'f' to unscramble the table - I did that once when I got scrambled and it seemed to go okay but if it's not causing problems, maybe you could just leave that alone.
 
  


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
partition question kuplo SUSE / openSUSE 1 10-29-2005 08:37 PM
partition question stonecrest Linux - Newbie 5 09-21-2004 09:00 AM
Partition question/help. culley65 Linux - Software 6 02-10-2004 03:02 PM
partition question tj156 Linux - Newbie 1 08-16-2003 10:38 PM
Partition question digger Linux - Newbie 5 05-16-2003 04:26 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

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