Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
In the /dev/sda# scheme, is there a number that refers to the extended partition alone (and not a particular logical partition)? So would /dev/sda5 refer to the extended partition and /dev/sda6 to the first logical partition?
If I do dd if=/dev/sda7, where sda7 is some extended partition, does it copy the EBR in addition the partition itself? Or do I have to subtract some offset from sda7 to get the EBR?
I have a 230 GB and a 500 GB drive. I would like the beginning of the large drive to match the small drive, and the rest exist as logical partitions. If I set up my partitions on the 500 GB drive, and copy it using dd to the 230 GB drive, what will become of the logical partitions that can't be copied? I assume the last logical partition on the small drive will have an EBR that points off the drive... will this be a problem?
Would I be better off setting up everything on the 230 GB, copying to the 500 GB, and then creating logical partitions in the remaining space?
My goal is to be able to use the 500 GB to recover the 230 GB (+ some extra storage). I want to be able to recover a single partition, the entire disk, or even boot from the 500 GB if necessary.
(The 230 is an internal drive, the 500 is an external USB drive - it's actually two 500 gb in RAID)
But what happens if I need to restore everything and copy the first few partitions from the 500 GB back to the 230 GB? Do I need to use a partition editor to make sure the EBR on the last partition doesn't point to another logical partition off the disk? Will this pointer just be ignored, does it depend on what software is actually looking at it?
I typically use gparted, is there a way to edit partition information, both primary and extended, without actually modifying the partitions?