Figured lets start with something "easy".
hardware:
- Laptops/Desktops, new and old machines.
- USB HDD (with UAS, USB-to-SCSI) or USB stick.
- USB 2.0 (using USB 2.0 hub since never sure about compatibility over USB 3.0/3.1)
Partitioning:
1#: Primary (FAT16, active, bootable, grub4dos)
#: Extended Partition
5#: Logical (FAT32)
6#: Logical (NTFS)
7#: Logical (NTFS)
bootloader / OS: G4D (0.4.6a), Debian Live Stretch 9.5.0
Example (boot from ISO):
Code:
kernel (hd0,5)/LIVE/vmlinux boot=live components findiso=/LIVE/live.iso nopersistence noeject
initrd (hd0,5)/LIVE/initrd.img
(can also use fromiso=/dev/sda6/LIVE/live.iso which makes no difference except being faster maybe)
Example (boot from logical partition directly):
Code:
kernel (hd0,5)/LIVE/vmlinux boot=live components bootfrom=/dev/sda6 nopersistence noeject
initrd (hd0,5)/LIVE/initrd.img
Now there's 2 problems here:
1. Either initramfs fails or debian doesn't know what FAT16. (Mounting of /dev/sda1 fails as it some magical way attemps to mount it as ext4, if I view /etc/fstab at live system. Remounting is possible using vfat type.)
2. Mounting 3rd logical (or primary) NTFS partition at /dev/sda7 fails. ntfs-3g fails to mount it so does "mount -t ntfs ..."
Question:
Is there anyway to pass mount parameters to kernel at command-line ?
- I know fromiso/findiso mounts the partition with ISO/SquashFS at '/lib/live/media/fromiso' Read-Writable as root. So, can I also somehow pass parameter to kernel/initramfs to mount 3rd logical partition the same way?
Example: somepath=/dev/sda7 (which would also appear at /lib/live/media/somepath
- As for boot partition identified as ext4, well would be also nice to pass parameters, so, it would be identified as vfat (or FAT16).