LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 07: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, 07:44 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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, 04: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, 01: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, 03: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



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 12:12 AM
Compact Flash on Gentoo problem Lanix1 Linux - Hardware 6 04-30-2008 05:54 PM
compact flash problem feh Linux - Hardware 2 11-25-2007 07: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 06:55 PM
Booting Installed Fedora off Compact Flash kushalkoolwal Fedora 5 07-11-2005 02:11 PM

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

All times are GMT -5. The time now is 07:24 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