LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-09-2006, 07:20 PM   #1
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Rep: Reputation: 30
Using a dd created partition?


I had a problem in the past with an old maxtor harddrive that was 200 GB that developed some bad sectors. I used the command "dd if=/dev/hdb3 of=/dev/hda1 bs=512 conv=noerror,sync" to copy the entire partition (160GB) to a new WDD 320 GB harddrive to a partition of 170GB. The WDD is hda1 and the old maxtor partition is on hdb3. I'm running slax and when I run dmesg | tail it says
Code:
SQUASHFS error: Can't find a SQUASHFS superblock on hda1
ResierFS: hda1: warning: sh-2021: resiserfs_fill_super: can not find reister fs on hda1
ResierFS: hda1: warning: sh-2021: resiserfs_fill_super: can not find reister fs on hda1
VFS: Can't find ext3 filesystem on dev hda1.
ResierFS: hda1: warning: sh-2021: resiserfs_fill_super: can not find reister fs on hda1
Isn't the filesystem supossed to copy as well?
 
Old 09-09-2006, 08:36 PM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,283

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Did the dd command complete without errors? dd can get hung up on disk errors, that "conv=noerror" parameter nonwithstanding.

If you're trying to copy a disk with bad spots, you may need ddrescue or ddrhelp and also fsck. See the following thread for more info http://www.linuxquestions.org/questi...d.php?t=431028
 
Old 09-09-2006, 08:48 PM   #3
compu73rg33k
Member
 
Registered: Feb 2004
Distribution: Ubuntu
Posts: 316

Original Poster
Rep: Reputation: 30
Ah well I recovered my data! The dd did complete but it did have some errors in the first minute about sectors, as expected. I ran reiserfsck --rebuild-sb /dev/hda1 and then --rebuild-tree /dev/hda1 and it mounted!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SLES 9 did not install to the partition I created reycapoy Linux - Software 2 12-23-2005 01:06 AM
Disk space used after initial partition is created Wraezor Linux - General 2 04-21-2005 10:01 AM
trouble mounting a newly created partition tauceti38 Linux - Hardware 6 03-16-2005 03:40 AM
Linux can't see newly created partition Dswissmiss Linux - Software 5 05-17-2004 08:05 AM
Where is my Windows Partition created with VMware? fedivh Linux - Software 1 02-14-2004 03:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration