Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Partitions for Linux  (Read 5173 times)

tonyappuk

  • Reg Member
  • ***
  • Posts: 589
Partitions for Linux
« on: October 31, 2008, 01:47:21 AM »

I have a quick question for the Linux experts. Previously when I've installed different Linix distros it's been to spare space on different physical drives. This has happened purely by chance and according to where space was available at the time and each distro has had its own main partition and a smaller swap partition. I have just obtained another 160 Gb drive and I intend to install a few different distros on it to try as alternatives my Mint and Debian ones. I was concerned originally that if I partitioned the new drive with too many partitions it would confuse XP if I went beyond drive Z (!) but then I realised windows wouldn't see the Linux partitions. Panic over. Before I realised this and thinking I had to reduce the number of partitions I wondered if several distros can use the same swap partition? I think I have read that this is possible but the option has never been available to me until now. It would certainly save lots of partitioning activity with my new drive which although not hard may confuse my remaining brain cells!
Tony
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43593
  • Penguins CAN fly
    • DSLstats
Re: Partitions for Linux
« Reply #1 on: October 31, 2008, 07:11:25 AM »

Yes, you only need one swap partition on the disk. All the installed distros can share it. If you're going to have multiple partitions, remember that you can only have 4 primary partitions, so create one extended partition covering most or all of the disk and have multiple logical partitions in it. Linux is happy to be installed in either primary or logical partitions.
Logged
  Eric

tonyappuk

  • Reg Member
  • ***
  • Posts: 589
Re: Partitions for Linux
« Reply #2 on: October 31, 2008, 10:37:35 AM »

Thanks Eric. I was aware of the primary partition limitation but it's good to be reminded.
Tony
Logged

tickmike

  • Kitizen
  • ****
  • Posts: 3640
  • Yes Another Penguin !. :)
Re: Partitions for Linux
« Reply #3 on: October 31, 2008, 08:53:53 PM »

Yes one Swap and use a separate Home for each distro (it gets a bit messy with only one !).
You may find that you will have to re-configure the Menu.list and the fstab
You could try them as a live CD and not install them.
Logged
I have a set of 6 fixed IP's From  Eclipse  isp.BT ADSL2(G992.3) line>HG612 as a Modem, Bridge, WAN Not Bound to LAN1 or 2 + Also have FTTP (G.984) No One isp Fixed IP >Dual WAN pfSense (Hardware Firewall and routing).> Two WAN's, Ethernet LAN, DMZ LAN, Zyxel GS1100-24 Switch.

tonyappuk

  • Reg Member
  • ***
  • Posts: 589
Re: Partitions for Linux
« Reply #4 on: November 01, 2008, 02:10:59 PM »

Since I don't at present use Linux for my main operating system (too wedded to Windows I'm afraid. (Sorry Eric) every Linux installation I've tried has just used a Home directory, not a Home partition which I think is the recommended arrangement. If I do want to keep anything found whilst I'm using Linux I save it to one of my Windows Folders/Partitions. That's why it's all FAT 32. I know Linux now saves to NTFS but it didn't reliably when I first started to play with Linux. But thanks for your comments Mike. I appreciate the need to edit menu.lst and possibly fstab.
Tony
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43593
  • Penguins CAN fly
    • DSLstats
Re: Partitions for Linux
« Reply #5 on: November 01, 2008, 02:16:12 PM »

There's nothing really wrong about leaving /home as a directory in the main Linux partition, but if you make it a separate partition, it can make later upgrading a bit easier. And you can share the /home partition between different distros, so long as you don't employ the same user names.
Logged
  Eric

tonyappuk

  • Reg Member
  • ***
  • Posts: 589
Re: Partitions for Linux
« Reply #6 on: January 05, 2009, 01:13:46 AM »

I have just come a big cropper trying to install Mint 6 Linux to my lovely new 160Gb SATA drive. The problem is apparently known about but I don't know how well known it is. The problem seems to be because Grub, the BIOS and even QParted (Partitioning program) labell the discs differently making the location you want to install to and the operating systems that Grub points to for booting almost impossible to identify correctly. This only occurs with a mix of IDE and SATA drives which is inevitably becoming more common these days. I thought other Forum members with Linux leanings might appreciate the update or maybe the reminder.
Tony
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 43593
  • Penguins CAN fly
    • DSLstats
Re: Partitions for Linux
« Reply #7 on: January 05, 2009, 06:59:53 AM »

Mint is derived from Ubuntu, and the Ubuntu developers messed up big time with this one. It's not a problem which affects all Linux distros.
Logged
  Eric

tonyappuk

  • Reg Member
  • ***
  • Posts: 589
Re: Partitions for Linux
« Reply #8 on: January 05, 2009, 11:24:48 AM »

Thanks for the interesting response, Eric. The problem doesn't affect Debian then?
Tony
Logged
 

anything