Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › More than 4 primary partitions?
New Posts  All Forums:Forum Nav:

More than 4 primary partitions? - Page 2

post #11 of 23
uhm... no

DRIVES are assigned letters... such as hda hdb hdc or sda sdb sdc partitions are always assigned numbers, logical partitions are always 5 and up and primary/extended partitions are always 1-4
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
post #12 of 23
Quote:
Originally Posted by EntTheGod View Post
uhm... no

DRIVES are assigned letters... such as hda hdb hdc or sda sdb sdc partitions are always assigned numbers, logical partitions are always 5 and up and primary/extended partitions are always 1-4
This.

Kinda wish they'd be named after their mount points though, I always forget which number is which, lol
 
Black 'n' blue II
(13 items)
 
 
CPUMotherboardGraphicsOptical Drive
Intel Core i5-2515E Acer Aspire 5755G NVIDIA GeForce GT630M  DVD/CD 
OSOSMonitorCase
Linux Mint 14 x64 (Cinnamon) Windows 7 Home Premium 15.6 LED screen Acer Aspire 5755G 
Audio
Intel HD Audio 
CPUMotherboardGraphicsRAM
Core i7 860 @ 1.25V MSI P55-GD65 Xpertvision Radeon HD4850 4GB G.Skill Ripjaw 
Hard DriveOptical DriveOSMonitor
150Gb Velociraptor & 1Tb WD Caviar Black Opticon Lightscribe DVD-RW DL Vista Home Premium x64 Hyundai BlueH H224W 22" LCD 
KeyboardPowerCaseMouse
Saitek Eclipse II Thermaltake Purepower RX 550 Galaxy III Logitech MX518 
  hide details  
Reply
 
Black 'n' blue II
(13 items)
 
 
CPUMotherboardGraphicsOptical Drive
Intel Core i5-2515E Acer Aspire 5755G NVIDIA GeForce GT630M  DVD/CD 
OSOSMonitorCase
Linux Mint 14 x64 (Cinnamon) Windows 7 Home Premium 15.6 LED screen Acer Aspire 5755G 
Audio
Intel HD Audio 
CPUMotherboardGraphicsRAM
Core i7 860 @ 1.25V MSI P55-GD65 Xpertvision Radeon HD4850 4GB G.Skill Ripjaw 
Hard DriveOptical DriveOSMonitor
150Gb Velociraptor & 1Tb WD Caviar Black Opticon Lightscribe DVD-RW DL Vista Home Premium x64 Hyundai BlueH H224W 22" LCD 
KeyboardPowerCaseMouse
Saitek Eclipse II Thermaltake Purepower RX 550 Galaxy III Logitech MX518 
  hide details  
Reply
post #13 of 23
Quote:
Originally Posted by chemicalfan View Post
This.

Kinda wish they'd be named after their mount points though, I always forget which number is which, lol
hm... thought there was a way to do that...

WELL once you figure out which partition number it is you can always symlink it in the dev folder like /dev/windows > /dev/sda1

that way you can mount /dev/windows /mnt

drive letters will actually change if you put more drives in the system though so if you do that just pay attention if you change your set up
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
post #14 of 23
Quote:
Originally Posted by EntTheGod View Post
hm... thought there was a way to do that...

WELL once you figure out which partition number it is you can always symlink it in the dev folder like /dev/windows > /dev/sda1

that way you can mount /dev/windows /mnt

drive letters will actually change if you put more drives in the system though so if you do that just pay attention if you change your set up
You can do this dynamically with udev rules. You feed it some drive specific parameters (model number, manufacturer, etc) and it will create your specified symlink for you (you can do many other things too). Also depending on your kernel configuration /dev will be a ramdisk that gets recreated and populated during boot so links may not stick.

The easier way if you have Linux formatted drives is just to use partition labels. You can label ext2/3/4 partitions running
Code:
e2label /dev/sda1 name
Other filesystems including swap support labeling too using fs specific commands. Once labeled you can reference the partition as "/dev/disk/by-label/name" or "LABEL=name".
kvmhost
(17 items)
 
  
CPUMotherboardRAMHard Drive
E3-1245v2 Supermicro X9SAE-V Kingston 8GB ECC x4 Samsung F4 2TB x6 raid6 
Hard DriveHard DriveCoolingOS
Samsung 830 128GB Samsung 840 pro 256GB Prolimatech Samuel 17 Gentoo 
PowerCase
Seasonic X750 Chenbro RM42300 
  hide details  
Reply
kvmhost
(17 items)
 
  
CPUMotherboardRAMHard Drive
E3-1245v2 Supermicro X9SAE-V Kingston 8GB ECC x4 Samsung F4 2TB x6 raid6 
Hard DriveHard DriveCoolingOS
Samsung 830 128GB Samsung 840 pro 256GB Prolimatech Samuel 17 Gentoo 
PowerCase
Seasonic X750 Chenbro RM42300 
  hide details  
Reply
post #15 of 23
So there are some good ideas listed in this thread but they are all way to complex for the basic purpose of what you are trying to do. Just use LVM thats what it is for.

Here; a full guide on how to use it.

http://tldp.org/HOWTO/LVM-HOWTO/
Desktop
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9550 EVGA 780SLi EVGA GTX285SSC 4GB OCZ Reaper HPC Edition 
Hard DriveOptical DriveOSPower
150GB Velociraptor x2 - RAID0 2 - Samsung Write Master's Window 7 64-bit 750 Watt OCZ 60 AMPs on +12v 
CaseMouse
LIAN LI PC-V2110B Black Logitech G3 
  hide details  
Reply
Desktop
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9550 EVGA 780SLi EVGA GTX285SSC 4GB OCZ Reaper HPC Edition 
Hard DriveOptical DriveOSPower
150GB Velociraptor x2 - RAID0 2 - Samsung Write Master's Window 7 64-bit 750 Watt OCZ 60 AMPs on +12v 
CaseMouse
LIAN LI PC-V2110B Black Logitech G3 
  hide details  
Reply
post #16 of 23
So much bad information in this thread...


1. Windows requires a primary, Linux doesn't.

2. Letters denote physical drives, numbers denote partitions. /dev/sd*1-sd*4 are primary partitions, and /dev/sd*5 is your first logical, so even if you only have 1 primary partition, the first logical partition will still be /dev/sd*5
   
CPUMotherboardGraphicsRAM
Core i5 750 3800MHz EVGA P55-SLI FTW Gigabyte GTX 460 1GB Corsair Dominator 
RAMHard DriveHard DriveHard Drive
Kingston Hyper-X OCZ Vertex 3 WD6401AALS Seagate 7200.10 
Hard DriveCoolingOSOS
WD5000AAKS Noctua NH-D14 Windows 7 Pro x64 [SSD] Xubuntu [WD Black] 
MonitorMonitorKeyboardPower
LG W2442PA-BF Dell Ultrasharp U2312HM Microsoft Sidewinder X4 Corsair HX750W 
CaseMouse
Corsair Graphite 600T Logitech G5 
  hide details  
Reply
   
CPUMotherboardGraphicsRAM
Core i5 750 3800MHz EVGA P55-SLI FTW Gigabyte GTX 460 1GB Corsair Dominator 
RAMHard DriveHard DriveHard Drive
Kingston Hyper-X OCZ Vertex 3 WD6401AALS Seagate 7200.10 
Hard DriveCoolingOSOS
WD5000AAKS Noctua NH-D14 Windows 7 Pro x64 [SSD] Xubuntu [WD Black] 
MonitorMonitorKeyboardPower
LG W2442PA-BF Dell Ultrasharp U2312HM Microsoft Sidewinder X4 Corsair HX750W 
CaseMouse
Corsair Graphite 600T Logitech G5 
  hide details  
Reply
post #17 of 23
Quote:
Originally Posted by nathris View Post
So much bad information in this thread...


1. Windows requires a primary, Linux doesn't.

2. Letters denote physical drives, numbers denote partitions. /dev/sd*1-sd*4 are primary partitions, and /dev/sd*5 is your first logical, so even if you only have 1 primary partition, the first logical partition will still be /dev/sd*5
bad information thats been corrected 3 times over... i believe i said all of that already just by myself, not to mention a couple other people chiming in... try READING the thread
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
post #18 of 23
Linux doesn't need a primary partition though.

The system needs one, but Linux doesn't.
   
CPUMotherboardGraphicsRAM
Core i5 750 3800MHz EVGA P55-SLI FTW Gigabyte GTX 460 1GB Corsair Dominator 
RAMHard DriveHard DriveHard Drive
Kingston Hyper-X OCZ Vertex 3 WD6401AALS Seagate 7200.10 
Hard DriveCoolingOSOS
WD5000AAKS Noctua NH-D14 Windows 7 Pro x64 [SSD] Xubuntu [WD Black] 
MonitorMonitorKeyboardPower
LG W2442PA-BF Dell Ultrasharp U2312HM Microsoft Sidewinder X4 Corsair HX750W 
CaseMouse
Corsair Graphite 600T Logitech G5 
  hide details  
Reply
   
CPUMotherboardGraphicsRAM
Core i5 750 3800MHz EVGA P55-SLI FTW Gigabyte GTX 460 1GB Corsair Dominator 
RAMHard DriveHard DriveHard Drive
Kingston Hyper-X OCZ Vertex 3 WD6401AALS Seagate 7200.10 
Hard DriveCoolingOSOS
WD5000AAKS Noctua NH-D14 Windows 7 Pro x64 [SSD] Xubuntu [WD Black] 
MonitorMonitorKeyboardPower
LG W2442PA-BF Dell Ultrasharp U2312HM Microsoft Sidewinder X4 Corsair HX750W 
CaseMouse
Corsair Graphite 600T Logitech G5 
  hide details  
Reply
post #19 of 23
Quote:
Originally Posted by nathris View Post
Linux doesn't need a primary partition though.

The system needs one, but Linux doesn't.
well if you dont have grub installed to MBR then you need a primary partition for /boot
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
Kinda meh now...
(13 items)
 
  
CPUMotherboardGraphicsRAM
PhII 940 BE asus M4N82 Deluxe 2x 8800gts(g92) 2x 1g ocz ddr2 1066 
Hard DriveOptical DriveOSMonitor
/dev/sd[abc] /dev/sr0 WinXP/Linux 22in acer 
PowerCaseMouseMouse Pad
950w rosewill timebomb Antec 900 (2small) Voodoo Deathadder (RED!) X-Trac Pads Ripper XL 
  hide details  
Reply
post #20 of 23
Quote:
Originally Posted by nathris View Post
Linux doesn't need a primary partition though.

The system needs one, but Linux doesn't.
True, but kinda moot....
 
Black 'n' blue II
(13 items)
 
 
CPUMotherboardGraphicsOptical Drive
Intel Core i5-2515E Acer Aspire 5755G NVIDIA GeForce GT630M  DVD/CD 
OSOSMonitorCase
Linux Mint 14 x64 (Cinnamon) Windows 7 Home Premium 15.6 LED screen Acer Aspire 5755G 
Audio
Intel HD Audio 
CPUMotherboardGraphicsRAM
Core i7 860 @ 1.25V MSI P55-GD65 Xpertvision Radeon HD4850 4GB G.Skill Ripjaw 
Hard DriveOptical DriveOSMonitor
150Gb Velociraptor & 1Tb WD Caviar Black Opticon Lightscribe DVD-RW DL Vista Home Premium x64 Hyundai BlueH H224W 22" LCD 
KeyboardPowerCaseMouse
Saitek Eclipse II Thermaltake Purepower RX 550 Galaxy III Logitech MX518 
  hide details  
Reply
 
Black 'n' blue II
(13 items)
 
 
CPUMotherboardGraphicsOptical Drive
Intel Core i5-2515E Acer Aspire 5755G NVIDIA GeForce GT630M  DVD/CD 
OSOSMonitorCase
Linux Mint 14 x64 (Cinnamon) Windows 7 Home Premium 15.6 LED screen Acer Aspire 5755G 
Audio
Intel HD Audio 
CPUMotherboardGraphicsRAM
Core i7 860 @ 1.25V MSI P55-GD65 Xpertvision Radeon HD4850 4GB G.Skill Ripjaw 
Hard DriveOptical DriveOSMonitor
150Gb Velociraptor & 1Tb WD Caviar Black Opticon Lightscribe DVD-RW DL Vista Home Premium x64 Hyundai BlueH H224W 22" LCD 
KeyboardPowerCaseMouse
Saitek Eclipse II Thermaltake Purepower RX 550 Galaxy III Logitech MX518 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › More than 4 primary partitions?