[hllug] Re: Up the creek

  • From: hc@xxxxxxxxxxx
  • To: hllug@xxxxxxxxxxxxx
  • Date: Fri, 28 Dec 2012 05:34:52 -0600 (CST)

Sorry Lee I got the partitions mixed
here is the command
herb@herb-elfa:~$ sudo fsck -fn /dev/sda8
[sudo] password for herb: 
fsck from util-linux-ng 2.17.2
e2fsck 1.41.14 (22-Dec-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda8: 302011/8601600 files (0.3% non-contiguous), 4463838/34381824 blocks
herb@herb-elfa:~$ 
herb@herb-elfa:~$ sudo mount -t ext4 /dev/sda8 /mnt/tmp
herb@herb-elfa:~$ ls -l /home/herb
total 156
-rw-r--r--  1 herb herb    82 2012-07-12 14:55 =
drwxr-xr-x  2 herb herb  4096 2012-09-16 15:38 120916Abox1104
-rw-rw-r--  1 herb herb 12922 2011-02-13 00:53 a670.jpg
-rw-r--r--  1 herb herb  7994 2012-08-03 14:11 apache2.conf
drwxr-xr-x  2 herb herb  4096 2012-06-17 16:08 Audiobooks
-rw-r--r--  1 herb herb 18965 2012-09-23 10:41 DayNotes120822.txt
drwxr-xr-x  2 herb herb  4096 2012-09-13 07:22 Desktop
drwxr-xr-x  2 herb herb  4096 2012-09-12 17:17 Docs
drwxr-xr-x  3 herb herb  4096 2012-09-21 12:29 Documents
drwxr-xr-x  3 herb herb  4096 2012-09-21 14:18 Downloads
drwxr-xr-x  2 herb herb  4096 2012-08-30 21:22 dwhelper
drwxr-xr-x 20 root root  4096 2012-08-28 23:41 gnash
-rw-r--r--  1 herb herb 24248 2012-08-17 19:32 LsComands.txt
-rw-r--r--  1 herb herb  1027 2012-09-24 17:47 MintNotes1209
drwxr-xr-x  6 herb herb  4096 2012-09-22 20:11 Music
-rw-r--r--  1 herb herb  1741 2012-09-12 00:19 ~OilNotes2012.txt
drwxr-xr-x  5 herb herb  4096 2012-09-10 20:04 Pictures
drwxr-xr-x  2 herb herb  4096 2012-06-17 16:08 Podcasts
-rw-r--r--  1 herb herb  9749 2012-12-27 07:38 ~Stuff.txt
drwxr-xr-x  4 herb herb  4096 2012-09-16 15:38 Temp
drwxr-xr-x  2 herb herb  4096 2012-09-21 14:18 Temp2
drwxrwxr-x  2 herb herb  4096 2012-06-14 20:46 Ubuntu One
drw-r--r--  6 herb herb  4096 2012-12-26 22:57 Videos
drwxr-xr-x  6 herb herb  4096 2012-09-11 20:02 wordpress
herb@herb-elfa:~$
Hmmmm so the files are there now what?
 

thanksLee
hh
 
On Thursday, December 27, 2012 09:17, "Lee Parmeter" <geek@xxxxxxxxxxxxxx> said:



Herb:

 boot from other partition or a live CD and then mount the problem       
partition that contains your home directory.

 You can use "fdisk -l" to see other mountable partitions after you       are 
booted in Linux.

 Before you mount the partition, check it using -n (no fix) with:       
(replace ?? with your drive's notation, ie sdb5)

 fsck -fn /dev/sd??

 If problem reported:

 Either use this to fix: (with your ack at every step)

 fsck -fv /dev/sd??

 Or use this to fix automatically:

 fsck -fpv /dev/sd??

 To mount:

 1. create tmp directory under /mnt on your running Linux

 sudo mkdir /mnt/tmp

 2. determine file system type (ext3, ext4) of the partition you       want to 
mount.

 parted -l

 3. mount the partition

 mount -t ext3 /dev/sd?? /mnt/tmp

 4. Now you can run "ls -l /home/herb"

 -Lee



 On 12/27/2012 08:13 AM, [mailto:hc@xxxxxxxxxxx] hc@xxxxxxxxxxx wrote:
sorry I cannot boot into that           partition so I do not know how to run 
ls on it?? I can only           boot into a diff partition on same drive, 
please tell me how
hh
 
 
On Thursday, December 27, 2012           08:08, "admin" 
[mailto:admin@xxxxxxxxx] <admin@xxxxxxxxx> said:



What does "ls -l /home/herb" show?

Sent from my               Samsung Galaxy™ S II 4G
[mailto:hc@xxxxxxxxxxx] hc@xxxxxxxxxxx wrote:

Well I               yayed 2 soon. .. I cannot boot because it says it cannot   
            find a /home/herb folder well running in the other pat I            
   can see the sda8 part with /home & /herb there but               when I 
attempt to open it with filemanager it says it is               not a folder?
 
I               looked in property’s>permissions it says permissions            
   cannot be determined but gives this as location ..               
/media/a724d786-cc12-4d7a-8c67-e75cadfbb9cc/home/herb
 
I hope               there is a way to fix this without losing all the files in 
              there I am backed up except for maybe past week so won't          
     kill me
thanks               hh
 

Other related posts: