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.
Hi , I had a triple boot of vista, ubuntu, kubuntu installed on my system , but due to some messing up I ended up with deleting my ubuntu partition , then I used testdisk from kubuntu to recover the lost partition , but somehow I have lost my entire window vista partition and my kubuntu partition also.
My earlier partitions were in the order
1 Dell Utility
2 Windows vista
a) I (NTFS)
b) J (NTFS)
c) ubuntu 9.10
d) kubuntu 9.10
but now I am left with only I (NTFS) . I really need to recover my lost ubuntu partition as I had some important data stored in it.
You might make a cloned copy of what you have left after your first recovery attempt. You can use the command "dd" , often mentioned and documented here on LQ, or Clonezilla. Cloning gives you a chance to try a recovery more than once, perhaps gaining useful information and elimination possibilities with each try.
You need to post more details about what you tried if you hope for a qualified response to your problem.
You mentioned nothing about a backup copy of your files; next time perhaps?
Well, by mistake I deleted my Ubuntu partition and then or rebooting the system and selecting ubuntu it gave an error "device not found" quite justified. So in order to recover this lost partition I used testdisk in kubuntu , and found out my lost partition using deeper search...but then after completing testdisk when I rebooted the system ...there was no grub and the grub rescue command prompt was shown ..it was then I found out that Boot of C drive of windows vista was also lost along with kubuntu.I have not written anything to disk understanding the gravity of the problem .
Here is the output of sudo gpart /dev/sda using a live cd
Possible partition(DOS FAT), size(188mb), offset(0mb)
Possible partition(DOS FAT), size(32773mb), offset(188mb)
Possible extended partition at offset(222305mb)
Possible partition(Linux swap), size(2055mb), offset(222305mb)
Possible partition(Linux ext2), size(22889mb), offset(224360mb)
Possible extended partition at offset(247250mb)
Possible partition(Linux swap), size(2674mb), offset(247250mb)
* Warning: more than one extended partition: 2.
Partition(Primary 'big' DOS (> 32MB)): primary
Partition(DOS or Windows 95 with 32 bit FAT, LBA): primary
Partition(Linux swap or Solaris/x86): logical
Partition(Linux ext2 filesystem): orphaned logical
Partition(Linux swap or Solaris/x86): invalid
* Warning: partition(Extended DOS, LBA) ends beyond disk end.
Number of inconsistencies found: 1.
After running testdisk I have my entire hd lost.
This is the output of fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x90000000
Device Boot Start End Blocks Id System
/dev/sda1 * 1 24 192748+ 6 FAT16
/dev/sda2 25 4202 33559785 c W95 FAT32 (LBA)
/dev/sda3 9759 22596 103110656 7 HPFS/NTFS
/dev/sda4 22596 38914 131078839+ f W95 Ext'd (LBA)
/dev/sda5 22596 28340 46134268 7 HPFS/NTFS
/dev/sda6 28341 28602 2104472 82 Linux swap / Solaris
/dev/sda7 28603 31520 23438800 83 Linux
/dev/sda8 31521 31861 2739040 82 Linux swap / Solaris
Now whenever I run parted and print anything it says
Can't have a partition outside the disk!
This is becuase for /dev/sda4 it shows end as 38914 while I have only 38913 sectors .So anybody please help me to fix this usnig fdisk, cause I am really nervous this time...