Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
This is strange for a while I didn't think my harddrive was working. Recently though I pluged the broken hd back in and noticed that the bios recognized 200-oddgb HD so I booted a liveCD and ran cat /dev/hda. My data is clearly there but there's no partition table or any way to actually read the harddrive.
Like I can cat for things I know are on the hd and it finds it.
I can also look at it and I see grub close to the begining, reiserfs, and even entire text files like bash scrips I've written. I also saw a file that I'm pretty sure I deleated but I guess that makes sense because deleated files aren't actually explicitely removed.
I know there are plenty of other threads about recovering data but this seems like I could almost create a reiserfs and two ext2 partitions and everything would be there (the other two were actually ext3).
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Well the first partition should start at sector zero, so try that as your starting point. Choose the ending point of your hard drive (24792) for the first partition. Choose the end of the first partition plus one for the next partition and so on.
Was this hard drive in the system when you installed linux? Is it the main drive with the system on it? When you install Linux, often an MBR backup is stored in /boot. If you backed up the /boot directory in the past, and this is the drive that the system booted from when you installed, you can use dd to restore the backup_mbr file to the first block of the drive.
If you saved a backup of the fdisk -l listing, you could use that info to recreate the partition table.
Sorry, I was slow typing and didn't see that you had the situation resolved. When you get it going again, be sure to run fdisk -l and print it out. This could help in the future.