LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   FDISK help (https://www.linuxquestions.org/questions/linux-newbie-8/fdisk-help-77871/)

PionexUser 07-31-2003 10:02 PM

FDISK help
 
Quote:

Device Boot Start End Blocks Id System
/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)
I'M A NOOB NEED HELP!

I wan't to remove hda2 and hda5 and get back the missing space in 397-798. So I can re-make them in DOS mode.

I'm using RedHat 9

peace 07-31-2003 10:09 PM

OK. I'm not quite sure what you mean, "re-make them in DOS mode". But I guess you want to remove your Win95 and Win98 partitions, and use it all (including the missing space) as your Linux partitions.

This depends on whether or not you don't care about losing your existing data on the Linux partitions. If you don't, a new table could be just 1 Linux Native partition, and 1 Linux Swap partition.

As far as I know, fdisk cannot resize your Linux Native partitions to include more space. You could however, use the hda2 and hda4 as /usr and /home space.

Another idea could be the tool (though I've never used it) Partition Magic, which can supposedly resize, create, and delete partitions of many types.

PionexUser 07-31-2003 10:18 PM

I just want to delete those partitions so I can re-make them in dos mode. I'm a noob to Linux fdisk. And after I remake them I'm gonna put on Windows 98se...

Zoombie 08-01-2003 03:45 AM

Okay...to run fdisk you go to a shell and type:
fdisk /dev/*
Where * is your device (which is usually hda).

To look at partitions, you press p [enter].
To delete a partition, press d [enter] and then the partition number and [enter].
After you're done, press w [enter] to save your changes.

A word of advice: if you install Windows after Linux, Windows will probably remove your boot loader (probably Lilo or Grub). I would recommend you make a Linux boot disk before installing Windows.


All times are GMT -5. The time now is 12:04 PM.