On Tue, 01 Jul 2003, Ed Suominen wrote:
> For some weird reason, one of my thin clients quit booting over the network.
I would try to track this one down - it might mean there is something
more serious wrong.
> Could I put vmlinuz-2.4.19-ltsp-1 onto the root partition of a hard disk and
> put the entire contents of /opt/ltsp/i386/ onto another partition of it and
> boot from the hard disk? Would I need to mess with GRUB or LILO?
I have a method for booting from hard disk - works excellently in a
dual-boot environment.
We come across schools that have a working Windows lab, and I am loth
to gratuitously break it when installing LTSP.
I do the following :-
Create a C:\LINUX directory under Windows (or DOS, or blank hard disk).
Named LINUX - the better to keep fingers out ..
In it I put :-
drwxr-xr-x andyr/andyr 0 2003-05-29 11:06:18 linux/
-rwxr-xr-x andyr/andyr 1030147 2003-04-30 16:59:22 linux/vmlinuz
-rwxr-xr-x andyr/andyr 65536 2003-05-02 06:42:06 linux/3c905b.bin
-rwxr-xr-x andyr/andyr 67580 2001-01-21 21:22:12 linux/memtest.bin
-rwxr-xr-x andyr/andyr 655 2003-05-29 10:42:26 linux/lilo.con
-rwxr-xr-x andyr/andyr 23108 2003-04-30 17:05:06 linux/message
-rwxr-xr-x andyr/andyr 124422 2003-04-30 17:02:04 linux/initrd
-rwxr-xr-x andyr/andyr 512 2003-04-30 17:29:32 linux/boot.dos
-rwxr-xr-x andyr/andyr 6128 2001-07-21 17:11:58 linux/boot.b
-rwxr-xr-x andyr/andyr 624 2001-07-21 17:11:58 linux/chain.b
-rwxr-xr-x andyr/andyr 427692 2001-07-21 17:12:52 linux/lilo
-rwxr-xr-x andyr/andyr 9728 2003-05-02 06:42:52 linux/map
-rwxr-xr-x andyr/andyr 65536 2003-05-29 08:59:09 linux/rtl8029.bin
-rwxr-xr-x andyr/andyr 670 2003-05-29 11:06:18 linux/rtl8029.lil
Which basically consists of the kernel, initrd, a statically
linked lilo and its trappings, like boot.b/chain.b, and a
lzlilo etherboot image for the card I am using from rom-o-matic.net.
rtl8029.lil is a lilo file - that looks like this :-
---------------------------- snip snip -----------------
# Start LILO global Section
# If you want to prevent console users to boot with init=/bin/bash,
# restrict usage of boot params by setting a passwd and using the option
# restricted.
#password=bootpwd
#restricted
boot=/dev/hda
install=/mnt/linux/boot.b
map=/mnt/linux/map
backup=/mnt/linux/boot.dos
#compact # faster, but won't work on all systems.
vga=normal
menu-scheme=Wg:kw:Wg:Wg
read-only
prompt
default=LTSP
# timeout=50
# End LILO global Section
#
other=/dev/hda1
label=Windows
loader=/mnt/linux/chain.b
#
image = /mnt/linux/memtest.bin
label = memtest86
optional
image = /mnt/linux/rtl8029.bin
label = LTSP
optional
---------------------------- snip snip -----------------
I then use toms root/boot ( http://www.toms.net/rb )
and boot from floppy.
I mount /dev/hda1 (the Windows partition) on /mnt
I mount a floppy with linux.tgz (that contains the files) on /fl
# cd /mnt
# gzip -d -c /fl/linux.tgz | tar xf -
# /mnt/linux/lilo -C /mnt/linux/rtl8029.lil
And it is all finished.
Now when I boot from the hard drive, I get a lilo menu,
with a choice of Windows, memtest86, or LTSP.
If you want it always booting to LTSP, uncomment the timeout line.
If there is sufficient interest, I will throw it all together
with a HOWTO.
Cheers, Andy! http://www.wizzy.org.za/
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net