Type
cat /mnt/etc/fstab to output the file to the screen. This is the /etc/fstab file on
your hard drive that specifies which folder each partition should be mounted to. Because we are in the Rescue System and the hard drive's root partition is mounted to /mnt we reference the file as /mnt/etc/fstab.
Each /dev/md[] device will show the correct mount folder directly after. As you can see from the file, the
/dev/md1 parition should be mounted to the
/ folder (root folder). Since we are using the Rescue System, we can not mount
/dev/md1 to the
/ folder as the Rescue System is using the
/ folder. Therefore, we mounted
/dev/md1 to the
/mnt folder on the Rescue System and the
/mnt/ folder will now essentially be the root folder for the contents of your hard drive.
rescue:~# cat /mnt/etc/fstab
/dev/md1 / ext3 defaults 1 1
/dev/sda2 none swap sw
/dev/sdb2 none swap sw
/dev/vg00/usr /usr ext4 defaults,noatime 0 2
/dev/vg00/var /var ext4 defaults,usrquota,noatime 0 2
/dev/vg00/home /home ext4 defaults,usrquota,noatime 0 2
devpts /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /tmp tmpfs defaults 00
rescue:~#
For hardware RAID, the output will be similar to the image below instead.
rescue:~# cat /mnt/etc/fstab
/dev/sda1 / ext3 defaults,usrquota 1 1
/dev/sda2 none swap sw
/dev/sda5 /usr xfs defaults 0 2
/dev/sda6 /var xfs defaults,usrquota 0 2
devpts /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /tmp tmpfs size=1g 0 0
rescue:~#