Tiny Core Base > TCB Q&A Forum

[SOLVED] GRUB2 (w/ grub4dos?) to BOOT > vmlinuz + core.gz WITHOUT install ?

<< < (3/3)

tweed:
yes, grub4dos is up there in 'wow glad that exists' - land. 
i believe i stiill will need to use grub4dos (booted BY grub2, with grub2 in mbr)
to start some .bin and image files and there's some other reasons i can't quite recall right now.

grub2 has so much dev and the new bios methods has me thinking grub2
will be rightest for me to keep learning for multibooting.

lovin' that tinycore exists. it actually seems like it's gonna be very useful and understandable.

scuz:
i like persistance
mount -o iso_path i use /iso/coreplus  /mnt/folder name i use /boot/coreplus
rename the cde folder to tce in the i use /boot/corepluse


--- Code: ---menuentry "coreplus iso cde>tce" {
   load_video
   insmod lvm
   insmod gzio
 # insmod part_gpt
   insmod part_msdos
   insmod ext2
   insmod part_gpt
   set root='hd0,msdos1'
#  search --no-floppy --label A1EXT2 --set=root
    echo 'setting up isofile ...'
    set iso_path="/iso/CorePlus-16.1.iso"
#  search --set=root --file $iso_path
    echo 'setting up loopback'
    loopback loop (hd0,msdos1)/${iso_path}
    echo 'booting vmlinuz ...'
    linux (loop)/boot/vmlinuz iso=/mnt/sda1/${iso_path} loglevel=3 waitusb=5  showapps desktop=icewm  tce=sda1/boot/coreplus/tce noutc
    echo 'initrd ...'
    initrd (loop)/boot/core.gz
}
--- End code ---

you can use the set root or search lines

scuz:
non iso boot


--- Code: ---title coreplus sda1 cde>tce
   root (hd0,0)
   kernel /boot/coreplus/boot/vmlinuz waitusb=5 showapps desktop=icewm tce=sda1/boot/coreplus/tce noutc
     initrd /boot/coreplus/boot/core.gz

--- End code ---

Navigation

[0] Message Index

[*] Previous page

Go to full version