syslinux

warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/panticz.de/modules/taxonomy/taxonomy.pages.inc on line 33.

btrfs

sudo apt-get install btrfs-tools
# mkfs.btrfs /dev/sdb
sudo mkfs.btrfs -L lxc /dev/sdb1

# list volumes
btrfs filesystem show

# list subvolumes
mount /dev/sdb1 /mnt/
btrfs subvolume list /mnt/

# create subvolume
sudo btrfs subvolume create /mnt/@sub1

# get default subvolume
btrfs subvolume get-default /mnt/

# set default subvolume
btrfs subvolume set-default 299 /mnt/

# mount subvolume
mount -o subvol=new_subvol /dev/sdb1 /tmp/2

btrfs filesystem resize 64g /mnt

# enable comprsssion (mountparameter)
compress

# /etc/fstab

syslinux.cfg

# create usb disk
cp /usr/lib/syslinux/vesamenu.c32 /mnt    
cp /usr/lib/syslinux/memdisk /mnt
 
# tinycorelinux
wget ftp://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/release/tinycore_2.1.iso -P /tmp
mount /tmp/tinycore_2.1.iso /mnt/ -o loop
cp /mnt/boot/bzImage /mnt/boot/tinycore.gz  /media/USB_MINI/boot/tinycore/
 
# netinstall
mount mini.iso /mnt/ -o loop
cp /mnt/initrd.gz /mnt/linux /media/USB_MINI/boot/netinstall/
 
 
 
# syslinux.cfg
default boot/vesamenu.c32
timeout 100
menu title Multi Boot USB
 
LABEL Localboot
localboot 0x80
 
LABEL Ubuntu
KERNEL /c
Syndicate content