Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hey guys, new here. I need help with adding a HD to my Linux box. Its running Fedora 19, on an 80GB SATA HD. I have a 750 that I have installed and just need to be able to use it. Working on setting up Samba to use it as a file repository. Just need a little refresher on partitioning, setting up the fs and fstab. Thanks! Help with Samba would be good too...
Are you planning on having just a single partition?
Do you want to move existing data from the 80 Gb drive to the new drive?
Would it be useful if you were able to further expand the system with another drive later on, or perhaps replace the 750 Gb drive with an even larger one? Or is this all the storage space you're likely to need on this system?
Yeah, just a single massive partition for the purpose of holding files. I like to have my bootable HDs on smaller disks where i keep nothing but installer files. That way in the event of an OS crash, i will most likely not lose my data. I use the big HDs for data; files, music, torrents, etc...
Moving the FS from the 80GB is not wanted. This is perhaps the most I will need on this system at this time. I have some spare SATA ports free still, not to mention USBs for externals, and all PCI card slots are still empty as well, if needed i could throw a SATA expansion card into it, but that is FAR down the road.
Most of my data now is on a Windows XP PC on its 1TB drive
Then I would recommend creating a single partition on the new drive and use LVM. You don't lose any capacity by using LVM, and gain a lot of flexibility for a very minor increase in complexity.
(Actually, what I would really recommend is to use RAID for file storage, but that's another matter.)
You can create the partition with fdisk, cfdisk, parted, gdisk or any partitioning tool you're comfortable with. Disks smaller than 2 Tb can use the MBR partitioning scheme or GPT, it really doesn't matter.
If your new drive is /dev/sdb, your new partition will be /dev/sdb1. The MBR partition type should be set to 8e for LVM.
A little. Logical Volume Manager. Allows for flexible partitions. But thats it.
Right now I am showing sda1-4 and sdb1-2. I need to wipe sdb and turn it into one partitioned drive.
I was planning on using parted, Im a bit out of practice when it comes to Linux, so from what Ive read its going to be the most useful for making the large partition that I want. As for choosing the format I am not sure what to use.
The Master Boot Record contains two things: The bootloader and the partition table. You don't need the bootloader if you're not booting from the drive, but you still need a partition table.
You could use a GUID Partition Table (GPT) instead. MBR can only handle drives up to 2 Gb in size, so for larger drives GPT is necessary. The Linux kernel understands both MBR and GPT (and a few additional formats as well).
I think I got it. I wiped the partitions on SDB with fdisk -d and created a new one. Made an ext4 fs with mkfs created the dir I wanted added it to fstab and mounted it. It shows 658GB free on the properties.
Drive manufacturers report capacity using base-10 (750 Gb = 750.000 Mb = 750.000.000 kb = 750.000.000.000 bytes), while most OSes use base-2 math for disk capacity (1 kb = 2^10 bytes, 1 Mb = 2^10 kbytes and so on), like everybody does with memory (RAM).
Are you sure you don't want to use LVM? It's reeeeeally neat...