PDA

View Full Version : Access Linux installation on 2nd HD


BillO
2007-08-06, 03:34 PM CDT
I have tried several entries in etc/fstab to try to allow me to access files in a Linux installation on a second sata HD without success. The output of fdisk -l for my system is:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 12848 103201528+ 7 HPFS/NTFS
/dev/sda2 12849 12861 104422+ 83 Linux
/dev/sda3 12862 19457 52982370 8e Linux LVM

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 13 104391 83 Linux
/dev/sdb2 * 14 38913 312464250 8e Linux LVM

What would be the correct entries in etc/fstab to allow me to access sdb1 and sdb2?

The Linux version on sda is F7 and the version on sdb is FC6.

Thanks for helping..

Seve
2007-08-06, 03:49 PM CDT
Hello:
You should be able to access /mount FC6 with
mkdir /mt/fc6
then
gedit /etc/fstab
and add
/dev/VolGroup00/LogVol00 /mnt/fc5 ext3 defaults 0 0
then
mount -a

assuming that the default installation was used for FC6
I don't use lvm, however I think you can confirm the lvm by
pvscan or lvscan ?

If both F7 and FC6 are named the same then you will have to rename one or the other. You probably want to rename the FC6 VolGroup.
Have a look at this thread, it should help you.

http://forum.fedoraforum.org/forum/showthread.php?t=141818&highlight=VolGroup00

Seve

BillO
2007-08-06, 06:30 PM CDT
Seve, thanks for the instructions and link. All worked perfectly and it helped with my understanding of LVM. Again, Thanks!