[LinksOS CVS Commit]linksos INSTALL,NONE,1.1 COPYING,1.1,1.2
Status: Inactive
Brought to you by:
terencevs
|
From: <bg...@us...> - 2003-02-03 12:51:13
|
Update of /cvsroot/linksos/linksos
In directory sc8-pr-cvs1:/tmp/cvs-serv19578
Modified Files:
COPYING
Added Files:
INSTALL
Log Message:
Title: Install instructions
Changes: Added file INSTALL that contains the installation instructions
Effects: This field is redundant
t=n/a b=none
--- NEW FILE: INSTALL ---
First obtain, compile and install grub onto your system. (Install here
doesn't mean to use it as you bootloader but have its program files correctly
placed on your system)
Install grub of a floppy in the manner described below:
1. Format a floppy disk in FAT/EXT/ any supported format:
mkfs -V -t msdos /dev/fd0 <== use fd0 or fd1 as appropriate
2. Mount the floppy:
mount /dev/fd0 /mnt
3. Create a boot directory and a grub directory on the floppy:
mkdir /mnt/boot
mkdir /mnt/boot/grub
4. Copy stage1 & stage2 files to the floppy:
cp -pa /usr/local/share/grub/i386-pc/stage* /mnt/boot/grub
5. Unmount the floppy disk:
umount /mnt
6. Create /(wherever you want)/grubfd.conf file to look as follows:
root (fd0)
install /boot/grub/stage1 d (fd0) (fd0)/boot/grub/stage2 0x8000
quit
7. Install GRUB on the floppy disk(this has to be done as root):
grep -v ^# /(path to grubfd.conf)/grubfd.conf | grub --batch
The following is the output of the above command:
GRUB version x.x.xx (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> root (fd0)
Filesystem type is fat, using whole disk
grub> install /boot/grub/stage1 d (fd0) (fd0)/boot/grub/stage2 0x8000 p
(fd0)/boot/grub/menu.lst
grub> quit
8. Now in /boot/grub/ we need to create menu.lst to look as follows:
timeout 30
title LinksOS
kernel /boot/kernel.elf
9. Now make kernel.elf and copy it onto /boot/ on the floppy
10. Whenever you make chages to the kernel, you do not have to repeat all the
above processes, just make the kernel and repeat step 9.
And you are Done, pop the disk into your floppy, power up and links will boot.
-----------------------
Brian G. Muita
Index: COPYING
===================================================================
RCS file: /cvsroot/linksos/linksos/COPYING,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** COPYING 26 Jan 2003 11:46:12 -0000 1.1
--- COPYING 3 Feb 2003 12:51:00 -0000 1.2
***************
*** 2,12 ****
All rights reserved.
! Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
! 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
! 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
! 3. Neither the name of the LinksOS Developer Team nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--- 2,27 ----
All rights reserved.
! Redistribution and use in source and binary forms, with or without modification
! , are permitted provided that the following conditions are met:
! 1. Redistributions of source code must retain the above copyright notice, this
! list of conditions and the following disclaimer.
! 2. Redistributions in binary form must reproduce the above copyright notice,
! this list of conditions and the following disclaimer in the documentation
! and/or other materials provided with the distribution.
! 3. Neither the name of the LinksOS Developer Team nor the names of its
! contributors may be used to endorse or promote products derived from this
! software without specific prior written permission.
! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
! ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
! WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
! DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
! ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
! (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
! LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
! ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
! (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
! SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|