Debian wheezy

別PCでの運用に切り替えるため、wheezyへアップグレードしてから
dumpを使って移行させます。アップグレード後の設定ファイル一覧のまとめ。

/etc/default/grub
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="splash"
GRUB_CMDLINE_LINUX="pata_it821x.noraid=1 vga=0x318"

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

/etc/fstab
# /etc/fstab: static file system information.
#
# <file system>    <mount point>    <type>    <options>        <dump>    <pass>
UUID=**********    /        ext3    errors=remount-ro    0    1
UUID=**********    none        swap    sw            0    0
proc        /proc        proc    defaults        0    0
/dev/sr0    /cdrom        udf,iso9660    users        0    0
UUID=************    /media/lvm1      ext4    rw,users,auto        0    1
UUID=************ /media/windows ntfs auto,nls=utf8,users,umask=022,ro 0 0

/etc/X11/xorg.conf  (作ったころはXFree86の時代でしたか。)
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
    # if the local font server has problems, we can fall back on these
    FontPath    "/usr/share/fonts/X11/misc"
    FontPath    "/usr/lib/X11/fonts/misc"
    FontPath    "/usr/lib/X11/fonts/cyrillic"
    FontPath    "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/share/fonts/X11/Type1"
    FontPath    "/usr/lib/X11/fonts/Type1"
    FontPath    "/usr/share/fonts/X11/CID"
    FontPath    "/usr/lib/X11/fonts/CID"
    FontPath    "/usr/lib/X11/fonts/Speedo"
    FontPath    "/usr/share/fonts/X11/100dpi"
    FontPath    "/usr/lib/X11/fonts/100dpi"
    FontPath    "/usr/share/fonts/X11/75dpi"
    FontPath    "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
    Load    "bitmap"
    Load    "dbe"
    Load    "ddc"
    Load    "dri"
    Load    "extmod"
    Load    "freetype"
    #Load    "glx"
    Load    "int10"
    Load    "record"
    Load    "vbe"
    Load    "xtt"
EndSection

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "keyboard"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xfree86"
    Option        "XkbModel"    "jp106"
    Option        "XkbLayout"    "jp"
EndSection

Section "InputDevice"
    Identifier    "Generic Mouse"
        Driver "evdev"
       # Option "Device" "/dev/input/event1"
       # Option  "Protocol"  "PS/2"
       # Option        "ZAxisMapping"        "4 5"
EndSection

Section "Device"
    Identifier    "Generic Video Card"
    Driver        "savage"
EndSection

Section "Monitor"
    Identifier    "Generic Monitor"
    HorizSync    47-48.4
    VertRefresh    59-60
    Option        "DPMS"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "Generic Video Card"
    Monitor        "Generic Monitor"
    DefaultDepth    24
    SubSection "Display"
        Depth        16
        Modes        "1024x768"
    EndSubSection
    SubSection "Display"
        Depth        24
        Modes        "1024x768"
    EndSubSection
        SubSection "Display"
                Depth           32
                Modes           "1024x768"
        EndSubSection
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
    InputDevice    "Generic Keyboard"
    inputDevice    "Generic Mouse"
EndSection

Section "DRI"
    Mode    0666
EndSection

/etc/modprobe.d/locals.conf (マシン独自設定用に作成したファイル)
alias eth0 8139too
alias net-pf-10 off
alias ipv6 off
#mousedev
#psmouse
#options it821x noraid=1

/etc/modprobe.d/sound.conf (こちらもマシン独自サウンド設定用に作成したファイル)
alias snd-card-0 snd-via82xx
options snd-via82xx index=0