How to edit fstab to make other partitions accessible?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: joe
Date:  
To: plug-discuss
Subject: How to edit fstab to make other partitions accessible?

How can I make all of my partitions readable when
I am booted to my new mandriva installation?

Copies of the /etc/fstab files from both my year old mepis
and my new mandriva 2006 installations (partitions)
are shown below. Why are they so different?

When booted to the mepis partition, I can access
the other partitions on my system, but when booted
to my mandriva partition, I can't mount the other
partitions to read or access them. What do I need to do
to the mandriva partition so I can mount, read, access,
and copy files from the other partitions?

$ on mandriva, df shows this:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda6             9.7G  2.2G  7.0G  24% /
/dev/hda7             9.7G  3.3G  6.5G  34% /home
/dev/hdb1             4.0G  1.3G  2.7G  32% /mnt/windows


$ on mandriva, ls -ltr /mnt shows this:
total 12
drwxrwxrwx  28 root root 4096 Dec 31  1969 windows/
drwxr-xr-x   2 root root 4096 Dec 29 05:46 cdrom2/
drwxr-xr-x   2 root root 4096 Dec 29 05:46 cdrom/
drwxrwxrwx   0 root root    0 Jan  2 15:23 floppy/



=== fstab on my mandriva partition looks like this:

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hda6 / ext3 defaults 1 1
/dev/hda7 /home ext3 defaults 1 2
/dev/hdc /mnt/cdrom auto
umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
/dev/hdd /mnt/cdrom2 auto
umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
none /mnt/floppy supermount
dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hdb1 /mnt/windows vfat umask=0,iocharset=iso8859-1,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda2 swap swap defaults 0 0
/dev/hdb6 swap swap defaults 0 0

=== fstab on my mepis partition looks like this:

/dev/hda1 / ext3 defaults,noatime 1 1
/dev/hda2 swap swap sw,pri=1 0 0
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devmode=0666 0 0
none /dev/pts devpts mode=0622 0 0
none /sys sysfs noauto 0 0
/dev/hda3 /home ext3 defaults,noatime 1 2
/dev/floppy     /mnt/floppy    auto     noauto,users 0 0
/dev/cdrom    /mnt/cdrom    udf,iso9660 noauto,users,ro 0 0
/dev/cdrom1    /mnt/cdrom1    udf,iso9660 noauto,users,ro 0 0
# Dynamic entries
/dev/hda5 /mnt/hda5 ext3 noauto,exec 0 0
/dev/hda6 /mnt/hda6 ext3 noauto,exec 0 0
/dev/hda7 /mnt/hda7 ext3 noauto,exec 0 0
/dev/hda8 /mnt/hda8 ext3 noauto,exec 0 0
/dev/hda9 /mnt/hda9 ext3 noauto,exec 0 0
/dev/hdb1 /mnt/hdb1 vfat noauto,exec,umask=000 0 0
/dev/hdb5 /mnt/hdb5 ext2 noauto,exec 0 0
/dev/hdb6 swap swap sw,pri=1 0 0
/dev/hdb7 /mnt/hdb7 ext2 noauto,exec 0 0



---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss