Content dump

From PCLinuxOSHelp Knowledge Base
Jump to: navigation, search

1. Basic guidelines

This is a special page where you can dump any appropriate content without worrying about formatting. However follow these basic guidelines :

  • Make sure you are logged in
  • Click the Edit button near the top of this page
  • Begin your contribution on a new line
  • Put two equal signs
  • Follow it by a space
  • Then add a serial number (add 1 to the serial number above your post)
  • Follow it by a space
  • Put in a basic one line introduction to the content in less than 10 words (preferably less than 5)
  • Follow it by another space
  • Put two equal signs
  • Go to the next line
  • Enter the content you wish to enter
  • Hit Enter twice at the end of your contribution
  • Select Show preview
  • If it looks alright then Save page

2. Why serial number?

Serial numbers will help track your contribution. (This might become difficult if the contributions run into hundreds or above!)

3. GRUB native install by Old-Polack,62786.msg508062.html#msg508062

Grub native install:

From a root terminal on any live CD from any distribution that uses grub; not grub2.

[root@localhost ~]# grub <Enter>

grub> find /boot/grub/stage2 <Enter>

(hd0,0)             <-- Yours will vary depending on where Linux is installed. Use your results for next command.

grub> root (hd0,0) <Enter>

Filesystem type is ext2fs, partition type 0x83

grub> setup (hd0) <Enter>

Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0)"...  15 sectors are embedded.


Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,0)/boot/grub/stage2 /boot/grub/menu.lst"... succeeded


grub> quit < Enter>

[root@localhost ~]#

4. Copy a list of installed software to another install,113276.msg966873.html#msg966873

Open a terminal on the desktop machine and enter this command;

[<you>@localhost ~]$ rpm -qa --qf '%{NAME}\t\tinstall\n' | sort > ~/installed-packages.txt <Enter>

You can copy/paste the command from here to your terminal.

You will then find a text file named installed-packages.txt in your ~/ directory. Open it with kwrite, then from the menu bar Edit --> Find and type kernel in the Find: box at the bottom. Remove the highlighted lines, then save the file.

Copy the file to a USB flash drive, then transfer it to the laptop. Open synaptic, on the laptop, Reload, then from the menu bar at the top, File --> Read Markings... In the pop up window, navigate to, and select, the installed-packages.txt file on the USB flash drive. All the packages named in that file will then be marked for installation. Click Apply, and Apply, and you are on your way.

The kernel lines get removed because the kernel does not like to be installed as part of a mass installation, and breaks the upgrade/installation process. If you need a different kernel, after the mass installation is complete, you can add one as a separate installation, then reboot to put it to use.

5. Access PCC and/or its components from terminal

Sometimes it is necessary to start PCC or its components from terminal in order to debug some problem or when X fails to start. Here is small list of module and its respective command :

  • PCC - pcc
  • Video - drakx11