Kernel Panic (*fixed*)

Using applications, configuring, problems
Message
Author
can8v
Posts: 586
Joined: Sat 15 Jul 2006, 08:20
Location: Yuba City, CA
Contact:

Kernel Panic (*fixed*)

#1 Post by can8v »

I had to take a class on asp.net this semester which meant re-installing windoze and visual studio. I decided I would back up my data and start fresh with Puppy 2.13. I reformatted my drive and made hda 1 an NTFS partition for windoze and made hda 2 an ext3 partition for Puppy and then made hda3 an ext3 partition for my data. I then installed windoze on hda1. Next I installed Puppy 2.13 on hda2. Then I installed grub, which boots Windoze perfectly, but when I try to boot Puppy I get the following error:

Kernel Panic - Not syncing: VFS: Unable to mount root fs on unknown - block(1,0)

Any ideas how I can correct this would be greatly appreciated.

Other information that may be helpful:
Puppy 2.13 frugal install.
I also tried going back to Puppy 2.12 frugal and still get the same error.
I also tried reformatting hda2 as an ext2 partition and got the same error except that it was block(0,0) instead of block(1,0).
I have reformatted it back to ext3 and it is back to block(0,0) again.
Thanks for any help. :oops:
Last edited by can8v on Wed 07 Feb 2007, 17:12, edited 1 time in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#2 Post by rcrsn51 »

Could you post your grub menu.lst file?

can8v
Posts: 586
Joined: Sat 15 Jul 2006, 08:20
Location: Yuba City, CA
Contact:

#3 Post by can8v »

rcrsn51 wrote:Could you post your grub menu.lst file?
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Tue Feb 6 09:47:15 2007
#
# The backup copy of the MBR for drive '/dev/hda' is
# here '/boot/grub/mbr.hda.13333'. You can restore it like this.
# dd if=/boot/grub/mbr.hda.13333 of=/dev/hda bs=512 count=1
#
# Start GRUB global section
#timeout 30
color light-gray/blue black/light-gray
# End GRUB global section
# Other bootable partition config begins
title Windows (on /dev/hda1)
rootnoverify (hd0,0)
makeactive
chainloader +1
# Other bootable partition config ends

# Linux bootable partition config begins
title Puppy Linux 2.13 (on /dev/hda2)
root (hd0,1)
kernel /vmlinuz root=/dev/ram0 pmedia=idehd
init /initrd.gz
# Linux bootable partition config ends

title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd0,1)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/hda2)
root (hd0,1)
setup (hd0,1)
pause Press enter to continue.
title - For help press 'c', then type: 'help'
root (hd0)
title - For usage examples, type: 'cat /boot/grub/usage.txt'
root (hd0)

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#4 Post by rcrsn51 »

The third line of your Puppy entry says "init" instead of "initrd". Is this a typo?

can8v
Posts: 586
Joined: Sat 15 Jul 2006, 08:20
Location: Yuba City, CA
Contact:

#5 Post by can8v »

rcrsn51 wrote:The third line of your Puppy entry says "init" instead of "initrd". Is this a typo?
Why yes it is. Thank you very much. I might have looked at that for an hour before catching that typo. One of those things that you read they way you expect it to be, because you think you know what you wrote.

prralex
Posts: 16
Joined: Thu 08 Feb 2007, 03:40

me too'ish kernel panic (pupdvdtool)

#6 Post by prralex »

well, in my travels of installing various distros. came back to puppy.. but the reason why i went through about 6-8hrs of work ...

pupdvdtool. man o man if i could get this working.. got it going once. but now am getting little blip dialogues that end way too soon.

ok error messages:
============
-------------------
kernel panic - not syncing:
no init found. try
passing init =
option to kernel.
----------------------
... and
-------------
error 15:
file not found.
-------

thought i'd fixed it by umounting
/dev/hda3 and doing install ala...
as puppy seemed to mount it
auto for some reason.

but i'm still bouncing off
error messsage #1.

here's my menu.lst
=============
# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Wed Feb 7 19:31:58 2007
#
# The backup copy of the MBR for drive '/dev/hda' is
# here '/boot/grub/mbr.hda.3605'. You can restore it like this.
# dd if=/boot/grub/mbr.hda.3605 of=/dev/hda bs=512 count=1
#
# Start GRUB global section
timeout 30
color light-gray/blue black/light-gray
# End GRUB global section
# Other bootable partition config begins
title Windows (on /dev/hda1)
rootnoverify (hd0,0)
makeactive
chainloader +1
# Other bootable partition config ends
# Linux bootable partition config begins
title Linux (on /dev/hda3)
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 ro vga=normal
# Linux bootable partition config ends
# Other bootable partition config begins
# title Windows (on /dev/hda5)
# map (hd0,0) (hd0,4)
# map (hd0,4) (hd0,0)
# rootnoverify (hd0,4)
# makeactive
# chainloader +1
# Other bootable partition config ends
#title Install GRUB to floppy disk (on /dev/fd0)
#pause Insert a formatted floppy disk and press enter.
#root (hd0,2)
#setup (fd0)
#pause Press enter to continue.
#title Install GRUB to Linux partition (on /dev/hda3)
#root (hd0,2)
#setup (hd0,2)
#pause Press enter to continue.
#title - For help press 'c', then type: 'help'
#root (hd0)
#title - For usage examples, type: 'cat /boot/grub/usage.txt'
#root (hd0)
===========

i'm sorta floating in a running pers space file
on my hda5 vfat. so it's nice not having to
update settings on each re-install.
===================

ohya, i forgot here's my
ffmpeggui output
from run w/n term.
==============
# ./ffmpeggui

(gtkdialog2:5357): Gdk-WARNING **: locale not supported by Xlib

(gtkdialog2:5357): Gdk-WARNING **: cannot set locale modifiers
cat: /tmp/pupdvdtool-file.txt: No such file or directory
cat: /tmp/pupdvdtool-file.txt: No such file or directory
./ffmpeggui: line 226: [: =: unary operator expected
sh: -c: line 4: unexpected EOF while looking for matching `"'
sh: -c: line 5: syntax error: unexpected end of file

(process:6258): Gdk-WARNING **: locale not supported by Xlib

(process:6258): Gdk-WARNING **: cannot set locale modifiers
==================

would also be nice extra config dialogue vsav
fine tuning video encoding. framsize/padding,
otherstuff, etc.

... but i got it working once (!) and i'm not
sure what i did. might be i used the
85meg ver. i'm running muppy 213
right now.

cheers. am off to bug the irc re same.
l8r/ra

prralex
Posts: 16
Joined: Thu 08 Feb 2007, 03:40

lilo

#7 Post by prralex »

d/l'd lilo from slackware using gslapt.
seems to be installing. but this seems
to be more dependable... in my experience
w/ vector linux. should'a had it in puppy
just in case. ;)

prralex
Posts: 16
Joined: Thu 08 Feb 2007, 03:40

gotta hand do lilo.conf

#8 Post by prralex »

:(

prralex
Posts: 16
Joined: Thu 08 Feb 2007, 03:40

aaaaaaaaaaauuuggg!! scrapped and reinstalled puppy213

#9 Post by prralex »

but it boots. and i'm assuming pupdvdtool works.

what a lovely 12hours in front of the computer.

... if you're reading this...
yer as about as frustrated as i am.

:cry:

prralex
Posts: 16
Joined: Thu 08 Feb 2007, 03:40

pupdvdtool works

#10 Post by prralex »

dang! daring myself to install
muppy212 overtop. prob not
a good idea. i'll do it after i've
burned off venture bros...
season 1 and 2.

thanks for the migraines,,
:shock:

prralex
Posts: 16
Joined: Thu 08 Feb 2007, 03:40

vamp down an episode

#11 Post by prralex »

"your file size is 4587 mb's which is also 483m
vamps will run in the background.
you'll get a popup when it's done.

:oops:

prralex
Posts: 16
Joined: Thu 08 Feb 2007, 03:40

'spits' out around 200meg

#12 Post by prralex »

:shock:

prralex
Posts: 16
Joined: Thu 08 Feb 2007, 03:40

aaaah this is fun. pupdvdtool won't ffmpeg

#13 Post by prralex »

,,, but at least it boots. and that should be .. no more to the point that now pupdvdtool isn't coming up at all. feel this might be in part due to me installing from pet packages wxbasic and wx widgets i think. bet i overwrote the orrigninal whatever. whatever. so pupdvdtool doesn't work. sigh, so i dug in and found the actual settings. line from line and dumped one episode at a time at it. let's call it episode 10 but in fact is called "The Venture Bros - 10 - Tag-Sale, You're it! - Geophage.avi"

so i call it 10.avi and throw this at it:
ffmpeg -i "$DIR""$FILE" "$DIR2""$FILE2"-tmp.wav

-and-

ffmpeg -i "$DIR2""$FILE2"-tmp.wav -ar 48000 -ac 1 -ab 448 "$DIR2""$FILE2"-tmp.ac3

-at it-
ffmpeg -i "$DIR""$FILE" -target "$TYPE"-dvd -aspect 16:9 -an -y "$DIR2""$FILE2"-tmp.m2v

-and then-
ffmpeg -i "$DIR""$FILE" -target "$TYPE"-dvd -aspect 16:9 -an -y "$DIR2""$FILE2"-tmp.m2v

-and then-
ffmpeg -vcodec copy -i "$DIR2""$FILE2"-tmp.m2v -acodec copy -i "$DIR2""$FILE2"-tmp.ac3 -target "$TYPE"-dvd "$DIR2""$FILE2"-tmp.mpg

-and then-
ffmpeg -i "$DIR2""$FILE2"-tmp.mpg -target "$TYPE"-dvd -acodec copy "$DIR2""$FILE2"-converted.mpg

at it. (no "..and then.."!!!)
(dude, where's my car???)

substituting 10.avi for ""$DIR""$FILE"
ntsc for "$TYPE"
and 10.avi for"$DIR2""$FILE2"

i'll thinkofa schell script later.
happpy plugging away. (one line at a time...)
...
i think shrinkgui still works... yup. so when
10 finishes turning itself into a 'converted'
mpg... then i shall squish it down to 100megs.
no. not realy. they still seem to spit out at 200-250megs
but that's pretty close to half their orriginal size of 450-500megs
apeice. once i get 10 done, i can burn all onto a dvd
assuming of course 12 episodes * 250megs= ~3000megs...
which'll fit nicely on a 4.7gig dvd.

... well, as i glance i'm at 1246.9s in on the 'converted'
stage. and i'm assuming 1400sec/episode. so any time
now. ... :roll:

prralex
Posts: 16
Joined: Thu 08 Feb 2007, 03:40

done!

#14 Post by prralex »

1346.9seconds later...
tada 10-converted.mpg

now to shrink
it am present size:
491megs
======
and it spits out in me root dir:
shrinked-10-converted.mpg
... kinda fun checking properties...
seeing it grow in front of yer eyes...

it am 196megs... at last click.

:roll:

and it spits out i 273megs.
... now on to create an iso,
and burn w/ tk/dvd

this has been an
rasysdev production.
=============
check up on us out
on the web at:
groups.msn.com/terryasbatmanDKR
oh and
groups.msn.com/cheapcomputer

prralex
Posts: 16
Joined: Thu 08 Feb 2007, 03:40

burnin video ts folder

#15 Post by prralex »

tried to burn it to iso, but couldn't get
very far. came down to doing it by
hand again.

... i was just realizing why all this
started... was interested in getting
streamtuner and streamripper as
a pup package, but to no avail.

so i just got muppy which had it
in it's standard install. but then ofcourse
unable to boot from grub. which started
all of this to begin with.

sigh.
:shock:
done burning .. it's 1:45in the am and
i'm gonna go watch some venture bros.
l8r/ra

can8v
Posts: 586
Joined: Sat 15 Jul 2006, 08:20
Location: Yuba City, CA
Contact:

#16 Post by can8v »

prralex,

You need to add a line to your menu.lst file. It should look something like this:

#Linux bootable partition begin
title Linux on (on /dev/hda3)
root (hd0,2)
kernel /boot/vmlinuz root=/dev/hda3 ro vga=normal
initrd /boot/initrd.gz
#Linux bootable partition end

That is assuming you have an option 1 (normal) install
If you are attempting a coexist (option 2) the try something like this:


#Linux bootable partition begin
title Linux on (on /dev/hda3)
root (hd0,2)
kernel /boot/vmlinuz root=/dev/ram0 pmedia=idehd
initrd /boot/initrd.gz
#Linux bootable partition end

Good Luck
CAn8v

prralex
Posts: 16
Joined: Thu 08 Feb 2007, 03:40

alright! get around the supply "init= "thingy!

#17 Post by prralex »

ok, after... you've done yer file install in muppy linux and yer grub config... what you have to do is mount the muppyinstall cd. and copy initrd.gz from the / folder to the /boot folder on your newly installed partition (whereever that might be... :)

then! unzip the thing.
then! rename the thing 'init'
then! copy a copy to the /boot/grub/ folder
(prob not nessesary to do this, but i like to
be sure... :)


annoying as hell, but what'cha gonna do.
this works with muppy 211.

thnx,
love 'dis 'ting!

l8r/ra
:lol:
Attachments
df.gif
(17.57 KiB) Downloaded 313 times

prralex
Posts: 16
Joined: Thu 08 Feb 2007, 03:40

heh, ok re-installed to test my theory nope!!! now what!!

#18 Post by prralex »

well, then i had a thought that saving the
personal config file onto the freashly created
muppy install. in my case, /dev/hda8.

... you know the one it creates for you somewhere
between 32m and 512m? believe it or not
it is actually good for something.

so i rebooted and of course ... no kernel panic.

let this be a lesson to us all so quick to
make the short cuts at all the wrong
places ...

:lol:

'k, now how do i install the muppy.212.sfv package now?

prralex
Posts: 16
Joined: Thu 08 Feb 2007, 03:40

ok, for sure this time....:)

#19 Post by prralex »

i did a re-install and the idea of save files plus extra mupp_212 package and all and it still didn't boot. so then i got the idea of doing the copy initrd.gz to root folder and in boot folder, unzipped, copied and named init... then drop copies of each in boot and /boot/grub. then it seemed to work. sigh.

anyhoo. l8r/ra and i hope this has turned out instructive.

right now i'm extracting m2v from a ffmpeg offa divx of some latest cool looking movie. had to do this by hand, and the audio extraction seems to work ... i'll see if i can get the re-multiplex option going and post results to here.

ffmpeg -i gr.mpg -target ntsc-dvd -aspect 16:9 -an -y gr.m2v

prralex
Posts: 16
Joined: Thu 08 Feb 2007, 03:40

finally!!! fixed/ working

#20 Post by prralex »

heh, added another 128meg ram stick to the beasty 'puter, and muppy212 installs no problem.

so happy! was betting... oh it's gonna do the kernel panic thing again... and this time... not!

total ram in 'puter 256megs.

Post Reply