LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 09-28-2003, 10:20 PM   #1
dabigpig
LQ Newbie
 
Registered: Sep 2003
Location: canada
Distribution: mandrake 8.1
Posts: 3

Rep: Reputation: 0
zipslack




i'm not a total newbie to linux but ya i should be treated as one... i have played with mandrake 8.1 for a couple weeks but haven't had a system that i can keep it on so when i read about zipslack i decided to give it a try... after i finally figured out my partitioning in the linux.bat and was happy that i didn't see the VFS: unable to mount root error and just as i was about to break out the champaign i get "kernel panic: no init found Try passing init= option to kernel" now i have no clue what this means or how to fix it but am willing to figure it out... with you're help of course. i have been playing for a dayish with it and this is as far as i have gotten... plz help

thx
-- ^-_-^
 
Old 09-29-2003, 05:08 AM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 57
Welcome to LQ, dabigpig.

Sometimes there are things that are required to boot the kernel but are not directly supported by the kernel (filesystems, etc). These are often put into something called an initial ramdisk. Using loadlin (the DOS app to boot Linux - used as part of your boot.bat) you can pass the option init=initrd.gz. Make sure you know where your initrd.gz file is, obviously.

This is actually harder to do on fully installed systems but relatively easy to sort out with loadling/umsdos systems... and luckily you have the latter
 
Old 09-30-2003, 12:42 AM   #3
dabigpig
LQ Newbie
 
Registered: Sep 2003
Location: canada
Distribution: mandrake 8.1
Posts: 3

Original Poster
Rep: Reputation: 0
so from dos when i run loadlin i would type the following?

C:\linux>loadlin init=C:\linux\dev\initrd.gz

and once i do this will i ever have to do this again or everytime i wanna start zipslack....

jeeze i feel like such a n00b.... well i am... sorry if i'm stupid it's just hard cuz i know my windows machine inside and out but have just barely begun to scratch the surface with linux.
 
Old 09-30-2003, 07:14 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Cornwall, England.
Distribution: Debian + Ubuntu
Posts: 4,345

Rep: Reputation: 57
No...

Loadlin needs a number of parameters, and so it is easier to put them into a 1 line batch file and run that instead

Firstly a few questions.

Do you know which partition you installed Linux onto? (/dev/hda2?)
Do you have a copy of the kernel file itself? (vmlinuz?)
Do you have a copy of the initrd file?

If you answered yes to all of the above, then you can use loadlin like this:
C:\LOADLIN> loadlin kernel /dev/partition initrd=initrdfile
Obviously substituting the kernel with your vmlinuz file, the partition with the appropriate partition, and the initrdfile with your initrd.gz file. With those in place, you should then boot into your Linux system.
 
Old 10-01-2003, 07:57 AM   #5
aaa
Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
From DOS, run:
C:\linux\loadlin.exe C:\linux\vmlinuz root=/dev/hda1 rw
If that works, put it in your C:\linux\linux.bat instead of the un-rem'd line that has /dev/sda4 in it. Then all you need to run from DOS is C:\linux\linux (or copy linux.bat to C:, and all you need to type is "linux"). No initrd is needed in Zipslack.
 
Old 10-02-2003, 03:00 AM   #6
dabigpig
LQ Newbie
 
Registered: Sep 2003
Location: canada
Distribution: mandrake 8.1
Posts: 3

Original Poster
Rep: Reputation: 0
@ aaa i've allready figured out my partitioning after much confusion i did get if figured out...

my linux.bat uncommented line is
Code:
\linux\loadlin  \linux\vmlinuz root=/dev/hdb1 rw
@ Thymox
Do you know which partition you installed Linux onto? (/dev/hda2?)
see above
Do you have a copy of the kernel file itself? (vmlinuz?)
the kernel file is at C:linux\vmlinuz
Do you have a copy of the initrd file?
initrd is at

so i should replace my linux.bat line with
Code:
C:\linux\ loadlin C:\linux\vmlinuz root=/dev/hdb1 rw  initrd=C:\linux\dev\initrd
i'll try that next time i restart my machine... using windows 98se so should take like 10minutes tops...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ZipSlack... GCR Slackware 2 01-28-2005 07:12 PM
[ZipSlack 10.0] Installing KDE on ZipSlack - HELP!!! Rookie One Slackware - Installation 3 12-03-2004 02:39 PM
zipslack..almost there i think...i need some help mjdx88 Slackware - Installation 25 07-19-2004 07:23 AM
zipslack juggernaught Slackware 4 05-08-2003 01:01 AM
Zipslack matt3333 Slackware 1 12-11-2002 06:40 PM


All times are GMT -5. The time now is 01:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration