Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel panic - not syncing: VFS: SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
DanJo68
n00b
n00b


Joined: 14 May 2005
Posts: 60

PostPosted: Wed Jul 13, 2005 10:35 am    Post subject: Kernel panic - not syncing: VFS: SOLVED Reply with quote

Hi,

Not having much joy with this at all....

Compaq laptop nc4010
NO FLOPPY
USB DVD

I can boot from the CD and everything goes fine until I have to make the kernel choice. It's says that booting kernel is ok, it seems to check hardware but only get as far as:

VFS: Cannot open root device "<NULL>" or unknown-block(3,4)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,4)

I've read through the other similar topics but do not seem to find what I need to do.

I can boot and install Windows XP (but I don't want to!!) and I can also boot the Slackware Linux 10.1 CD which came with one of the Linux Magazine issues however do not understand at all the Alternative installation instructions as this refers to the Gentoo Handbook section 4 which dosn't work as I can't seem to access the USB DVD anymore.

Seems strange that I can boot from the DVD Drive but it seems to lose track of where it is.....

I have successfully installed Gentoo on another machine albeit that things like alsa don't work etc etc but I am really not having much luck with the laptop.

Is it possible to hook the laptop up to my home PC and install from there? If so how?

Thanks


Last edited by DanJo68 on Tue Jul 19, 2005 3:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Wed Jul 13, 2005 1:05 pm    Post subject: Reply with quote

I've got a similar thing on a computer and not on another
have you done theses steps:
*configure corectly the kernel in order to have your drivers(the one for booting as disk controler,filesystems...) compiled in the kernel
=>more simple than the ramdisk option and less steps,so less possible problems due to humain errors(bad typing for example)
*have you tryed to boot in command line in grub:
#root (hd0,1) in the case that you boot on your first hd and your second partition(if the first partition is the swap)
#kernel /boot/vmlinuz(the path for your kernel) root=/dev/hda2(the linux path for your hard drive)
#boot

if it doesn't work try:
#kernel /boot/vmlinuz aNonWorkingParameterOrAnyOtherParameterThanRoot=Something
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Jul 13, 2005 1:37 pm    Post subject: Reply with quote

Maybe this post helps you further: https://forums.gentoo.org/viewtopic-p-2553814.html#2553814
Or perhaps this thread: https://forums.gentoo.org/viewtopic-t-320660.html
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
DanJo68
n00b
n00b


Joined: 14 May 2005
Posts: 60

PostPosted: Tue Jul 19, 2005 3:45 pm    Post subject: Reply with quote

Ok, I'm getting a little further....

Booted with: Gentoo acpi=on doscsci

Couldn't determine root device......

Boot():: shell

checked to see that the USB DVD-ROM was found

cat /proc/scsi/scsi
cat /proc/scsi/usb-storage/0
cat /proc/sys/dev/cdrom/info (my drive is sr0)
ls -l /dev/sr0 (shows device doesn't exist)
cat /proc/devices | grep sr (mine is 11 sr)
mknod /dev/sr0 b 11 0
exit

it then asked for the boot device

boot():: /dev/sr0

I then see:

Mounting root..........
mount: /dev/sr0 is write-protected, mounting read-only
mount: /dev/sr0 is write-protected, mounting read-only
mount: /dev/sr0 is write-protected, mounting read-only
mount: /dev/sr0 is write-protected, mounting read-only
mount: /dev/sr0 is write-protected, mounting read-only
mount: /dev/sr0 is write-protected, mounting read-only
mkdir: Cannot create directory `/newroot/tmp/` : read-only file system
mknod: /newroot/dev/console: No such file or directory
>> Bootingpivot_root: pivot_root: No such file or directory
./linuxrc: 497: /tmp/.initrd/bin/[: not found
/linuxrc: 497: /tmp/.initrd/bin/[: not found
/linuxrc: 497: /tmp/.initrd/bin/[: not found
./linuxrc: 594: cannot open dev/console: No such file
Kernel panic - not syncing:Attempted to kill init!

anyone any ideas?
Back to top
View user's profile Send private message
DanJo68
n00b
n00b


Joined: 14 May 2005
Posts: 60

PostPosted: Tue Jul 19, 2005 3:53 pm    Post subject: SOLVED Reply with quote

I didn't read the instructions properly...... the last command was "/dev/ram0" and not sr0.
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Wed Jul 20, 2005 12:21 am    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.

Cheers nixnut. Moved to Duplicate Threads in favor of https://forums.gentoo.org/viewtopic-t-320660.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum