PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 07:12:17 AM


Login with username, password and session length


Pages: [1] 2   Go Down
  Print  
Author Topic: I cannot mount external USB 500GB-ext4 disk  (Read 1436 times)
diamond_gr
Jr. Member
**
Offline Offline

Posts: 44



WWW
« on: December 21, 2010, 03:11:53 PM »

Hello,

I search the net but didn't found the solution.
I have an external USB disk. The filesystem is ext4. I used it with openSUSE.
Now I try to mount it with PCLinuxOS and it cannot automount.

lsusb returns:
Code:
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

and fdisk -l

Code:
Disk /dev/sda: 41.1 GB, 41110142976 bytes                                                                                                  
255 heads, 63 sectors/track, 4998 cylinders, total 80293248 sectors                                                                        
Units = sectors of 1 * 512 = 512 bytes                                                                                                      
Sector size (logical/physical): 512 bytes / 512 bytes                                                                                      
I/O size (minimum/optimal): 512 bytes / 512 bytes                                                                                          
Disk identifier: 0x0006bbef                                                                                                                
                                                                                                                                            
   Device Boot      Start         End      Blocks   Id  System                                                                              
/dev/sda1   *          63    80292869    40146403+  83  Linux                                                                              
                                                                                                                                            
Disk /dev/sdb: 164.7 GB, 164696555520 bytes                                                                                                
255 heads, 63 sectors/track, 20023 cylinders, total 321672960 sectors                                                                      
Units = sectors of 1 * 512 = 512 bytes                                                                                                      
Sector size (logical/physical): 512 bytes / 512 bytes                                                                                      
I/O size (minimum/optimal): 512 bytes / 512 bytes                                                                                          
Disk identifier: 0xfd60fd60                                                                                                                
                                                                                                                                            
   Device Boot      Start         End      Blocks   Id  System                                                                              
/dev/sdb1   *          63    41817194    20908566   83  Linux                                                                              
/dev/sdb2        41817195    45913194     2048000   82  Linux swap / Solaris                                                                
/dev/sdb3        45913195   321669494   137878150   83  Linux                                                                              
                                                                                                                                            
Disk /dev/sdg: 500.1 GB, 500107862016 bytes                                                                                                
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors                                                                      
Units = sectors of 1 * 512 = 512 bytes                                                                                                      
Sector size (logical/physical): 512 bytes / 512 bytes                                                                                      
I/O size (minimum/optimal): 512 bytes / 512 bytes                                                                                          
Disk identifier: 0x00000000                                                                                                                
                                                                                                                                            
Disk /dev/sdg doesn't contain a valid partition table

How do I make it work?
I guess I have to create valid partition table? But what about my data inside?
Logged

PCLOS in Greek
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #1 on: December 21, 2010, 03:25:08 PM »

Hello,

I search the net but didn't found the solution.
I have an external USB disk. The filesystem is ext4. I used it with openSUSE.
Now I try to mount it with PCLinuxOS and it cannot automount.

lsusb returns:
Code:
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

and fdisk -l

Code:
Disk /dev/sda: 41.1 GB, 41110142976 bytes                                                                                                  
255 heads, 63 sectors/track, 4998 cylinders, total 80293248 sectors                                                                        
Units = sectors of 1 * 512 = 512 bytes                                                                                                      
Sector size (logical/physical): 512 bytes / 512 bytes                                                                                      
I/O size (minimum/optimal): 512 bytes / 512 bytes                                                                                          
Disk identifier: 0x0006bbef                                                                                                                
                                                                                                                                            
   Device Boot      Start         End      Blocks   Id  System                                                                              
/dev/sda1   *          63    80292869    40146403+  83  Linux                                                                              
                                                                                                                                            
Disk /dev/sdb: 164.7 GB, 164696555520 bytes                                                                                                
255 heads, 63 sectors/track, 20023 cylinders, total 321672960 sectors                                                                      
Units = sectors of 1 * 512 = 512 bytes                                                                                                      
Sector size (logical/physical): 512 bytes / 512 bytes                                                                                      
I/O size (minimum/optimal): 512 bytes / 512 bytes                                                                                          
Disk identifier: 0xfd60fd60                                                                                                                
                                                                                                                                            
   Device Boot      Start         End      Blocks   Id  System                                                                              
/dev/sdb1   *          63    41817194    20908566   83  Linux                                                                              
/dev/sdb2        41817195    45913194     2048000   82  Linux swap / Solaris                                                                
/dev/sdb3        45913195   321669494   137878150   83  Linux                                                                              
                                                                                                                                            
Disk /dev/sdg: 500.1 GB, 500107862016 bytes                                                                                                
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors                                                                      
Units = sectors of 1 * 512 = 512 bytes                                                                                                      
Sector size (logical/physical): 512 bytes / 512 bytes                                                                                      
I/O size (minimum/optimal): 512 bytes / 512 bytes                                                                                          
Disk identifier: 0x00000000                                                                                                                
                                                                                                                                            
Disk /dev/sdg doesn't contain a valid partition table

How do I make it work?
I guess I have to create valid partition table? But what about my data inside?

How many partitions were on the drive?
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
diamond_gr
Jr. Member
**
Offline Offline

Posts: 44



WWW
« Reply #2 on: December 21, 2010, 03:31:06 PM »

Sorry,

I have 2 internal hdds.

The USB is only 1 partition.
It must be the dev/sdg

I used an openSUSE live cd and it recognized it with my data inside (of course locked).
Logged

PCLOS in Greek
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #3 on: December 21, 2010, 04:13:09 PM »

Sorry,

I have 2 internal hdds.

The USB is only 1 partition.
It must be the dev/sdg

I used an openSUSE live cd and it recognized it with my data inside (of course locked).

As it's the only 500 GB drive seen, /dev/sdg would be it. If there is no partition table to read, you need to create one. If the newly created partition starts where the old one started, and ends at the end of the drive, all the data on the drive should be safe.

Try the testdisk application, to see if it can recover the original boundaries of the partition. The start of the partition should be sector 63, if the drive is not one of the new 4 KB sector drives, or sector 64, if it is. The end should be the last sector of the drive. The testdisk application should be able to find a single partition with relative ease, and rewrite the partition table at your command.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
diamond_gr
Jr. Member
**
Offline Offline

Posts: 44



WWW
« Reply #4 on: December 21, 2010, 04:50:21 PM »

Don't get it.
testdisk analyzed my disk but didn't find anything there.
How do I work this program? I find it first time here.
The partition I crated is pretty old (maybe year or more). The disk is almost full (I think only free 400MB). I had in mind to erase and keep some things.

I checked it with my netbook and it found it with the data in it.
I checked also with partitionmanager and it's on the list but it cannot find any filesystem.
The filesystem must be ext3 as I remember.
Logged

PCLOS in Greek
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #5 on: December 21, 2010, 05:17:50 PM »

Don't get it.
testdisk analyzed my disk but didn't find anything there.
How do I work this program? I find it first time here.
The partition I crated is pretty old (maybe year or more). The disk is almost full (I think only free 400MB). I had in mind to erase and keep some things.

I checked it with my netbook and it found it with the data in it.
I checked also with partitionmanager and it's on the list but it cannot find any filesystem.
The filesystem must be ext3 as I remember.

What you've done above, is tell us a story. It has no useful information, as to what you did, or the exact results you obtained. We, who can't see your computer, need that information to help you. You need to show us what you did, how you did it, and the exact results, including any error messages you may receive.

When you show the results of fdisk -l, that's useful information. When you say, "I tried that and it didn't work," that's just a story, and of no use at all.

If you use a GUI tool, give us some screen shots showing the various steps you took, and the end result. If you use a terminal to issue commands, use copy/paste to show us the prompt, command, and the results you receive, as you did with the fdisk -l command in your earlier post.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #6 on: December 21, 2010, 05:56:56 PM »

Sorry,

I have 2 internal hdds.

The USB is only 1 partition.
It must be the dev/sdg

I used an openSUSE live cd and it recognized it with my data inside (of course locked).

Do you recollect what kind of partition table was written to that disk previously?

It seems that the PCLOS tools do not recognise GPT (GUID Partition Table).

I would err on the side of caution and back up my data if possible using the SUSE livecd.

EDIT
          For info
https://wiki.archlinux.org/index.php/GUID_Partition_Table

regards.
Logged
diamond_gr
Jr. Member
**
Offline Offline

Posts: 44



WWW
« Reply #7 on: December 21, 2010, 06:51:21 PM »

You're right.

The GUI partition tool returns the following:


Now I start testdisk as root. I do the following:

1. I choose Intel/PC since it's not something from the following options (I think).


2. I choose Analyze


3. Then I choose Quick search


4. Then I choose No for the Vista question (I created with gparted and it's ext3).


5. The checking went on and on


6. Here I press enter


7. I proceed with deeper search


8. After the deeper search I got the following


9. I press enter to quit


and I got the number 2 screen to analyze.
Logged

PCLOS in Greek
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #8 on: December 21, 2010, 08:14:17 PM »

diamond_gr:

What I see is a GUI tool that claims there is no valid filesystem superblock, and a curses application that says it can't find any trace of a partition. Do you have anything that shows any evidence of a filesystem and its directory structure?

What do you get if you try Gparted?
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
diamond_gr
Jr. Member
**
Offline Offline

Posts: 44



WWW
« Reply #9 on: December 21, 2010, 10:40:16 PM »

Hm. I installed Gparted and I opened it but it didn't recognize my disk.

Then I thought after what I did with testdisk, why don't use an openSUSE live cd to check if the drive is OK?

Well, it recognized it:



The fdisk -l gives me



Don't know what else to do.
Logged

PCLOS in Greek
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #10 on: December 21, 2010, 10:53:25 PM »

Hm. I installed Gparted and I opened it but it didn't recognize my disk.

Then I thought after what I did with testdisk, why don't use an openSUSE live cd to check if the drive is OK?

Well, it recognized it:



The fdisk -l gives me



Don't know what else to do.


In openSUSE, open a terminal, su to root, then enter the command

[rootprompt ~]# mount                    <Enter>

Post your results.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 829


In theory, theory=practice, in practice ???


« Reply #11 on: December 22, 2010, 01:49:29 PM »

Sorry,

I have 2 internal hdds.

The USB is only 1 partition.
It must be the dev/sdg

I used an openSUSE live cd and it recognized it with my data inside (of course locked).


Hi,

Try to copy and paste the text results info from the terminal to the response (maybe /code if possible).   I'm trying
to read this thread and can't see these little images you posted.   Curious thread too !

thanks,

patrick013
 Grin Roll Eyes Grin
Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
diamond_gr
Jr. Member
**
Offline Offline

Posts: 44



WWW
« Reply #12 on: December 22, 2010, 01:57:35 PM »


Hi,

Try to copy and paste the text results info from the terminal to the response (maybe /code if possible).   I'm trying
to read this thread and can't see these little images you posted.   Curious thread too !

thanks,

patrick013
 Grin Roll Eyes Grin

If you click on them, it'll open a new window with the picture.

The command mount returns:

Code:
/dev/loop0 on / type defaults (rw,0)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
devtmpfs on /dev type devtmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,mode=1777)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
securityfs on /sys/kernel/security type securityfs (rw)
none on /proc/fs/vmblock/mountPoint type vmblock (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sdg1 on /media/KINGSTON 2G type vfat (rw,nosuid,nodev,uid=999,utf8,shortname=mixed,flush)
/dev/sdh1 on /media/Lacie_500 type ext3 (rw,nosuid,nodev)

KINGSTON 2G is my USB pendrive to save the text.
Logged

PCLOS in Greek
Was_Just19
Hero Member
*****
Offline Offline

Posts: 6885


MLU


« Reply #13 on: December 22, 2010, 02:00:55 PM »

Hm. I installed Gparted and I opened it but it didn't recognize my disk.

Then I thought after what I did with testdisk, why don't use an openSUSE live cd to check if the drive is OK?

Well, it recognized it:



The fdisk -l gives me



Don't know what else to do.


With the info from the fdisk output you should be able to create a new DOS partition table and then recreate the partition using the same start and end points.

I will leave the explanation of that to OP so as not to confuse things .....  I guess he is still expecting the output from the mount command in SUSe .....
Logged
Ferdes Fides
Hero Member
*****
Offline Offline

Posts: 829


In theory, theory=practice, in practice ???


« Reply #14 on: December 22, 2010, 02:23:54 PM »

When you're in SUSE and run "df" in terminal you get a 500gb drive ?
When you're in PCL and run "df" you get absolutely nothing for that disk  Huh??

Please post text for my curiosity only.

thanks,

patrick013


edit: we all need to wait if that's the case
Logged

ASUS EeePc 900 netbook  900mhz Celeron CPU  1GB RAM
16 GB internal SSD  Seagate 250 GB USB portable drive 
Intel ‎Mobile 915GM/GMS/910GML Express Graphics Controller
Atheros AR5001 Wireless Network Adapter
Dynex 5-Button Wired Optical Mouse
Intel (ICH6 Family) High Definition Audio
Pages: [1] 2   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM