Tuesday, November 08, 2005

Migration from FAT32 to EXT3

We migrated (delete and create) our shared data partition from FAT32 to EXT3.
The shared data partition on the Ferrari is a read-write partition for Windows XP and SUSE Linux 10.

Linux
Created a new EXT3 partition and moved the /home directories to the new partition.
set the mount point in /etc/fstab to /home

Windows
We use ext2fsd to mount the partition on windows as drive d: (mount 0 4 d:)
not tried this one, but looks good (http://www.fs-driver.org/index.html)

Both OSses share the data partition for OOO, ifolder, firefox, gaim and other data and config settings.

To solve the .dmrc issue make sure your home directory has 755 permissions.

O and Wouter
once you have the new filesystem
do 'init 3' to exit your GUI (gnome or kde) GUI settings are also stored in your home dir
Create a home directory on the new file system (mkdir /home)
Set permissions (chmod 755 /home)
move your data (cp /oldhome /home)


Add the new file system to your fstab file (pico /etc/fstab)

Here is my fstab

/dev/hda4 / reiserfs acl,user_xattr 1 1
/dev/hda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/hda5 /home ext3 acl,user_xattr,defaults 1 1
/dev/hda3 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/dvdram /media/dvdram subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0