LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-08-2005, 05:50 AM   #1
cma
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: 0
UL 1.0 GRUB: could not find device for /boot: not found or not a block device


Our United Linux 1.0 server crashed because of power blackout.
After this, it wasn't bootable anymore but stopped with the error message
Kernel panic: vfs: unable to mount rootfs on 03:02

Usually we try to rescue the system by doing the following:

- boot from CD, select Rescue-System and login as root
- mkdir /sysimage
- insert new entry in /etc/fstab:
/dev/hda2 /sysimage reiserfs defaults 0 0
- mount /sysimage
- chroot /sysimage
- grub-install /dev/hda

But this failed this time at the grub-install command with the following error:
The file /boot/grub/stage1 not read correctly.

After this we tryed several things like rebooting again from CD or to install grub via dialog and it ended up with the following error at the grub-install command:
could not find device for /boot: not found or not a block device

This is the content of grub.conf:
root (hd0,1)
install --stage2=/boot/grub/stage2 /boot/grub/stage1 d (hd0) /boot/grub/stage2 0x8000 (hd0,1)/boot/grub/menu.lst
quit


To install grub via single commands also fails: if you enter grub and then root (hd0,1) it says that it cannot read the number. It's a pretty old grub version, lower than 1.

Does anyone has any idea?
 
Old 12-08-2005, 11:15 PM   #2
piratePenguin
Member
 
Registered: May 2005
Location: Ireland
Distribution: Slackware
Posts: 42

Rep: Reputation: 15
Quote:
Originally Posted by cma
Kernel panic: vfs: unable to mount rootfs on 03:02
Um. That kinda looks like it's a kernel problem to me. I think you might need to pass "root=/dev/hda3" (change /dev/hda3 to the location of the root filesystem) to it from GRUB.
 
Old 12-08-2005, 11:41 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Well I'd reckon on hardware (as in hard disk) problems.
Kernel panic means you got past grub, and had trouble loading the kernel.
I'd be looking to test that disk.

I wouldn't be too concerned about the grub version - given the versions of everything else UL shipped, I doubt grub is a problem.
 
Old 12-09-2005, 02:16 AM   #4
jt1020
Member
 
Registered: Apr 2003
Location: root@localhost
Distribution: Fedora Core 5, Ubuntu, Debian
Posts: 537

Rep: Reputation: 30
Quote:
Originally Posted by syg00
Well I'd reckon on hardware (as in hard disk) problems.
Kernel panic means you got past grub, and had trouble loading the kernel.
I'd be looking to test that disk.

I wouldn't be too concerned about the grub version - given the versions of everything else UL shipped, I doubt grub is a problem.
i agree with syg00, same thing happened to me, problem was /boot wasn't able to meet booting constraints
 
Old 12-12-2005, 03:35 AM   #5
cma
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks to all. We also think now that it's a hardware problem.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Block device /dev/sda3 is not a valid root device.. rincewind Linux - Hardware 7 06-09-2006 04:47 AM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 11:45 AM
Linux hangs on boot - no floppy device found Penseur46 Linux - Newbie 6 02-02-2005 09:50 AM
Grub problem : not found or not a block device bennethos Debian 1 01-04-2005 03:54 PM
not a valid block device..... where do I find it? rkhartley Linux - Newbie 6 12-11-2003 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:44 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
Open Source Consulting | Domain Registration