DD not working



I have been trying to use the F7 that I copied to the new Hard Drive but instead I'm getting very strange results. With just the new Hard Drive mounted I set up Grub and changed grub.conf so the proper root was showing. But it would not boot and the error was file system not good. So DD copy must have ruined the file system I put on.

So back to the Old Hard Drive and it has some weird stuff going. I wanted to fix the /dev/sdb5 file system and here is what happend:

[root@k5di ~]# fsck /dev/sdb5
fsck 1.40.2 (12-Jul-2007)
e2fsck 1.40.2 (12-Jul-2007)
/dev/sdb5 is mounted.

WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.

Do you really want to continue (y/n)? yes

f7: recovering journal
f7: clean, 174545/10246368 files, 3132553/10239421 blocks
[root@k5di ~]# mount -t ext2 /dev/sdb5 /mnt
mount: /dev/sdb5 already mounted or /mnt busy

The last 2 lines say that /dev/sdb5 is mounted to this Old Hard Drive somehow. I did not do this. /etc/fsack did not do this. So not sure what is going on. And last the /etc/grub.conf has been changed by something to the wrong on this computer. Weird!


--

Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • RE: serioup problem after running fsck
    ... I'm not an expert in recovery and I'm not sure you could recover at ... > The easiest and first thing is to run fsck again (although I ... Running it once is no guarantee that the file system ... > shutdown command from the command line or the shutdown menu ...
    (RedHat)
  • fstab entries for external USB hard drives led to fsck.ext3 failure on boot, bug?
    ... 'F!3@$%ing fsck! ... Please repair the file system manually. ... CONTROL-D will terminate this shell and resume system boot. ... were to allow me to quickly mount an external hard drive ...
    (Debian-User)
  • Re: fsck - how to use?
    ... I got some lost files and some other file system ... > that there aren't any problems with the files on the disk as a result of the ... > that it is dangerous to run fsck on a mounted partition. ...
    (linux.redhat.misc)
  • Re: [SLE] How do I use fsck????
    ... > it couldn't fsck and that I would have to do it manually. ... in single user mode to fsck root, AND the root file system must be ... root or mounted file system, ...
    (SuSE)
  • Re: dangerous situation with shutdown process
    ... softupdates sometimes do take a long ... >>then fsck, then shutdown. ... Actually an fsck on a live filesystem will force the softupdates to ... You can fsck a mounted file system and fsck will run in read-only ...
    (freebsd-stable)