Find the answer to your Linux question:
Results 1 to 8 of 8
Here's the deal... I had red hat in a HD and i got a new HD and i installed red hat in the new one... after installing red hat in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Location
    Ccs, Venezuela
    Posts
    7

    Disk transfer help =/


    Here's the deal... I had red hat in a HD and i got a new HD and i installed red hat in the new one... after installing red hat in the new HD and using it normally i tried to get my files from the old HD, but when i try to mount the partition from the old HD it gives me an error...
    It will be something like this:

    mount -t ext3 /dev/hdb /mnt/OHD

    It gives this error:

    mount: wrong fs type, bad option, bad superblock on /dev/hdb,
    or too many mounted file systems

    Could someone tell me what can i do to mount mi old HD using red hat at the new one so i can get all my files to the new HD...
    I apreciatte ur help... TY
    =)

  2. #2
    Linux User glussier's Avatar
    Join Date
    Sep 2006
    Location
    Montreal, Qué, Canada
    Posts
    255
    Can you list the partitions and their types? this way:


    Code:
    su -
    fdisk -l
    -l is - lowercase L.

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Location
    Ccs, Venezuela
    Posts
    7

    Here it its

    Disk /dev/hda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 6541 52540551 7 HPFS/NTFS
    /dev/hda2 6542 6554 104422+ 83 Linux
    /dev/hda3 6555 9729 25503187+ 8e Linux LVM

    Disk /dev/hdb: 10.2 GB, 10248118272 bytes
    255 heads, 63 sectors/track, 1245 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb2 14 1245 9896040 8e Linux LVM


    /* Maybe u see it strange in the hdb cuz theres no boot part. anymore... but thats copy paste from fdisk -l */
    Thanx for help

    PD: (I already tried the /* mount -t ext3 /dev/hdb2 /mnt/OHD */)

  4. $spacer_open
    $spacer_close
  5. #4
    Linux User glussier's Avatar
    Join Date
    Sep 2006
    Location
    Montreal, Qué, Canada
    Posts
    255
    Oups, this is a logical volume.

    do this and post the results:

    Code:
    su -
    vgscan
    Also post the content of /etc/fstab and /etc/mtab

  6. #5
    Just Joined!
    Join Date
    Nov 2006
    Location
    Ccs, Venezuela
    Posts
    7
    I made what u told me this is the result of each one...

    ///vgscan:

    [root@localhost etc]# vgscan
    Reading all physical volumes. This may take a while...
    /dev/cdrom: open failed: No medium found
    Found volume group "VolGroup00" using metadata type lvm2


    ///fstab:

    # This file is edited by fstab-sync - see 'man fstab-sync' for details
    /dev/VolGroup00/LogVol00 / ext3 defaults 1 1
    LABEL=/boot /boot ext3 defaults 1 2
    none /dev/pts devpts gid=5,mode=620 0 0
    none /dev/shm tmpfs defaults 0 0
    none /proc proc defaults 0 0
    none /sys sysfs defaults 0 0
    /dev/VolGroup00/LogVol01 swap swap defaults 0 0
    /dev/hdc /media/cdrecorder auto pamconsole,fscontext=system_u:object_r:removable_t ,exec,noauto,managed 0 0


    ///mstab:

    --- EMPTY ---


    ----
    I still dont know what to do :/
    Thnx for ur help and i would apreciatte u to keep helping me to make it... :P

    /* PH4R0X */

  7. #6
    Linux User glussier's Avatar
    Join Date
    Sep 2006
    Location
    Montreal, Qué, Canada
    Posts
    255
    I want to stick with it, however it might take a few tries.

    I shoud have tought about it. The second drive is your old fedora install, therefore it has the same volume group name as your new installation.

    Now try:

    Code:
    su -
    vgdisplay -v

  8. #7
    Just Joined!
    Join Date
    Nov 2006
    Location
    Ccs, Venezuela
    Posts
    7
    OK, Now i got this:


    ///
    root@localhost etc]# vgdisplay -v
    Finding all volume groups
    Finding volume group "VolGroup00"
    --- Volume group ---
    VG Name VolGroup00
    System ID
    Format lvm2
    Metadata Areas 2
    Metadata Sequence No 3
    VG Access read/write
    VG Status resizable
    MAX LV 0
    Cur LV 2
    Open LV 2
    Max PV 0
    Cur PV 1
    Act PV 1
    VG Size 24.31 GB
    PE Size 32.00 MB
    Total PE 778
    Alloc PE / Size 777 / 24.28 GB
    Free PE / Size 1 / 32.00 MB
    VG UUID DxZA8A-1iIb-bU2Q-RVR1-89MS-GoYd-t2KiNO

    --- Logical volume ---
    LV Name /dev/VolGroup00/LogVol00
    VG Name VolGroup00
    LV UUID K5WJSZ-J4GF-b5CK-Ci0b-jmLk-Sska-jHYUXq
    LV Write Access read/write
    LV Status available
    # open 1
    LV Size 24.09 GB
    Current LE 771
    Segments 1
    Allocation inherit
    Read ahead sectors 0
    Block device 253:0

    --- Logical volume ---
    LV Name /dev/VolGroup00/LogVol01
    VG Name VolGroup00
    LV UUID oKgRYV-supt-RH7K-kOA3-AA37-iFCf-rFN67U
    LV Write Access read/write
    LV Status available
    # open 1
    LV Size 192.00 MB
    Current LE 6
    Segments 1
    Allocation inherit
    Read ahead sectors 0
    Block device 253:1

    --- Physical volumes ---
    PV Name /dev/hda3
    PV UUID NKg1dK-Z9yq-pf2d-3LtR-WDD4-bwa4-hr4y0h
    PV Status allocatable
    Total PE / Free PE 778 / 1




    ----
    /* PH4R0X */

  9. #8
    Just Joined!
    Join Date
    Nov 2006
    Location
    Ccs, Venezuela
    Posts
    7

    Help Plx

    I still cant pass the archives from my old HD, considering that i cannot boot the other drive (even putting it alone cuz the boot partition was erased) how could i recover mi files? (i have another pc on mi side if i need to use it in any form [it have winxp]) so if someone could tell me how to recover mi files i would rlly apreciatte it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •