WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: boot parameters  (Read 2970 times)

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
boot parameters
« on: April 25, 2015, 03: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



Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14630
Re: boot parameters
« Reply #1 on: April 25, 2015, 03: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.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: boot parameters
« Reply #2 on: April 25, 2015, 03:18:02 AM »
Hello Juanot,


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

V

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14630
Re: boot parameters
« Reply #3 on: April 25, 2015, 03: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?

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: boot parameters
« Reply #4 on: April 25, 2015, 03:29:50 AM »
RIght

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

"prompt 1" in it.


Thanks

V

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: boot parameters
« Reply #5 on: April 25, 2015, 04: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
« Last Edit: April 25, 2015, 04:12:13 AM by cast-fish »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14630
Re: boot parameters
« Reply #6 on: April 25, 2015, 05:07:49 AM »
you could try "core noswap" or just "noswap"

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: boot parameters
« Reply #7 on: April 25, 2015, 05: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

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: boot parameters
« Reply #8 on: April 25, 2015, 05:18:40 AM »
Hi

the "core" flag worked....

so thanks a lot


V