I had dual boot in my hard disk, but one day my system hanged and when i tried to restart it,i ran into grub recovery mode, then later i tried again but i was not able to view any sector list in my harddisk by using the ls command in grub recovery terminal, so i took the hard disk out and by using SATA to USB adapter connected it to my other system, Using gparted when i tried to look in my 1TB partitions, It just kept on loading(Image attached). Even in the file explorer i can see 2-3 new folders but on getting inside them it keeps on loading. I am not able to test any disk checking/recovery option because on using those softwares with hdd it just keeps on loading finding the disk, what should i do ??
What steps can I take to try to recover lost or inaccessible data from any storage device?  Answers:   This applies to any computer storage device, e.g. internal/external hard drives, USB sticks, flash memory. The most important thing is to STOP using it, any type of I/O can ruin your chances of a recovery.     We have separate questions covering common problems with USB flash drives in greater detail:
Automorphism group of direct product of groups I was working on a problem in group theory, which asks about the automorphism group of a direct product of groups.  Okay, so I know that if $G,H$ are two groups whose orders are relatively prime, then $\operatorname{Aut}(G\times H)\cong\operatorname{Aut}(G)\times \operatorname{Aut}(H)$.  I also know that if $G,H$ are abelian and simple and isomorphic, then $\operatorname{Aut}(G\times H)\cong \operatorname{GL}_2(\mathbf{Z}_p)$ where $p$ is the order of $G$.  What I don't know is the following: what if $G,H$ are simple, yet not abelian? Let us for now focus on a more restricted case where $G\cong H$, in particular, $G=H$. What can we say about the group $\operatorname{Aut}(G\times H)$? (I heard something about this group being related to what is called "wreath product", which I do not know...)  Thanks bunch in advance! Subset data frame based on number of rows per group How do I print all lines of a file with duplicate values in a certain column Exit from both root and user with one command I know about "not using sudo su -" etc. But let's be honest, almost all of us do it.   So, here is the issue. We can't have root logins enabled, so we have to ssh in as our user then su to root.  Here is the process tree:       1  7897  7826  7826 ?           -1 S     1000   0:00 sshd: josh@pts/0  7897  7898  7898  7898 pts/0     8182 Ss    1000   0:00  \_ -bash  7898  7990  7990  7898 pts/0     8182 S        0   0:00      \_ sudo su -  7990  7991  7990  7898 pts/0     8182 S        0   0:00          \_ su -  7991  7992  7992  7898 pts/0     8182 S        0   0:00              \_  -su  7992  8182  8182  7898 pts/0     8182 R+       0   0:00                  \_ ps axjf   I would like to exit from root, then from my user with one command. Is there a way to do this?  BTW exit &amp;&amp; exit does not work because it exits the shell and doesnt process the rest of the command  josh@ubuntu:~$ sudo su - root@ubuntu:~# exit &amp;&amp; exit logout josh@ubuntu:~$ Would it be possible for some to bend two elements? After reading this question  While it seems that it would break one of the rules of the show, that only the avatar can master all four elements. There would also be good reasons as to why someone couldn't learn all four, there is always the opposing element that is hardest for the Avatar to learn. I don't see any reason why someone couldn't learn to bend two elements (not master, but just bend since Thadeus's Answer  to the previous question is apparently the Definitive Answer on the subject.)    Many benders do learn to bend beyond their element such as Toph becoming a metal bender and Katarra bending blood. Now metal is considered part of the Earth but so is sand and it seems that sand is moved more like water. Iroh was able to adapt a water bender technique to fire bending which means it is possible to learn and use different bending styles. Also Iroh spent time connecting to the spirit world and that seems to be the main reason the Avatar is able to bend all 4 elements. So if someone was connected to the spirit world or even their past life that would fulfill that requirement.   Would it be possible to bend two elements?  There do seem to be times where it has been done in the series such as bending mud which is both Earth and Water. And there would definitely be limits such as a Earth bender couldn't bend Air and a Water bender couldn't bend Fire. But why couldn't a Fire Bender learn to bend Air. They both use breath control as a main focus of their bending. It also states on the Energybending wiki entry that all bending used to be done as an inner bending but that it became element bending.   So with new bending techniques being formed all the time, already stated used of combined elements being used, an assumed spiritual connection to a past life or a spiritual journey been taken, energybending rediscovered is it possible that two elements could be bent by one bender who is not the Avatar? , but how can I add or edit a URL (or URI) in the history? Sum of $k$-th powers Does a run scored on a tag out on a forced runner? The situation:   Runners at third and first, ball is hit to the second basemen, 2nd basemen goes to tag the runner out. Runner stops, runner on third scores and then 2nd basement tags the runner, does not step on base.Does the run count? Is there an ideal PWM frequency for DC brush motors? There's something wrong with the vertical alignment on the :   (click to enlarge)  On the , which uses a similar list but without the Favorite column, the vertical alignment is correct.  (Tested in the latest Firefox, Safari and Chrome on macOS Catalina.) Why is it considered good practice to mark method parameters as final? Taylor's polynomial uniqueness proof - why are these limits inferable? So I'm viewing a short proof on the uniqueness of Taylor polynomials.     Uniqueness of Taylor polynomial:   Let $f:]a,b,[ \rightarrow \mathbb{R}$ $n$ times continuously   differentiable and $x_0 \in ]a,b,[$. If $p$ is $n$th degree polynomial   function for which       $$f(x)-p(x)=o(|x-x_0|^n), \space \text{when} \space x \rightarrow x_0$$  then      $$p(x)=T_{n, x_0} f(x)$$   Proof starts like:  $$\frac{p(x)-T_{n, x_0}f(x)}{(x-x_0)^n} = \frac{p(x)-f(x)}{(x-x_0)^n}+\frac{f(x)-T_{n, x_0}f(x)}{(x-x_0)^n}$$  then   $$\frac{p(x)-f(x)}{(x-x_0)^n} \rightarrow 0 \space, when \space x-x_0 \rightarrow 0$$  $$\frac{f(x)-T_{n, x_0}f(x)}{(x-x_0)^n} \rightarrow 0 \space, when \space x-x_0 \rightarrow 0$$  Now my problem is, how can one actually say that the above approach $0$ if the denominator approaches $0$? C programming: How to program for Unicode? What prerequisites are needed to do strict Unicode programming?  Does this imply that my code should not use char types anywhere and that functions need to be used that can deal with wint_t and wchar_t?  And what is the role played by multibyte character sequences in this scenario? How can I explain why DRM cannot work? I am looking for the shortest comprehensive way to explain to people that are trying to use DRM as a technology to prevent users from using their data in some fashion deemed undesirable, why their solution cannot work by definition.  Ideally I'd like something that:   Covers why technically it is impossible to have people access local data, but only in such-and-such a way Imparts an understanding of why this is, to avoid follow-on "But what if" rebuttals Is intuitive enough and short enough that even a politician (j/k) could grasp it   When faced with this situation I try to be clear and concise, but I usually end up failing at least on one of these points. I'd really like to have a 'stock' answer that I can use in the future. Let $R$ be a commutative ring with identity, and $S$ a multiplicative subset of $R$ not containing $0$. Which step in my reasoning is wrong?   Every element of $S$ is a unit in $S^{-1}R$. Every element of $S$ that's a zero divisor in $R$ is a zero divisor in $S^{-1}R$. But zero divisors can't be units. Therefore it's not possible to localize $R$ at $S$. I'd like to install both Ubuntu 12.04 and Windows XP on a Dell laptop, and I was thinking about using a dual boot structure, and using the bulk of my hard drive as empty hard drive space to share files between the two operating systems (so choice of file system type is very important in this set-up).     The kind of partitioning structure I would like to use is  Partition 1 - Ubuntu 12.04 (root) (20GB)  Partition 2 - Ubuntu /home        (20GB)  Partition 3 : Free Space          (560GB)  Partition 4 : Windows XP          (35GB)  Partition 5 : SWAP                (3GB)  (Total Hardrive Capacity is ~640GB)    My question is; what is the best way to go about setting up this kind this system?   Should I install Windows XP first and setup the partitions, and then install Ubuntu which I believe will install the GRUB bootloader for OS booting choice   or   Do I install Ubuntu first, setting up the available partitions and then perform a WIndows install?  Please let me know if there is anything in this setup that I have left out and should know about, including things related to setting particular partitions as logical or primary, and whether the boot partition and the filesystem partition should actually be two separate partitions. Generate dynamic XY coordinate labels for dataframe corners in ArcGIS layout I need to label the four corners of a dataframe as shown in the image. Can this be done with dynamic text scripts? 2 different bibliographies I'm writing my thesis and I would like to make 2 "bibliography" references: The first one would be for the publications I'm in and the second one for external references. I've made one *.bib file right now and it's working but I have no idea how I should work with 2 *.bib files.  Any suggestion will be appreciated. Can't unhide grayed out objects After some searching on stack / google I decided to ask this here, this is the second time I'm facing this issue this time with blender 2.8, previously with 2.7 and without a clue to how I got here.  Some of my objects appear hidden(10/12), and I can't seem to find a way to unhide them.  Solutions to the most common rookie mistakes seems to be   In local-view solved by pressing numpad / hidden by pressing H or Shift + H, unhiding with Alt + H   I'm not in local view, I can toggle visibility for 2/12 objects with Shift + H &amp; Alt + H, but the rest stays gray in the collection.  Last time I solved this by exporting the whole model as STL and importing it back again, I then had to re-group all the pieces but there must be a more simple solution.  Here's the .blend if someone wants to have a go at it: setSystemUiVisibility(SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION) does not work