User Tools

Site Tools


linux:mintstick

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:mintstick [2020/08/09 18:22] Wulf Rajeklinux:mintstick [2024/12/27 23:36] (current) – [Partition USB Device] Wulf Rajek
Line 35: Line 35:
 </code> </code>
  
-===== Syslinux Bootloader (MBR) =====+alt: 
 +<code> 
 +apt-get install parted 
 +parted --script /dev/sdX mklabel gpt 
 +parted --script --align=optimal /dev/sdX mkpart ESP fat32 1MiB 100% 
 +parted --script /dev/sdX set 1 boot on 
 +mkfs.vfat -n MINTSTICK /dev/sdX1 
 +mount -t vfat /dev/sdX1 /mnt 
 +cd /mnt 
 +uniso < /path/to/isofile.iso 
 +cd ~ 
 +umount /mnt 
 +</code> 
 + 
 +===== Bootloader (MBR) ===== 
 + 
 +Both syslinux and grub are disk-based boot loaders, and perform similar functions. They are the first software loaded from disk to run. syslinux has pretty much taken a more minimalist approach, whereas GRUB was much more extensive. GRUB also supports different filesystems through the use of a secondary loader. 
 + 
 +Ubuntu and its derivatives use both grub and syslinux. GRUB is shown when the ISO image is booted on EFI-capable machine. SYSLINUX is shown when the ISO image is booted on BIOS-only machine. 
 + 
 +Plymouth handles the progress dot animation, regardless of GRUB or SYSLINUX is shown. 
 + 
 +==== Syslinux ====
  
 Syslinux is FAT filesystem based. Syslinux is FAT filesystem based.
Line 59: Line 81:
 enter any configuration options you need/want. enter any configuration options you need/want.
  
-OR+Additional information: https://wiki.archlinux.org/index.php/Syslinux
  
-===== Grub Bootloader (MBR) =====+==== Grub ====
 <code> <code>
 +sudo mkdir -p /mnt/usb
 sudo mount /dev/sdX1 /mnt/usb sudo mount /dev/sdX1 /mnt/usb
 sudo grub-install --target=i386-pc --boot-directory="/mnt/usb/boot" /dev/sdX sudo grub-install --target=i386-pc --boot-directory="/mnt/usb/boot" /dev/sdX
 </code> </code>
  
 +EFI installation. Does not install in MBR:
 +<code>
 +sudo mkdir -p /mnt/usb
 +sudo mount /dev/sdX1 /mnt/usb
 +grub-install --target=x86_64-efi --efi-directory=/mnt/usb --bootloader-id=GRUB
 +</code>
  
 ===== Copy data ===== ===== Copy data =====
Line 73: Line 102:
 sudo mkdir -p /mnt/usb sudo mkdir -p /mnt/usb
 sudo mount /dev/sdX1 /mnt/usb sudo mount /dev/sdX1 /mnt/usb
-sudo grub-install --target=i386-pc --boot-directory="/mnt/usb/boot" /dev/sdX 
  
 sudo mkdir -p /mnt/iso sudo mkdir -p /mnt/iso
Line 81: Line 109:
 </code> </code>
  
-===== Other notes ===== 
- 
-<code> 
-ubnkern 
-</code> 
linux/mintstick.1596993759.txt.gz · Last modified: 2023/05/29 11:53 (external edit)