Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: cast-fish on April 25, 2015, 06:04:29 AM

Title: boot parameters
Post by: cast-fish on April 25, 2015, 06:04:29 AM
Hello

Is it possible to tell Tcl to display the familiar "boot" prompt
where users can edit the computers boot parameters
(even when TCL boots from a frugal HDD install....)

iF it is possible then can you please tell me how?

V


Title: Re: boot parameters
Post by: Juanito on April 25, 2015, 06:11:26 AM
Do you want to display the boot options or enter boot options?

In either case it will depend on your boot loader (grub, syslinux, etc) and how it is set up.
Title: Re: boot parameters
Post by: cast-fish on April 25, 2015, 06:18:02 AM
Hello Juanot,


It's so that it's possible to enter boot options. I think the loader is syslinux

V
Title: Re: boot parameters
Post by: Juanito on April 25, 2015, 06:25:26 AM
Looking at:
Code: [Select]
display boot.msg
default microcore
label microcore
kernel /boot/vmlinuz
initrd /boot/core.gz
append loglevel=3

label mc
kernel /boot/vmlinuz
append initrd=/boot/core.gz loglevel=3
implicit 0
prompt 1
timeout 300
F1 boot.msg
F2 f2
F3 f3
F4 f4

..I'd guess it's "prompt 1" that gives the prompt for additional boot codes?
Title: Re: boot parameters
Post by: cast-fish on April 25, 2015, 06:29:50 AM
RIght

So i will edit the bootloader "Syslinux" file and place

"prompt 1" in it.


Thanks

V
Title: Re: boot parameters
Post by: cast-fish on April 25, 2015, 07:09:48 AM
uh...yes that makes the computer display a boot prompt ...but won't accept any
boot parameters

For example

$boot  tc noswap   (Etc)

it says "error cannot find the Kernel called "tc"......"

should i be using  $boot core noswap    (etc........)

----------------------------------------

this is my syslinux boot stanza

DEFAULT core
LABEL core
KERNEL /tce/boot/vmlinuz
APPEND initrd=/tce/boot/core.gz quiet vga=785 tce=/mnt/sda1 desktop=fluxbox waitusb=5:UUID="15fef4d5-cd2e-4181-9473-f78a7f32c33a" tce=UUID="15fef4d5-cd2e-4181-9473-f78a7f32c33a"
prompt 1   
timeout 20

-------------------------------------------

just added those 2 lines at the bottom


V
Title: Re: boot parameters
Post by: Juanito on April 25, 2015, 08:07:49 AM
you could try "core noswap" or just "noswap"
Title: Re: boot parameters
Post by: cast-fish on April 25, 2015, 08:10:51 AM
yeah ...tried just "noswap"  same error message "error can't find kernel noswap"

will try ........core noswap


after that i don't know

thx

V
Title: Re: boot parameters
Post by: cast-fish on April 25, 2015, 08:18:40 AM
Hi

the "core" flag worked....

so thanks a lot


V