-
position of the swap partition
Hello,
Just a little doubt :
I had installed knoppix on my hd
I have 3 partitions :
hda1 --> winslow98
hda5 --> linux
hda6 --> swap
The doubt : a swap partition can be at the end of the drive, or it's better to set it at the begining of the logical partition ?
Why hda5 and not hda2 ?
Thx
Rico
-
Senior Member
registered user
The reason your two linux partitions are /dev/hda5 and /dev/hda6 is because your drive was fdisked with DOS/windows, which only allows one primary partition, the second partition has to be an extended partition in DOS. So when you put linux on your HD it went in the extended partition, linux names the extended partition /dev/hda4 and logical partitions are placed inside of it so your first linux partition is /dev/hda5 and your swap is /dev/hda6. BTW linux fdisk allows up to four primary partitions, or three primary and one extended.
I've heard some people say that having the swap at the front of the drive will be slightly faster, many "canned" installs, e-smith router/server for example, make a small /boot partition, then do the swap, and then fill the remaining space with your / partition, which is the easiest way to do it.
HTH
rock
-
thX
-
Similar Threads
-
By pbock in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 07-15-2004, 09:56 PM
-
By ZeroKun in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 05-07-2004, 06:44 PM
-
By bob58 in forum Hdd Install / Debian / Apt
Replies: 6
Last Post: 03-19-2004, 11:31 PM
-
By metavoid in forum General Support
Replies: 7
Last Post: 02-20-2004, 04:40 PM
-
By Sucker in forum General Support
Replies: 3
Last Post: 01-29-2003, 11:32 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Dell PowerEdge R730xd Server 2.60Ghz 32-Core 64GB 800GB SSD Debian Linux
$836.80
Watchguard XCS 570 Firewall SuperMicro 1U Server Intel 4GB VPN Router LINUX ๐
$145.79
Domino Lotus Server 5.0.7 for OS/2 WSeB, RH Linux 6, Solaris, AIX, HP-UX, Win NT
$60.00
1U BareMetal pfsense opnsense Router Firewall DNS Server 6x 10GB Ethernet Ports
$149.00
Red Hat Enterprise Linux 5 Server - New and Sealed
$16.99
KRAMBU 8 GPU 4U Barebone Server
$1499.99
IBM E850 Power8 2x 12C 3.02GHz 512Gb 1.8Tb SAS 10GbE 16Gb Linux Server 8408-E8E
$674.96
IBM CS821 20-Core 2.827GHz 128Gb 1.92Tb SSD 1U Linux Server - 8005-12N Power 8
$449.96
PFSENSE 15" Depth Server Router Firewall Supermicro X11SSH-F E3-1240 V5 32GB RAM
$382.00
POGO Linux WEBWARE 1150 Rack-Mount Server Pentium 4 2.8GHz 512MB - No Drives
$179.99