Slackware Installation Notes

Source: Internet
Author: User

Tossing for two days, and re-loaded again Slackware, in this record, for future possible re-install ....


First boot the system from the USB stick. This installation at the time of the boot is a problem, the system disk does not seem to do a good job, grub out of trouble, resulting in the failure to boot smoothly, jumping out of the "grub>" interface, because I use the slackware ISO image, so you can do the following:

Grub>set root= (HD0,MSDOS1) #设置根目录为U盘第一分区. Grub>loopback loop/slackware-x86_64-dvd.iso #挂载镜像文件grub >linux (loop)/kernels/huge.s/bzimage #引导内核, Because it is grub2, it is possible to use Linux,grub with KERNELGRUB>INITRD (loop)/isolinux/initrd.gzgrub>boot


After entering the installation interface, partition, make the Swap,setup, follow the prompts step to step. Of course, I use Tagfile.

When the installation is complete,

CHROOT/MNTGRUB-INSTALL/DEV/SDA1 #安装grub到引导分区grub-mkconfig-o/boot/grub/grub.cfg #一般把/boot set to boot partition # may appear after a reboot kernel Panic no Syncing:vfs unable to mount Root fs on ... Error, resolution: $ (/usr/share/mkinitrd/mkinitrd-generator.sh-r) #修改grub. CFG, change the kernel to generic, add initrd/initrd.gz #此处根目录为/boot# Modify the start level to 4vim/etc/inittab

Then it can be restarted.

After a reboot, you can add a regular user and then pass the Visudo to sudo with the right. Words before I have been directly used root, this time swap with ordinary users, feeling in a lot of places very troublesome, such as installation procedures, all need to use sudo to root the identity of the operation ...

Then install the WICD, which is in the source. (because I tend to wicd, the NetworkManager in the source is not included in the Tagfile)

Set up Chinese environment:/etc/profile.d/lang.sh, export LANG=ZH_CN, various configuration files (. BASHRC,.VIMRC ... Upload in post)

Then a variety of other software, such as Hsetroot,fcitx,sublime_text,qtile ...


Some things to note:

1, about the font size problem: Before the adjustment, install the driver, especially the source of pre-installed nouveau will make the console font smaller ... N Card driver after downloading the corresponding version in the official website, installed under Init 3, before this may have to install Libvdpau, and disable Nouveau (upgradepkg xf86-video-nouveau-blacklist.txz)

2, about FCITX does not work properly method: can try to join in. BASHRC

#!/bin/shexport xmodifiers= "@im =fcitx" Export xim=fcitxexport xim_program=fcitxexport gtk_im_module=fcitx #= Ximexport QT_IM_MODULE=FCITX #=xim

3, sound setting Parameters Save: Alsactl Store

4. VMware Installation:

Mkdir/etc/init.dfor i in {0,1,2,3,4,5,6};d o mkdir/etc/rc$i.d;done./vmware-workstation...budle--console-- ignore-errorscp/etc/init.d/vmware/etc/rc.d/rc.vmware# edit rc.local and rc.local_shutdown add boot up and shutdown rm-rf/etc/ Init.dfor i in {0,1,2,3,4,5,6};d o Rm-rf/etc/rc$i.d;done

5. Close lid hibernation: Edit/etc/acpi/acpi_handler.sh, add Lib)/usr/sbin/pm-suspend


Let's do it first, think about adding ...

Slackware Installation Notes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.