Minix Newbie

This is a discussion on Minix Newbie within the Minix forums, part of the Other OS category; Hi.. I installed Minix from the book CD and installed all the packages. As a simple exercise I want to change the welcome message in Minix. So, I identified the ...

Go Back   Unix Linux Forum > Unix > Other OS > Minix

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-27-2008, 07:59 AM
Default Minix Newbie

Hi..

I installed Minix from the book CD and installed all the packages.
As a simple exercise I want to change the welcome message in Minix.

So, I identified the welcome message in /usr/src/boot/boot.c file and
modified it.

Now, I am wondering how to compile the boot block or boot monitor.

I executed 'make clean' inside /usr/src/boot followed by 'make ' and
then 'make install'.

Then I restarted the machine and did not find my change in the boot
monitor.

How should I perform the make operation to see my change.

Secondly, is boot monitor part of the kernel ?

- Krish
Reply With Quote
  #2  
Old 08-27-2008, 08:23 AM
Default Re: Minix Newbie

On Aug 27, 1:59*pm, mailkrish...@gmail.com wrote:
> I installed Minix from the book CD and installed all the packages.
> As a simple exercise I want to change the welcome message in Minix.
>
> So, I identified the welcome message in /usr/src/boot/boot.c file and
> modified it.


You shouldn't need to recompile the kernel just to change the boot
message. Just edit /etc/motd

# cat >/etc/motd
Hello world.
This is my message.

(press Ctrl+D to close cat)

Daniel.
Reply With Quote
  #3  
Old 08-27-2008, 08:53 AM
Default Re: Minix Newbie

mailkrishnas@gmail.com wrote:
> I executed 'make clean' inside /usr/src/boot followed by 'make ' and
> then 'make install'.


> Then I restarted the machine and did not find my change in the boot
> monitor.


> How should I perform the make operation to see my change.


Go to /usr/src/tools and look at the Makefile there. "make fresh install"
there will completely rebuild your system, but there's other options in
there as well. You might have to type "unset image" in the boot monitor as
well to force the boot monitor to look for a new image.

> Secondly, is boot monitor part of the kernel ?


No, it is not. The boot monitor is a program capable of reading the Minix
file system and loading a program from a disk to execute it. The boot
monitor enables you to select which boot image to load and pass options to
the system at boot time. Also, because Minix can return to the boot
monitor, it is possible to restart Minix without going through the BIOS.
Both features are very nice to have on an experimental OS.

Regards,

Jens

--
Jens de Smit
Student Computer Science | Vrije Universiteit Amsterdam
jfdsmit@few.vu.nl | http://www.few.vu.nl/~jfdsmit
"[In the end, people] get furious at IT that the goddamn magic isn't working"
-- Stewart Dean
Reply With Quote
  #4  
Old 08-27-2008, 07:02 PM
Default Re: Minix Newbie

J.F. de Smit escreveu:

> The boot monitor enables you to select which boot
> image to load and pass options to the system at boot
> time.


I've not yet studied the boot monitor in depth. It's
schedulled latter (after the VFS journey).

> Also, because Minix can return to the boot monitor,
> it is possible to restart Minix without going through
> the BIOS. Both features are very nice to have on an
> experimental OS.


I love this feature. :-)

--
João Jerónimo

"Computer are composed of software, hardware, and other stuff terminated
in "ware", like firmware, tupperware, (...)" - by JJ.
Reply With Quote
  #5  
Old 08-27-2008, 11:35 PM
Default Re: Minix Newbie

Hi,

Thanks for your reply.
I have on another question - Can I make the book monitor alone and
install it without rebuilding the whole system ?

- Krish


On Aug 28, 4:02*am, João Jerónimo
wrote:
> J.F. de Smit escreveu:
>
> > The boot monitor enables you to select which boot
> > image to load and pass options to the system at boot
> > time.

>
> I've not yet studied the boot monitor in depth. It's
> schedulled latter (after the VFS journey).
>
> > Also, because Minix can return to the boot monitor,
> > it is possible to restart Minix without going through
> > the BIOS. Both features are very nice to have on an
> > experimental OS.

>
> I love this feature. :-)
>
> --
> João Jerónimo
>
> "Computer are composed of software, hardware, and other stuff terminated
> in "ware", like firmware, tupperware, (...)" - by JJ.


Reply With Quote
  #6  
Old 08-28-2008, 02:49 AM
Default Re: Minix Newbie

mailkrishnas@gmail.com wrote:
> Hi,


> Thanks for your reply.
> I have on another question - Can I make the book monitor alone and
> install it without rebuilding the whole system ?


Yes, you should be able to do that. Don't ask me how though, I've never
felt the need to alter the boot monitor. It works just fine as it is and
if it breaks, you'll need to hassle around with CD's or boot floppies just
so you can reinstall a working boot monitor...

Regards,

Jens

--
Jens de Smit
Student Computer Science | Vrije Universiteit Amsterdam
jfdsmit@few.vu.nl | http://www.few.vu.nl/~jfdsmit
"[In the end, people] get furious at IT that the goddamn magic isn't working"
-- Stewart Dean
Reply With Quote
  #7  
Old 08-29-2008, 04:13 PM
Default Re: Minix Newbie

J.F. de Smit escreveu:

> Yes, you should be able to do that. Don't ask me how though, I've never
> felt the need to alter the boot monitor. It works just fine as it is and
> if it breaks, you'll need to hassle around with CD's or boot floppies just
> so you can reinstall a working boot monitor...


You can always clone your system to a neighbouring partition and modify the
monitor there.

--
João Jerónimo

"Computer are composed of software, hardware, and other stuff terminated
in "ware", like firmware, tupperware, (...)" - by JJ.
Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 04:29 PM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger