LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Hard Drive / Partitions (https://www.linuxquestions.org/questions/linux-hardware-18/hard-drive-partitions-109367/)

Starburn 10-28-2003 02:31 AM

Hard Drive / Partitions
 
Just wondering if somebody could explain this to me;
My "D:" drive is referred to as hda5 when really its the 2nd partition on my first hdd, so shouldn't it be hda2? :/ (Windows is installed on hda1 (C: ), all my windows programs/other files etc. on 'hda5' (D: ))... linux is installed on a second hard-drive with three partitions (Linux, swap, home dir).


Also: is there any way to change the size of the swap partition without losing everything on the drive? :/

Thanks

born4linux 10-28-2003 03:08 AM

1 2 3 and 4 are for 'primary' and 'extended partitions'. 5 onwards are for 'logical' partitions residing in the 'extended' partitions.

in your case, /dev/hda5 is a logical partition.

non-destructive resizing is the term for that. look for parted howtos in www.google.com/linux

Starburn 10-29-2003 09:59 AM

Cheers.

Anywhere that explains this primary/extended + logical partitions more? Im just wondering why my D: drive is a logical partition :)


All times are GMT -5. The time now is 01:06 AM.