wiki:TipAndDoc/Linux/TinyCore

Version 4 (modified by mitty, 13 years ago) (diff)

--

  • distributionを知る => lsb_release -a via twitter:tm_tn/status/134106555959349248
    • $ lsb_release -a
      No LSB modules are available.
      Distributor ID: Ubuntu
      Description:    Ubuntu 10.04.3 LTS
      Release:        10.04
      Codename:       lucid
      
    • $ lsb_release -a
      LSB Version:    :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-ia32:printing-4.0-noarch
      Distributor ID: CentOS
      Description:    CentOS release 5.7 (Final)
      Release:        5.7
      Codename:       Final
      

Swap

  • $ swapon -s
    Filename                                Type            Size    Used    Priority
    /dev/sda1                               partition       262136  0       -1
    

disk device

Tiny Core Linux

boot with loopback (GRUB2)

  1. mitty@viola-debian:~$ wget http://distro.ibiblio.org/tinycorelinux/4.x/x86/release/microcore-current.iso
  2. mitty@viola-debian:~$ sudo cp -a microcore-current.iso /boot/
  3. mitty@viola-debian:~$ sudo vi /etc/grub.d/40_custom
    menuentry "microcore" {
     loopback loop /microcore-current.iso
     linux (loop)/boot/vmlinuz --
     initrd (loop)/boot/microcore.gz
    }
    
  4. mitty@viola-debian:~$ sudo update-grub

Attachments (9)

Download all attachments as: .zip