how do i get bootnow to work with ubuntu 20.04

User discussion and information resource forum for scripting of TeraByte products using script lanugages such as TBScript, VBScript, Batch Files, and more.
zephyr98
Posts: 25
Joined: Wed Dec 04, 2013 2:34 pm

how do i get bootnow to work with ubuntu 20.04

Post by zephyr98 »

what is the secret to getting bootnow to work with ubuntu. id like to put the bootnow icon on the destop and add a parm for the bootit menu.

the centos method simply uses a mouse right click to adjust the command line. but what do i do for ubuntu 20.04
Brian K
Posts: 2491
Joined: Fri Aug 12, 2011 1:11 am

Re: how do i get bootnow to work with ubuntu 20.04

Post by Brian K »

zephyr98,

This is for Mint 22 and it worked in earlier versions

bjk/bn is in Home. bn contains bootnowu

boot_Win11.sh is

# /bin/sh
echo yourpassword | sudo bjk/bn/bootnowu Win11

I made a shortcut in Menu Editor
zephyr98
Posts: 25
Joined: Wed Dec 04, 2013 2:34 pm

Re: how do i get bootnow to work with ubuntu 20.04

Post by zephyr98 »

great.
but where does bootnowu come from. is it the execuatable in bootnow_linux.tgz? and what did you use for drvmap.inf?

also, what does 'Menu Editor' mean in ubuntu. i see that you are saying run a script from a desktop location.

when i do linux, it tends to be with centos/ rhel. so the ubuntu stuff is odd to me. im using it to get jitsi meet.
zephyr98
Posts: 25
Joined: Wed Dec 04, 2013 2:34 pm

Re: how do i get bootnow to work with ubuntu 20.04

Post by zephyr98 »

im getting closer i think.
1. installed jlauncher as the ubuntu launcher. there seems to be lots of words on whar an app launcher means in ubuntu land.
2. placed the bootnow bin from bootnow_linux.tgz in /usr/local/bin

the trub now is the drvmap.inf file. i do not know what to put there. i tried 80=/dev/sda and 80=/dev/sda1. both give errors. i do not know what '80' refers to in ubuntu speak. i do know that /dev/sda is the proper label for ubuntu land.

what did you use in mint22.
zephyr98
Posts: 25
Joined: Wed Dec 04, 2013 2:34 pm

Re: how do i get bootnow to work with ubuntu 20.04

Post by zephyr98 »

looking at your script for mint22, should i infer that 'Win11" is the bootit label for the os you are boothing, and that drvmap.inf is NOT used. im puzzled by the drvmap.inf instructions that came with bootnow_linux.tgz.

is you bootnowu app the one from bootit?
Brian K
Posts: 2491
Joined: Fri Aug 12, 2011 1:11 am

Re: how do i get bootnow to work with ubuntu 20.04

Post by Brian K »

Are you using a MBR system? I'm using UEFI.
zephyr98
Posts: 25
Joined: Wed Dec 04, 2013 2:34 pm

Re: how do i get bootnow to work with ubuntu 20.04

Post by zephyr98 »

embr disk using bootit 1.10. so the disk is embr with a multiple set of windows and linux partitions.

my mobo bios does not support uefi. and i dont want gpt on my small disk.

i will be trying mint 21 since it seems that it will allow non efi install. that was why i switched to ubuntu 20.4 from 22.4- efi not mandatory. (and please done bother with words why i should switch. etc. ) im doing it this way because the project path is appropriate for non efi/ embr.

the current problem is finding what ubunutu wants in the drvmap.inf file. i hoping that bootnowu works on embr. i know what drvmap should be under rhel. but what should be be under debian?
Brian K
Posts: 2491
Joined: Fri Aug 12, 2011 1:11 am

Re: how do i get bootnow to work with ubuntu 20.04

Post by Brian K »

zeppyr98,

I can't recall what I did with BootNow in a MBR system. Sorry.

Bootnowu is not for MBR systems.
drvmap.inf isn't used in UEFI systems.
Brian K
Posts: 2491
Joined: Fri Aug 12, 2011 1:11 am

Re: how do i get bootnow to work with ubuntu 20.04

Post by Brian K »

Standby. I found some old notes.
TeraByte Support
Posts: 3891
Joined: Thu May 05, 2011 10:37 pm

Re: how do i get bootnow to work with ubuntu 20.04

Post by TeraByte Support »

from readme:

bootnow must be run as the superuser.

You must update/create a file named drvmap.inf that maps the Linux device
files to the BIOS drive numbers. BootNow requires drvmap.inf to be
readable in the current directory with drive 80 (hd0) mapped.

For example: 80=/dev/hda

Basically 80 = HD0 in the BIOS (boot drive). 81=second HD, etc..

The file has to be in the "current directory" when run so ensure you script changes directory to where you put all the bootnow files.

and ensure you're root (sudo)
Post Reply