How to install JNode

I'v got the ISO image from Downloads
And saw the menu after I put the IS in VMware and start it.
But which one should I chose if I want to install the JNode?

Thx
lok

i selected the first menu(def

i selected the first menu(default)
and then the GRUB do a mess
finally i got the prompt
but i found just one directry (say jnode)
is that real?

Installing

You can't really install JNode right now (well you can put the kernel image and the module on your hard disk, install grub and use it to boot the kernel if you want).

> and then the GRUB do a mess
what do you mean?

> but i found just one directry (say jnode)
it is a ramdisk device that gets formatted to FAT and mounted automatically as "jnode" (you can also mount your existing FAT/NTFS/EXT2 partitions).

You can say "alias" in the shell to see what commands are available if you would just like to start playing around with JNode. There is also some documentation available on this page. And you are welcome to join and help with the development!

greets,
Andras

Installing

>You can't really install JNode right now (well you can put
>the kernel image and the module on your hard disk, install
>grub and use it to boot the kernel if you want).
Please provide step by step information on doing this?
Hope you understand me cause I've been prisoned on windows os.
More power to jnode!!!

install on hd

Hi,

So here is what you can do:

1) get the sources from CVS and build them to get the kernel (jnodesys.gz) and module files (full.jgz or default.jgz or install.jgz). You will need Nasm 0.98 and Ant to be able to build, this page has some info on the build process. (By the way there are a lot of bugfixes since the 0.1.7 version, so it really makes sense to use the current version anyway.)

2) create a grub config file. Probably the easiest way to get this is to copy the [JNODE_ROOT]/all/build/x86/bootdisk/boot/grub/menu.lst to your root directory and modify it accordingly (so that the "kernel" and "module" settings point to the [JNODE_ROOT]/all/build/x86/bootdisk/jnodesys.gz and [JNODE_ROOT]/all/build/x86/bootdisk/full.jgz files)
(Grub can boot a kernel image from a fat, ffs of ext2 filesystem, but I don't think it knows ntfs, so be aware of that)

3) install Grub (If you are not familiar with grub, I would really recommend reading the grub manual on how to do this. If you are using windoz, maybe the easiest way to do this is booting a live-cd linux (like knoppix) and using grub-install with the --root-directory parameter set to the directory where you have put your menu.lst. You can also boot windoz with grub by an appropriate entry in your menu.lst)

Alternatively, you can make grub boot disks and use them to boot, so you don't have to install grub on your hard disk.

Basically that would be it. But as JNode is not yet ready for everyday use, if you have vmware of qemu I think you are better off using them to get some experience with JNode.

Andras

NTFS is also supported by grub !

Hi,

because I created an Ant target to add a menu to the NT/XP/2000 Bootloader, I can say that NTFS is also supported by grub.

Please see my post for more informations.

Fabien

i can't find the mount comman

i can't find the mount command
is JNode running on fat16?
and how to creat a file (like a.java)

use touch

to create files.
e.g.

touch /jnode/test.txt

will create the file named test.txt on the initial ramdrive named jnode.

Trickkiste

well thx a lot but..

what can i do if i want to edit the file?
i'm not familiar with the command..
and where is the documentation described in details?

regards
Lok

edit

There is a text editor that you can start with the 'edit' command.

The only documentation currently available is this (besides the source). If you just need help on a specific command, "help <command>" should tell you the required parameters (there is also command line substitution, by pressing TAB you get a list of the possible arguments).

I know your problem...

Hi,
you created a virtual disk in vmware and tried to install JNode on it.
but the vmware disk is
1) unpartitioned
2) therefor not formated
JNode tries to read the partition table on startup.
With every entry in the table and the first sector of the corresponding partition JNode tries to mount a registered filesystem.
The result with unpartitioned disks is :
You have to partition your disk and format it.
Afterwards it should be mounted by JNode.

Trickkiste

well partitioned, but...

i'v got my vmware disk patitioned to fat16
when i boot from iso
i select jnode install,but the process stuck in some step.
r these the proper steps?

regards
Lok

does Jnode

mount the fat16 partition? (default in grub not install)
If so, the dir command should display [hdax] where x is the partition on the first disk (e.g. 0 for the first partition on that harddisk)

Please take a look at exceptions during startup of JNode (in most cases red lines on screen). If there are any exceptions dealing with harddisk stuff please post them.

Trickkiste

another question is i instal

another question is
i install the jnode in vmware and set the NAT method
the command dhcp works?
it seems to be some problems

dns?

hi,
what is the problem with dhcp ? I think dns does not work proper.
try :
cat http://216.239.51.99/
if the result looks like a html page your network with vmware / nat / dhcp works.
If it does not work, try post the output of
1) the dhcp command
2) cat command

Trickkiste