GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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
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
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.)
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.