VectorLinux
September 30, 2014, 02:05:23 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: HOWTO: Upgrade VL Check List  (Read 705 times)
solex
Member
*
Posts: 67


« on: July 24, 2010, 05: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:
# /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: 1850


« Reply #1 on: July 24, 2010, 06: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: 4024



« Reply #2 on: July 25, 2010, 04: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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!