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.
Stuff happens. It just happens just so that this time I accidently mistaked my backup partition for another partition.
The partition was in the beginning of the drive and was formated to ReiserFS. How can I recover it? Surely its possible and perhaps simple??
If it was a Windows partition then I would be sweating right now. I had some important documents on there and would strongly prefer not to lose them. However I have faith in the Linux community and I hope that they something up their sleeves for dumb mistakes like mine.
Nothing to do with it.
Deleting a partition (using normal means) is merely deleting the partition table entry. This only defines the start and extent (sector count) of the partition.
No data is touched, and the filesystem is irrelevant. Yes, ignore the comment above - we are not talking filesystem recovery here, merely part table entries.
Or if you are sure of your sizing, just add a new partition of the same size from fdisk. Works fine.
One last thing: If the new partition is roughly maybe one or two megs off or say a few bytes off it shouldn't matter?? It should have any extra since its in the beginning and the second partition is still there.
Also if I add a new partition through fdisk how do I define the partition type??
I know that there are tools which can search a disk to look for partitions... the contents of various types of filesystem labels are fairly well known.
It's a good idea .. a little late to mention it now, perhaps .. to print the partition-table of a disk to a file, and store it in the root directory of the first partition of that disk. (And in a nice filing-cabinet...)