VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: HOWTO: Upgrade VL Check List  (Read 830 times)

solex

  • Member
  • *
  • Posts: 67
HOWTO: Upgrade VL Check List
« on: July 24, 2010, 06:23:50 pm »

I'm about to make the jump from 5.8 to 6.0 and need some help creating a check list.  I use the machine for personal use and also as a file server that I share with my wife.

I plan on getting a new drive and doing a clean install, but how do I:

(1) Copy the users/groups, security and home directories
(2) Samba configuration
(3) CUPS configuration

My current file system configuration:

Code: [Select]
# /etc/fstab: static file system information.
#
# The following is an example. Please see fstab(5) for further details.
# Please refer to mount(1) for a complete description of mount options.
#
# Format:
# <file system>   <mount point>   <type>   <options>   <dump> <pass>
#
# dump(8) uses the <dump> field to determine which file systems need
# to be dumped. fsck(8) uses the <pass> column to determine which file
# systems need to be checked--the root file system should have a 1 in
# this field, other file systems a 2, and any file systems that should
# not be checked (such as MS-initrd/mnt or NFS file systems) a 0.

# The Linux partitions
/dev/hda2 / reiserfs  noatime  0  1

# Shared Windows/Linux partition
#/dev/hda1   /mnt/dos  msdos  umask=0   0  0
#/dev/hda1   /mnt/win  vfat   fmask=111,dmask=0,quiet,shortname=mixed,user  0  0
#/dev/hda1   /mnt/win  ntfs   umask=0   0  0

# Floppy disks
# The 'noauto' option indicates that the file system should not be mounted
# with 'mount -a' 'user' indicates that normal users are allowed to mount
# the file system.
/dev/fd0   /mnt/floppy auto defaults,noauto,user 0 0
#/dev/fd1  /mnt/floppy auto defaults,noauto,user 0 0

# If you have a ls-120 floppy drive, it could be on /dev/hda b c d etc.
#/dev/hdd /mnt/ls120 auto defaults,noauto,user 0 0

# CDROM, CDWRITER, DVD
/dev/cdrom    /mnt/cdrom iso9660 defaults,noauto,ro,user 0 0
#/dev/cdwriter /mnt/cdwriter iso9660 defaults,noauto,rw,user 0 0
#/dev/dvd      /mnt/dvd auto defaults,noauto,ro,user 0 0

# NFS file systems:
#linux01.gwdg.de:/suse/6.3/i386.de  /mnt/nfs  nfs  defaults  0 0

# proc file system:
proc /proc proc defaults 0 0

# Unix98 devpts filesystem:
none  /dev/pts  devpts  gid=5,mode=666  0 0

# Shared memory filesystem:
tmpfs   /dev/shm    tmpfs defaults 0  0

# Basic USB filesystem
sysfs  /sys  sysfs  defaults  0 0

# example of a VFAT USB pendrive
#/dev/sda1  /mnt/pendrive vfat   fmask=111,dmask=0,noauto,user,quiet,shortname=mixed 0 0


# Swap partitions
# The 'sw' option means auto activating with 'swapon -a'.
/dev/hda1   none   swap   sw   0  0

Regards,
Dan
Logged

bigpaws

  • Vectorian
  • ****
  • Posts: 1869
Re: HOWTO: Upgrade VL Check List
« Reply #1 on: July 24, 2010, 07:30:31 pm »

Samba

/etc/samba/smb.conf

Cups
/etc/cups/cupsd.conf

Passwords

/etc/passwd

Home

/home/<username>

Also do not forget to save the Samba directories you have saved.

HTH

Bigpaws
Logged

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4085
Re: HOWTO: Upgrade VL Check List
« Reply #2 on: July 25, 2010, 05:26:34 am »

It would be easy enough to re-create users/passwords from scratch, then copy over the corresponding files using those accounts. That way you know you'll get all permissions right. Use vasm for user account, then "smbpasswd -a" for the samba accounts.

Since you will keep the old drive intact, you can take your time migrating the data and settings.
Logged