Showing posts with label ISO. Show all posts
Showing posts with label ISO. Show all posts

2019-03-26

GRUB2 multiboot ISO 2018


GRUB2 multiboot ISO (2014)


Linux ISO default


Arch Linux  2019.01.01


Cent OS  7 1810


clonezilla 2.5.6-22



Debian 9.6.0


FreeBSD 12.0


Fedora 29-1.2


Gentoo 20160704


Kali 2018.4


Knoppix V8.2-2018-05-10


kubuntu 18.10


Linuxmint 19.1


LMDE 3-201808


lubuntu 18.10


NST 28-10439


Pentoo 2018.0_RC8


openSUSE 15.0


slitaz 2019.01.06


Ubuntu 18.10


UbuntuStudio 18.10


Win10 (partition NOT ISO)

2014-03-17

GRUB2 multiboot ISO


GRUB2 multiboot ISO 2018 update

USB:
/boot/grub
/boot/iso
/boot/image
/boot/tc4
/boot/tc5
/boot/syslinux

get USB UUID & Label:
> blkid



/boot/grub.sh


/boot/grub/grub.env (1024byte)


/boot/grub/grub.cfg




/boo/grub/grub_hd.cfg (Harddisk)


/boo/grub/grub_fd.cfg (Floppy)



/boo/grub/grub_pe.cfg (Windows PE)

Linux:

/boo/grub/grub_tci.cfg (Tiny Core Linux)

/boo/grub/grub_sl.cfg (Slax)

/boo/grub/grub_u.cfg (Ubuntu)


/boo/grub/grub_d.cfg (Debian)


/boo/grub/grub_cd.cfg (CDLinux)


/boo/grub/grub_cr.cfg (ChromeOS)


/boo/grub/grub_s.cfg (openSUSE)


/boo/grub/grub_ce.cfg (CentOS)
* rdshell
method 1:
set rootopt="root=live:LABEL=CentOS-${ver}-${bit}-${live}"

boot into rdshell

1a: boot from RAM
# mkdir 1 2
# mount /dev/<usb partition> 1
# cp 1/boot/iso/<Centos ISO> 2
# umount 1
  (remove USB)
# exit

1b: boot from USB
# mkdir 1 2
# mount /dev/<usb partition> 1
# mount -o loop 1/boot/iso/<Centos ISO> 2
# exit

method 2:
set rootopt="root=live:${ISO_Path}/${iso}"

boot into rdshell

2a: boot from RAM
# mkdir -p boot/iso 1
# mount /dev/<usb partition> 1
# cp 1/boot/iso/<Centos ISO> boot/iso
# /init

2b: boot from USB
# mkdir -p boot 1
# mount /dev/<usb partition> 1
# ln -s /1/boot/iso /boot
# /init

2014-03-13

Tiny Core Linux extract file


RPM:
rpm2cpio filename.rpm | cpio -vid
  -- OR --
rpm -i filename.rpm

deb:
ar p filename.deb data.tar.gz | tar xz
  -- OR --
ar vx filename.deb
tar -xzvf data.tar.gz

tcz:
  unsquashfs myStartup.tcz
  mksquashfs squashfs-root myStartup.tcz
--OR--
    sudo mount -o loop extension.tcz /tmp/image
    tcz-pack (package-tools.tcz)

lzma:
    tar --lzma -xvf file.tar.lama
  xz -d file.tar.lzma

cab:

ISO: 
sudo mount -t iso9660 -o loop

ISO: udf,iso13346
sudo mount -t udf,iso13346 -o loop

vdi: (qemu.tcz) - use qemu connect the VDI to /dev/nbd?
   rmmod nbd
   modprobe nbd max_part=16
   qemu-nbd [-r] -c /dev/nbd0 <vdi-file>
   mount /dev/nbd0p1 /mnt
   umount /mnt
   qemu-nbd -d /dev/nbd0

initrd.gz/core.gz:  http://wiki.tinycorelinux.net/wiki:remastering
    zcat tinycore.gz | sudo cpio -i -H newc -d
    sudo find | sudo cpio -o -H newc | gzip -2 > ../tinycore.gz

initrd.img:
    mount -t sysfs /inventAnonExistentFilename.whatever targetDirectory/