New paste›Public feed

Public feed

Pastes people chose to make public. Author names hidden.
  • chroot

    1883576·text·938 B·2010-06-15 12:51 UTC
    1. Create a mountpoint
    # mkdir /mount/point
    sudo mkdir /media/disk
    sudo mount /dev/sda5 /media/disk
     
    2. Mount /proc /sys /dev to chroot
    # mount -o bind /proc /mount/point/proc
    # mount -o bind
  • martin

    1883574·text·936 B·2010-06-15 12:49 UTC
    1. Create a mountpoint
    # mkdir /mount/point
    sudo mkdir /media/disk
    sudo mount /dev/sda5 /media/disk
     
    2. Mount /proc /sys /dev to chroot
    # mount -o bind /proc /mount/point/proc
    # mount -o bind
  • martin

    1883573·text·130 B·2010-06-15 12:48 UTC
    ls
    search -f /vmlinuz
    set root=(hdX,Y)
    ls /boot
    insmod /boot/grub/linux.mod
    linux /vmlinuz root=/dev/sdXY
    initrd /initrd.img
    boot
  • martin

    1883572·text·936 B·2010-06-15 12:48 UTC
    1. Create a mountpoint
    # mkdir /mount/point
    sudo mkdir /media/disk
    sudo mount /dev/sda5 /media/disk
     
    2. Mount /proc /sys /dev to chroot
    # mount -o bind /proc /mount/point/proc
    # mount -o bind
  • martin

    1883569·text·136 B·2010-06-15 12:47 UTC
    ls
    search -f /vmlinuz
    set root=(hdX,Y)
    ls /boot
    insmod /boot/grub/linux.mod
    linux /vmlinuz root=/dev/sdXY
    initrd /initrd.img
    boot
  • martin

    1883568·text·130 B·2010-06-15 12:47 UTC
    ls
    search -f /vmlinuz
    set root=(hdX,Y)
    ls /boot
    insmod /boot/grub/linux.mod
    linux /vmlinuz root=/dev/sdXY
    initrd /initrd.img
    boot
  • martin

    1883567·text·936 B·2010-06-15 12:46 UTC
    1. Create a mountpoint
    # mkdir /mount/point
    sudo mkdir /media/disk
    sudo mount /dev/sda5 /media/disk
     
    2. Mount /proc /sys /dev to chroot
    # mount -o bind /proc /mount/point/proc
    # mount -o bind
  • martin

    1883566·text·914 B·2010-06-15 12:46 UTC
    1. Create a mountpoint
    # mkdir /mount/point
    sudo mkdir /media/disk
    sudo mount /dev/sda5 /media/disk
     
    2. Mount /proc /sys /dev to chroot
    # mount -o bind /proc /mount/point/proc
    # mount -o bind /dev /m
  • martin

    1883565·text·946 B·2010-06-15 12:45 UTC
    how do I save installed packages in a list and restore ...
     
    rpm -qa > installed-software.log
    yum install $(cat installed-software.log)
     
    sorting rpm packages by size
    rpm -qa --qf '%{SIZE}\t%{NA
  • martin

    1883564·text·918 B·2010-06-15 12:45 UTC
    how do I save installed packages in a list and restore ...
     
    rpm -qa > installed-software.log
    yum install $(cat installed-software.log)
     
    sorting rpm packages by size
    rpm -qa --qf '%{SIZE}\t%{NAME}\n'
  • martin

    1883562·text·955 B·2010-06-15 12:44 UTC
    Linux instructions
     
    If you are already running a Linux machine, follow these instructions:
     
    1. Plug your USB stick and learn how your USB stick is recognized by the system:
    # ls -l /dev/disk/
  • martin

    1883561·text·939 B·2010-06-15 12:43 UTC
    Linux instructions
     
    If you are already running a Linux machine, follow these instructions:
     
    1. Plug your USB stick and learn how your USB stick is recognized by the system:
    # ls -l /dev/disk/by-id
  • martinmartiini

    1883557·text·2.5 KB·2010-06-15 12:21 UTC
    # deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distrib
  • martin

    1883555·text·2.5 KB·2010-06-15 12:19 UTC
    # deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribut
  • Stuff

    1883552·text·254 B·2010-06-15 12:11 UTC
    #include <stdlib.h>
    #include <time.h>
    #include <errno.h>
    
    int main()
    {
     struct tm tm;
     tm.tm_year = 3000; tm.tm_mon = 0; tm.tm_mday = 0;
     tm.tm_hour = 0; tm.tm_min = 0; tm.tm_sec = 0; tm.tm
  • bob

    1883514·text·1.5 KB·2010-06-15 10:57 UTC
    From fac1275822d8f38b8834350a0364d39d1be4e218 Mon Sep 17 00:00:00 2001
    From: Robert Bragg <robert@linux.intel.com>
    Date: Tue, 15 Jun 2010 02:31:48 +0100
    Subject: [PATCH] texture cache: don't dereferen
  • CANPAN Blog Comment HTML

    1883497·text·5.6 KB·2010-06-15 10:10 UTC
    <!-- コメント関連 Start -->
     <BlogEntryIfAllowComments>
     <div class="comment">
    
     <!-- コメントする Start-->
     <div class="comment_title"><a id="commentform"></a>コ
  • rewrite of CS AKICK with pipes

    1883415·diff·841 B·2010-06-15 06:40 UTC
    Index: chanserv.pm
    ===================================================================
    --- chanserv.pm (revision 3493)
    +++ chanserv.pm (working copy)
    @@ -3639,6 +3639,9 @@ sub do_nick_akick($$;$)
  • Mine

    1883404·php·437 B·2010-06-15 06:14 UTC
    object(UserGroup)#31 (6) {
     ["member_ids:private"]=>
     NULL
     ["permissions:private"]=>
     NULL
     ["fields:protected"]=>
     array(2) {
     ["id"]=>
     string(1) "2"
     ["name"]=>
     string(9) "anony
  • Stuff

    1883303·text·1.2 KB·2010-06-15 01:16 UTC
    root@debian:/etc# modinfo iwl3945
    filename: /lib/modules/2.6.32-5-amd64/kernel/drivers/net/wireless/iwlwifi/iwl3945.ko
    firmware: iwlwifi-3945-2.ucode
    license: GPL
    author:

older pastes →