LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-16-2008, 02:32 AM   #1
dynalogproject
LQ Newbie
 
Registered: Feb 2008
Posts: 7

Rep: Reputation: 0
Problem booting from compact flash (kernel panic)


http://julian.coccia.com/article-37.html

I used this article to install linux on a compact flash...as per the article i have copied /boot/* to the flash(including vmlinuz and grub.conf)...i m using fedora 7 and my grub.conf looks like this :



# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,6)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=1
timeout=10
splashimage=(hd0,6)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.21-1.3194.fc7)
root (hd0,6)
kernel /vmlinuz-2.6.21-1.3194.fc7 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
initrd /initrd-2.6.21-1.3194.fc7.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1


Also,when booted i get GRUB command line as given in the article...i executed these commands..

GRUB> root (hd0,0)
GRUB> kernel /boot/vmlinuz root=/dev/hda1 rw init=/bin/sh
GRUB> boot

Following the boot command..vmlinuz opens and then a few steps later i encounter the following error:
cannot mount on root=/dev/hda1
append the correct "root="boot option
kernel panic:cannot mount vfs

Can someone correct me,where i m going wrong...is it required to modify the grub.conf file?Or should i give "root=" some other device?...is there any other website that gives detailed procedure to deploy linux on the compact flash?...help required urgently...Thank you in advance
 
Old 03-16-2008, 04:25 AM   #2
sepultureno666
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
Hey, i faced the same problem too... couldn really find a way around it.. sorry
 
  


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
Booting Linux from Compact Flash... jackstrat Linux - Newbie 2 01-15-2008 09:53 AM
Booting from compact flash bangoram Linux - Hardware 5 08-29-2006 09:48 AM
Booting from a Compact Flash card FLLinux Linux - Newbie 16 06-10-2006 12:49 PM
Booting Installed Fedora off Compact Flash kushalkoolwal Fedora 5 07-11-2005 02:11 PM
Problems booting to a Compact Flash card xedgex Linux - Laptop and Netbook 1 07-17-2004 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:18 AM.

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