Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 2 [3] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Booting with loadlin< Next Oldest | Next Newest >
Rapidweather Offline





Group: Members
Posts: 375
Joined: Jan. 2004
Posted: Aug. 08 2004,23:32 QUOTE

Here is how I get loadlin to work:    (Don't have to use a boot floppy)
---
First, I have my /knoppix folder in my Windows 98 partition, /dev/hda1.
There, the files are:
knoppix (using my remaster, it's 65MB)
boot.img
boot.cat
---
Then, I have a separate directory C:\DSL, where I have my vmlinuz, miniroot.gz, and my linux.bat file.
---
When I want to start DSL, I have to first start Windows with the F8 key, and use
choice 6, which starts windows to a command prompt only without any Autoexec.bat or Config.sys.
For now, I just cd to the C:\DSL directory, and type "linux" to run the
batch file.
---
I am running DSL now, so cannot get into the /dev/hda1 partition, as that
is my /cdrom directory in DSL, so I cannot show you my linux.bat file.
I will reboot into something else, maybe Windows, and post that file for you
to see in this thread.
---
If you start windows normally, and just exit to a msdos prompt, then your
autoexec.bat files and config.sys files are loaded, and although DSL will
boot, "X" will not, and you'll get this error message:
---
XIO: fatal IO error 104 (connection reset by peer) on X server ":0.0"
after 0 requests () known processed) with ) events remaining.
---
You will not be able to use startx, and running xsetup.sh won't get you
into X either. You must start Windows without any Autoexec.bat or
Config. sys.
---
Why do I have those files in my Windows 98?, I use Arachne 1.70, and
have to use them for upper memory support and mouse driver.
This machine also has Mandrake 8, and Debian 2.2 on it, with loadlin
shortcuts on the Windows 98 desktop, and also a msdos menu that can
select them, or Windows, or a msdos prompt.
---
I'm using System Commander also, but the OS choices there are only
Windows, Windows prompt, and boot from floppy.
---
I suppose I can start the machine to the Windows prompt, using the F8
key to get a clean (without autoexec.bat or config.sys) start, so I can
then run the linux.bat file.
Copies of the linux.bat file can be placed in C:windows, so I can start up
from there also.
   :D


--------------
Rapidweather Remaster of DSL:
http://www.angelfire.com/ms/telegram/getting_started.html
Rapidweather Remaster of Knoppix Linux:
http://www.geocities.com/rapidweather/getting_started.html
Screenshots:
http://www.rapidweather.com/linuxcdsales.html
Back to top
Profile PM WEB 
Rapidweather Offline





Group: Members
Posts: 375
Joined: Jan. 2004
Posted: Aug. 08 2004,23:45 QUOTE

Here is the linux.bat file to go with the above post:
---
@ECHO OFF
REM This is linux.bat
REM This file is in the C:\dsl directory
REM adjust the following for your installation:

REM Your DSL Linux system boots from hda1 (hopefully)

loadlin.exe vmlinuz root=/dev/hda1 initrd=miniroot.gz lang=en ro console=ttyS2
---
You may use console=ttyS1 also. This is not
important, but keeps a lot of the linux bootup text from showing on your screen, and goes right to the files in miniroot.gz.
---
You do not get a boot: prompt with this setup, so if you restore
you'll have to do that after DSL boots up. Normally, I do this:
boot: knoppix restore=/dev/hdb1
The boot: prompt will appear if using a boot floppy, but not
with my loadlin setup.
---

:D


--------------
Rapidweather Remaster of DSL:
http://www.angelfire.com/ms/telegram/getting_started.html
Rapidweather Remaster of Knoppix Linux:
http://www.geocities.com/rapidweather/getting_started.html
Screenshots:
http://www.rapidweather.com/linuxcdsales.html
Back to top
Profile PM WEB 
11 replies since June 16 2004,15:30 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 2 [3] >/
reply to topic new topic new poll
Quick Reply: Booting with loadlin

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code