Re: Access external Fedora filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



craigni wrote:
> Hi Gurus, I have a dual boot system with Fedora 7 on one drive and Fedora 8 on another.  I'd like the Fedora 8 system to access the data on the Fedora 7 system.  Fedora 8 sees 7 as sdc.
> 
> If I enter:
> 
> $ sudo mount -t ext3 /dev/sdc1 /mnt/test
> $ ls /mnt/test
> config-2.6.21-1.3194.fc7  initrd-2.6.21-1.3194.fc7.img  System.map-2.6.21-1.3194.fc7  vmlinuz-2.6.22.9-91.fc7
> config-2.6.22.9-91.fc7    initrd-2.6.22.9-91.fc7.img    System.map-2.6.22.9-91.fc7
> grub                      lost+found                    vmlinuz-2.6.21-1.3194.fc7
> 
> but I can't access the data on the filesystem from there.  If I enter:
> 
> $ sudo umount /mnt/test
> $ sudo mount -t ext3 /dev/sdc2 /mnt/test
> 
> I get:
> 
> mount: wrong fs type, bad option, bad superblock on /dev/sdc2,
>        missing codepage or helper program, or other error
>        In some cases useful info is found in syslog - try
>        dmesg | tail  or so
> 
> Is it possible to access the data on the F7 system from booted F8?  If so, how?
> 
> Many TIA
> Craig
> 
> 
The problem is probably that sdc2 is an LVM volume, os it is a
little harder to mount. Probably the easiest way is to look at
/etc/fstab on F7, and copy the entry for /, changing / to match the
desired mount point.For example, if fstab has:

/dev/VolGroup00/LogVol00 /        ext3    defaults        1 1

you would want to do something like:

mount /dev/VolGroup00/LogVol00 /mnt/test.

The reason you can mount /boot is because it is not an LVM volume,
but is a standard ext2/3 file system. If you do not want to boot F7
to get the information, you should also be able to get it when you
have sc1 mounted by looking at /mnt/test/grub/grub.conf and looking
at the root= line.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux