Resolved Kernel boot problem :D

I am using Fedora 10 and I was running the kernel 2.6.27.15-170.2.24.fc10.i686 and I was happy until I did a ‘yum update’. My kernel got updated to kernel 2.6.27.19-170.2.35.fc10.i686, and then the system won’t boot the latest kernel. While booting it gave a mesage :

Unable to access resume device (/dev/dm-1)

mount : could not find filesystem ‘/dev/root’

I wondered what had happened? But, the old kernel 2.6.27.15-170.2.24.fc10.i686 seemed to work perfectly. I became fanatic to resolve this issue. I did some googling, and finally came to know that the issue was with /etc/fstab and my Fedora 10 being installed on LVM. Here is my previous fstab details :

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

tmpfs    /dev/shm    tmpfs    defaults    0    0
devpts    /dev/pts    devpts    gid=5,mode=620    0    0
sysfs    /sys    sysfs    defaults    0    0
proc    /proc    proc    defaults    0    0
/dev/dm-0    /    ext3    defaults    1    1
#Entry for /dev/sda7 :
UUID=3bb42530-5757-4f5a-9c10-16580ee6994a    /boot    ext3    defaults    1    2
#Entry for /dev/sda5 :
UUID=08563C60563C50A4    /media/Personal_Data    ntfs-3g    defaults,locale=en_US.UTF-8    0    0
#Entry for /dev/sda2 :
UUID=FCB60995B6095196    /media/c:    ntfs-3g    defaults,locale=en_US.UTF-8    0    0
/dev/dm-1    swap    swap    defaults    0    0

But there were no /dev/dm-0 and /dev/dm-1 in /dev/ folder. The solution was to replace dm-0 by VolGroup00/LogVol00 and dm-1 by VolGroup00/LogVol01. Actually in LVM, the root is denoted by /dev/VolGroup00/LogVol00 and swap by /dev/VolGroup00/LogVol01. I made the necessary changes. Now, /etc/fstab looks like this:

NOTE : For the following steps, root access will be required, do ‘su -‘ first.

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>

tmpfs    /dev/shm    tmpfs    defaults    0    0
devpts    /dev/pts    devpts    gid=5,mode=620    0    0
sysfs    /sys    sysfs    defaults    0    0
proc    /proc    proc    defaults    0    0
/dev/VolGroup00/LogVol00    /    ext3    defaults    1    1
#Entry for /dev/sda7 :
UUID=3bb42530-5757-4f5a-9c10-16580ee6994a    /boot    ext3    defaults    1    2
#Entry for /dev/sda5 :
UUID=08563C60563C50A4    /media/Personal_Data    ntfs-3g    defaults,locale=en_US.UTF-8    0    0
#Entry for /dev/sda2 :
UUID=FCB60995B6095196    /media/c:    ntfs-3g    defaults,locale=en_US.UTF-8    0    0
/dev/VolGroup00/LogVol01    swap    swap    defaults    0    0

Now I just needed to create initial ramdisk images for preloading modules. So I did :

mkinitrd -f -v /boot/initrd-2.6.27.19-170.2.35.fc10.i686.img 2.6.27.19-170.2.35.fc10.i686

and also for the previous kernel

mkinitrd -f -v /boot/initrd-2.6.27.15-170.2.24.fc10.i686.img 2.6.27.15-170.2.24.fc10.i686

Then I did a reboot, and booting with the kernels (2.6.27.19-170.2.35 and 2.6.27.15-170.2.24) were as smooth as before.

That was all.

Thank you

Regards

rtnpro

Advertisements

Bijra Project Updates

It has been quite some time I blogged on our ongoing classes. And how are we doing? So far it’s been quite some good experience taking classes in Bijra High School. Hope to make it better and better.

Lately, classes were taken in Bijra High School on 4/3/2009 and on 6/3/2009.

Let me remember…mmm…what did we do out there on 4th March…I remember now :

We were lucky to get the 11:20 B-Zone bus to Kataberia. People who went to Bijra? Ratnadeep (rtnpro), Kishan, Bappi, Meejanur, Harsh ( with his digikam). We reached the school by 12:00 PM. We called the Std. VIII students in groups in the Computer Lab. Bappi and Kishan took charge of the lab. Basically, it was kind of a recapitulation or better introductory class for the Std. VIII students. They were introduced to the OpenOffice Writer and later they had some hands-on with TuxPaint. I and Meejanur went to Std. V to take theory. O Gash! It was some different Std. V than the last time we saw it, full of din and bustle. We started the speak on the topic CPU and its components. Don’t know what happened, was it that we could not communicate the topic nicely or they were in a mood of fun, the class could not continue. We talked on this matter to their teachers and asked for their cooperation to make the students more disciplined. Then it was the half day break. After that, there was the computer lab for the students of Std. VI and I and Bappi went to Std. VII. The students were serious. The class was responsive and inquisitive. I remember them even asking :

Can I see what’s in my friend’s bag with a computer?

How to start a computer?

How to play games in computer?

As always, Bappi gave a nice brief introduction on the basics of a computer. And I spoke on the WHY part … Why to study computers? How it will make their education a fun? How info was shared before the advent of computers , mobiles, phones and what it is now? All this time, Harsh was on the move taking the pics for the day’s Bijra report. We were about to end the class, but we had to end it in an unusual manner when we heard the horn of the 3:15 PM Bus back to Durgapur. I shouted for the Bus to wait, I and Bappi bade them goodbye and ran for the bus. We called others and finally boarded the bus. The students were all gathered near the windows to bid us Good Bye.

6th March, 2009:

It was a normal day at Bijra High School, I, Bappi and Harsh went there with our notebooks all running on Fedora 10. It was the previous day’s fiasco in Std. V that made me think that the kids need to enjoy the computers and then start learning the boring theory. So, I talked with Subhodip Biswas and decided to go to Bijra High School with notebooks, to make the classes more interactive. As expected, when we went to Std. VII, the all jumped up to their feet to see us opening our notebooks infront of them. We showed them how to start the computer, how to login, explained the username-password relation with lock-and-key analogy. Then Rangeen Basu Roy Chowdhury and Shreyank Gupta from NIT Durgapur arrived at Bijra High School. Then we continued with our class. We showed the kids some cool KDEedu applications like Marble, Kbruch, played Videos, Songs, pictures, showed them themselves on the Laptop screen with Cheese. In between, harsh was so frustrated that he was dying to teach apart from taing pics. Lucky, for him he found that the kids understood Hindi and he right away dived in to interact with the kids. We did it in groups. They were all elated. Then they were taken to the lab in two groups. There Bappi, Rangeen and Shreyank took charge. Shreyank also mended the mouse-cut wires of the speakers, and made them functional. He started showing to the students some cool Nat-Geo videos, while others were on the other comuters with Bappi and Rangeen trying their hands on TuxPaint. Meanwhile, I and Harsh went to Std. VI with our notebooks. It was kind of the same response as we received in Std. VII. As in Std. VII, we showed them how to start a computer and do login. We also showed some cool applications like Marble, Kbruch, videos, music and pics. They were all enjoying the class. They now seemed really serious in learning this computer subject. It was around 3 PM that we wrapped up the classes. We introduced Rangeen and Shryank to Nizam Sir, the HeadMaster at Bijra High School. Then we got the 3:15 PM bus to Durgapur.

Thus a normal day at Bijra turned out to be a great successful day for both us and the students of Bijra.

Thanks

Regards

rtnpro