Jump to content

LMDE 2 XFCE


Meowthra
 Share

2 posts in this topic

Recommended Posts

Linux Mint Debian Edition 2 - XFCE

 

kAAost1.png

Download
https://mega.nz/#!bUM23LZS!_AyPYnNwrimiYM4wWkS7U9Rscn9_gCI6x4-3eM1nLk8
 

 

Installation LiveCD to your computer

for example: Installation target: sda3

Mount the partition sda3 to /mnt
$ sudo su
# mount /dev/sda3 /mnt

Extraction live CD file system To /mnt
# cd /mnt
# unsquashfs /lib/live/mount/medium/filesystem.squashfs
# mv squashfs-root/* /mnt
# rm -r squashfs-root
# cd ~

if UEFI
# mkdir /mnt/boot/EFI
# mount /dev/sda1 /boot/EFI

Generate an fstab
# genfstab -U /mnt > /mnt/etc/fstab

 

Mounting pseudo filesystems
# mount --bind /dev /mnt/dev
# mount --bind /dev/pts /mnt/dev/pts
# mount --bind /proc /mnt/proc
# mount --bind /sys /mnt/sys

Change root into the new system
# chroot /mnt /bin/bash

 

Update Initramfs
# update-initramfs -u

 

 

Install Grub2 Boot loader

# apt-get install grub2 os-prober
BIOS
# grub-install --recheck /dev/sda      # BIOS/MBR
or
# grub-install --force /dev/sda        # BIOS/GPT

UEFI
# apt-get install grub2 efibootmgr os-prober
# grub-install --target=x86_64-efi --efi-directory=/boot/EFI --bootloader-id=arch --recheck

Make Grub Boot Menu
# grub-mkconfig -o /boot/grub/grub.cfg

 

Computer Name
for example: Extensa-2510G
# echo Extensa-2510G > /etc/hostname

 

Settings Language
Choose your language
for example:
Traditional Chinese
Open another terminal
$ sudo leafpad /mnt/etc/locale.gen
----------------------
# zh_TW.UTF-8 UTF-8
# zh_TW.BIG5
to

zh_TW.UTF-8 UTF-8
zh_TW.BIG5

----------------------

# /usr/sbin/locale-gen
# export LANG=zh_TW.UTF-8

 

Select a time zone

for example: Asia Taipei

# ln -sf /usr/share/zoneinfo/Asia/Taipei /etc/localtime

or

# ln -sf /usr/share/zoneinfo/UTC /etc/localtime

or

# rm /etc/localtime

Set the root password
# passwd

 

Create User accounts
for example: User Name is mint
# useradd -m -g users -s /bin/bash mint
# passwd mint
# gpasswd -a mint sudo
# gpasswd -a mint users

Auto Login

# groupadd autologin
# gpasswd -a mint autologin

Open another terminal

$ sudo leafpad /mnt/etc/mdm/mdm.conf
AutomaticLogin=mint
 

Display Manager
Setting the screen backlight brightness and gamma
Open another terminal
$ sudo leafpad /etc/mdm/Init/Default

add
----------------------------------------------
xbacklight -set 80
xgamma -gamma 0.7

----------------------------------------------
 

Exit chroot

# exit

 

unmount pseudo filesystems

# umount /mnt/dev/pts
# umount /mnt/dev
# umount /mnt/proc
# umount /mnt/sys
 

unmount filesystem & exit

# umount /mnt/boot/EFI    # if UEFI
# umount /mnt
# exit
 

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
 Share

×
×
  • Create New...