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

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
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,mode62%0
 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

Re: HELP : Installing Snapgear 2.6 on a PC with Red Hat 9
Hi Manish,

Quoted text here. Click to load it
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.

Quoted text here. Click to load it
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:     snipped-for-privacy@snapgear.com
We've slightly trimmed the long signature. Click to see the full one.
Re: HELP : Installing Snapgear 2.6 on a PC with Red Hat 9
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

Quoted text here. Click to load it
systems.
Quoted text here. Click to load it
not as
Quoted text here. Click to load it

Site Timeline