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 >
Hawk Offline





Group: Members
Posts: 4
Joined: June 2004
Posted: June 16 2004,15:30 QUOTE

I'm trying to get DSL to boot from a hard drvie using loadlin.
So far I've downloaded the ISO, and extracted it to a folder on a DOS partition, and i've extracted the boot image too.
I've tried to boot using a batch file, which is essentially:

loadlin vmlinuz initrd=miniroot.gz root=/dev/hda2

It boots, but the kernel panics and says it can't open an inital console - apparently I should have to pass 'init=' to the kernel. I've read through the loadlin documentation and I can't see how you do that with loadlin.

hda2 is a DOS partition, md5sums match and i've had this problem with several versions (0.6 though to 0.71 - which is what I'm using now)

Any ideas? It's probably something obvious I'm missing :)
Thanks in advance...
Back to top
Profile PM 
skaos Offline





Group: Members
Posts: 430
Joined: April 2004
Posted: June 17 2004,10:28 QUOTE

You should have the following files in the d:\knoppix directory (or is it d:\dsl?, assuming that hda2 is d:):
loadlin.exe
vmlinuz
miniroot.gz
KNOPPIX

Then use:
loadlin vmlinuz initrd=miniroot.gz
Back to top
Profile PM 
Hawk Offline





Group: Members
Posts: 4
Joined: June 2004
Posted: June 17 2004,13:14 QUOTE

I've got all those files in the folder (C:\Knoppix), and I'm using a batch file similar to the one you suggested but without "root=/dev/hda2" or similar then dsl complains about not being able to mount the root file system.
What's confusing me is that I can't see what I'm doing wrong but the kernel still can't open an inital console.
Back to top
Profile PM 
skaos Offline





Group: Members
Posts: 430
Joined: April 2004
Posted: June 17 2004,14:07 QUOTE

Seems like there is a problem with miniroot.gz. If I have understood the boot process correctly, miniroot is the initial root file system which is used to locate the compressed KNOPPIX file system image. KNOPPIX is then used for the rest of the boot process with autoconfiguring and so on.

In your first try, you try to access /dev/hda2 as a native linux file system which should contain a linux system with init and so on. Since hda2 is a dos file system, it won't work. Your second try, it tries to access miniroot.gz and as this dosn't work, it could be a problem with this file; if you extracted miniroot.gz from a diskette, are you sure that the diskette is ok (no bad sectors)?
Back to top
Profile PM 
Hawk Offline





Group: Members
Posts: 4
Joined: June 2004
Posted: June 30 2004,22:08 QUOTE

I'm actually trying to boot from a dos partition on my hard drive... Is that a problem?
Back to top
Profile PM 
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