LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-17-2008, 08:00 PM   #1
jxfdasilva
Member
 
Registered: Oct 2003
Posts: 44

Rep: Reputation: 15
Problem with linux installed on a Compact Flash


Greetings,

Because of some problems with my Compact Flash 128Mb with an Linux application, I had to copy all files from one that works fine. The question is that when I try to boot from this new one I replaced I have the following error message:

hda2: bad access: block=2, count=2
EXT3-fs: unable to read superblock
hda2: bad access: blcok=2, count=2

cramfs: wrong magic

hda2: bad access: block=0, count=1
hda2: bad access: block=0, count=1
hda2: bad access: block=64, count=2
hda2: bad access: block=16, count=2
hda2: bad access: block=128, count=2
hda2: bad access: block=0, count=8
hda2: bad access: block=2, count=2

EXT3-fs: unable to read superblock

hda2: bad access: block=2, count=2

cramfs: wrong magic

hda2: bad access: block=0, count=1
hda2: bad access: block=0, count=1
hda2: bad access: block=64, count=2
hda2: bad access: block=16, count=2
hda2: bad access: block=128, count=2
hda2: bad access: block=0, count=8

Kernel panic: No init found. Try passing init=option to kernel.



My menu.lst:

hiddenmenu
timeout 1
default 0

title VS-1_8_9
root (hd0,1)
kernel /bzImage ramdisk_size=120000 root=/dev/ram1 vga=788 splash=silent quiet console=tty2 CONSOLE=tty2 hdb=flash hdb=ide-scsi
initrd /initrd.img.gz

title memtest
root (hd0,1)
kernel /memtest.bin


I wonder if someone could help me understand this situation

Rgds

Jose

Africa - Mozambique
 
Old 11-17-2008, 08:44 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Can you mount all of the partitions on the CF card from another machine? It sounds like the card is corrupted or damaged from those errors.
 
Old 11-18-2008, 05:20 AM   #3
jxfdasilva
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
Greetings,


Thank you for your reply.

What do you mean if I can mount all the partion from another machine? I just used a worked CF and copy all the files from there to another CF. Then I realize that the Grub doesn´t work just copying the files. I use Grub on consol to “activate” it on the new CF. I am afraid that it could happen with the rest.

*This a small application that run on Linux form a CF memory, to control CCTV.


In fact, I am new to Linux and would like to see some elucidation on some error messages to not have to ask in future. The CF I used to copy all the files from the worked one, is not really new. I thought that in the case of Grub, were only copies and ready. Fortunately I read it that it is not just like that. Now I want to understand a few lines of error that appears and if you can explain to me I appreciate (or just direct me to a site or book). However I will buy a new CF and try to install.
By the way, I have one FC with 2 GB and I cannot use because it doesn’t accept anything…?!?!

I know that it is too many issues but I am indeed very curious.

Thank you for your patience...

Rgds


Jose

Africa
 
Old 11-18-2008, 02:39 PM   #4
jxfdasilva
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
Greetings,

Any idea plse.

Rgds

Jose
 
Old 11-18-2008, 04:55 PM   #5
jxfdasilva
Member
 
Registered: Oct 2003
Posts: 44

Original Poster
Rep: Reputation: 15
Greetings to all.

After reading a lot and great battles I solved my problem. Now everything is working very well! I thank all the availability, and those who face difficulties recommend reading a lot, especially with regard to compiling the kernel. In any case, not easy but Linux or Windows when it comes to sort out the kernel becomes a nightmare.


Rgds

Jose
 
  


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
Compact Flash Card Detection Problem xodr Linux - Hardware 3 05-30-2008 01:12 AM
Compact Flash on Gentoo problem Lanix1 Linux - Hardware 6 04-30-2008 06:54 PM
compact flash problem feh Linux - Hardware 2 11-25-2007 08:40 AM
Debian for Zaurus 3100 (boot from an compact flash and installed to the 128 ram) sadarax Linux - Laptop and Netbook 2 07-06-2006 07:55 PM
Booting Installed Fedora off Compact Flash kushalkoolwal Fedora 5 07-11-2005 03:11 PM


All times are GMT -5. The time now is 06:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration