HELP : Installing Snapgear 2.6 on a PC with Red Hat 9

Hi,

I have installed 2.6 kernel downloaded from snapgear.org on my Pentium PC which already had Red Hat 9 with 2.4.20-? kernel. Here are steps I took to install 2.6 kernel from snapgear distro:

  1. After downloading snapgear distro, I ran 'make xconfig' (took out some unnecessary stuff), 'make all' 'make install' and 'make modules_install'.
  2. This created files /boot/initrd-2.6.0-test5-uc0.img, /boot/System.map-2.6.0-test5-uc0, vmlinuz-2.6.0-test5-uc0 and bunch of directories /lib/modules/2.6.0-test5-uc0/modules.*
  3. My grub conf now looks like title Red Hat Linux (2.6.0-test5-uc0) root (hd0,1) kernel /boot/vmlinuz-2.6.0-test5-uc0 ro root=LABEL=/ hdc=ide-scsi initrd /boot/initrd-2.6.0-test5-uc0.img title Red Hat Linux (2.4.20-28.9) root (hd0,1) kernel /boot/vmlinuz-2.4.20-28.9 ro root=LABEL=/ hdc=ide-scsi initrd /boot/initrd-2.4.20-28.9.img

Now, when I try to boot with 2.6 kernel, it says,

Mounting root filesystem mount: error 19 mounting ext3 ..... Kernel panic : No int found. Try .... I expected atleast text console working (no GUI stuff).

Here is /etc/fstab, if needed LABEL=/ / ext3 defaults 1 1 /dev/hda5 /data vfat defaults 0 0 none /dev/pts devpts gid=5,mode=620 0 0 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/hda3 swap swap defaults 0 0

Am I missing some step.

Please help me to get atleast text console login working.

Thanks, Manish

Reply to
Manish Jagtap
Loading thread data ...

Hi Manish,

The SnapGear linux distribution is really designed for embedded (non-PC) systems. You can run it on a normal PC, but there are a lot of easier ways to do it.

Also, the 2.6 kernel in the latest SnapGear release is not the most recent. You really should download 2.6.3 from kernel.org or a mirror.

I've never used grub before, so I'm not sure if you ran that correctly. You should make sure you have ext2 and ext3 enabled in your kernel, preferably not as modules.

good luck.

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer  email:     damion@snapgear.com
SnapGear - A CyberGuard Company ---    ph:         +61 7 3435 2809
  | Custom Embedded Solutions          fax:         +61 7 3891 3630
  | and Security Appliances            web: http://www.snapgear.com~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ---  Free Embedded Linux Distro at   http://www.snapgear.org  ---
Reply to
Damion de Soto

Hi,

I configured ext3 support as statically linked instead of module and now it works fine. After little thioght I figured out the reason. Configuring ext2/3 support as module will not work as the module itself resides on the file system to be mounted.

Thanks for your response.

Regards, Manish

systems.

not as

Reply to
Manish Jagtap

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.