http://underpop.online.fr/n/nielshorn/2009/05/on-partitioning-your-hard-drive/ Random thoughts, tips & tricks about Slackware-Linux, Lego and Star Wars Tue, 16 Apr 2013 23:35:17 -0300 http://wordpress.org/?v=2.8.4 hourly 1 http://underpop.online.fr/n/nielshorn/2009/05/on-partitioning-your-hard-drive/comment-page-1/#comment-43 Emilia e Henrique Wed, 30 Dec 2009 16:37:57 +0000 http://underpop.online.fr/n/nielshorn/blog/?p=44#comment-43 That's just what I needed. Thank you very much, Holson. That's just what I needed. Thank you very much, Holson.

]]> http://underpop.online.fr/n/nielshorn/2009/05/on-partitioning-your-hard-drive/comment-page-1/#comment-42 niels.horn Wed, 30 Dec 2009 12:58:20 +0000 http://underpop.online.fr/n/nielshorn/blog/?p=44#comment-42 First question you can ask yourself: What will I do with 2TB of space :) For instance, imagine that you want a media-server, with lots of movies that everyone on the network can watch. You'll probably need a folder like /srv/data/movies.<br />You can then create a partition on /sda for /srv/data<br />This is just an example... It ll depends on your needs! First question you can ask yourself: What will I do with 2TB of space :) For instance, imagine that you want a media-server, with lots of movies that everyone on the network can watch. You'll probably need a folder like /srv/data/movies.
You can then create a partition on /sda for /srv/data
This is just an example… It ll depends on your needs!

]]> http://underpop.online.fr/n/nielshorn/2009/05/on-partitioning-your-hard-drive/comment-page-1/#comment-41 Emilia e Henrique Wed, 30 Dec 2009 11:05:35 +0000 http://underpop.online.fr/n/nielshorn/blog/?p=44#comment-41 Holson, do you have any idea on how to better make use of my 2 HDs besides using LVM? I have 2 hds, /sda and /sdb running Slack13-64 exclusively. I have partitioned sda with /swap and /root, and sdb with /home. That gave me an almost empty /sda. What could I do? Tks. Holson, do you have any idea on how to better make use of my 2 HDs besides using LVM? I have 2 hds, /sda and /sdb running Slack13-64 exclusively. I have partitioned sda with /swap and /root, and sdb with /home. That gave me an almost empty /sda. What could I do? Tks.

]]> http://underpop.online.fr/n/nielshorn/2009/05/on-partitioning-your-hard-drive/comment-page-1/#comment-25 holson Thu, 02 Jul 2009 11:00:17 +0000 http://underpop.online.fr/n/nielshorn/blog/?p=44#comment-25 I use LVM myself, and might write about it in a future post. But for this introduction on partitioning a hard drive I decided to leave it out for simplicity.<br />It is a great way to expand partitions without too much trouble etc. I use LVM myself, and might write about it in a future post. But for this introduction on partitioning a hard drive I decided to leave it out for simplicity.
It is a great way to expand partitions without too much trouble etc.

]]> http://underpop.online.fr/n/nielshorn/2009/05/on-partitioning-your-hard-drive/comment-page-1/#comment-24 Pssst Thu, 02 Jul 2009 05:28:35 +0000 http://underpop.online.fr/n/nielshorn/blog/?p=44#comment-24 I never have a Microsoft OS on any of my machines!<br /><br />You need to include "LVM" which allows the "logical volumes" to be extended or reduced and they can span drives/partitions without a mount point. I even use it on a single drive laptop. When I upgrade the drive I first attach the new drive as a usb/firewire device and copy the master boot sector from the internal to the new drive and then repartition the external to create the boot, swap (so I can use it for suspend/hibernate) and a LVM partition. I have to copy the boot sector from the old to new drive. I then add the new drive to the Physical Group. I then use the LVM tools to "remove" old drive (which can be a while with a 500G in a laptop) as it moves the "logical volumes" from the old to the new drive. At this point, I can power off and move the new drive into the laptop and power on.<br /><br />Note if you forgot to copy the boot sector, your new drive will not be bootable and you will need a liveCD/DVD (or bootable flash see google "unetbootin" if you do not know how easy it is to put a liveCD onto a flash memory device). To install grub again. It is easier to use the "dd" command to copy the master boot sector, fdisk (remove existing partitions and then create the needed partitions). I never have a Microsoft OS on any of my machines!

You need to include "LVM" which allows the "logical volumes" to be extended or reduced and they can span drives/partitions without a mount point. I even use it on a single drive laptop. When I upgrade the drive I first attach the new drive as a usb/firewire device and copy the master boot sector from the internal to the new drive and then repartition the external to create the boot, swap (so I can use it for suspend/hibernate) and a LVM partition. I have to copy the boot sector from the old to new drive. I then add the new drive to the Physical Group. I then use the LVM tools to "remove" old drive (which can be a while with a 500G in a laptop) as it moves the "logical volumes" from the old to the new drive. At this point, I can power off and move the new drive into the laptop and power on.

Note if you forgot to copy the boot sector, your new drive will not be bootable and you will need a liveCD/DVD (or bootable flash see google "unetbootin" if you do not know how easy it is to put a liveCD onto a flash memory device). To install grub again. It is easier to use the "dd" command to copy the master boot sector, fdisk (remove existing partitions and then create the needed partitions).

]]>