Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 15-08-2006, 06:27 PM   #1 (permalink)
In The Zone
 
plsoft's Avatar
 
Join Date: Mar 2005
Posts: 234
Default Grub Problem

"Kernel Panic-Not syncing:VFS:Unable to mount root fs on unknown-block (3,9)"

I get this error while booting Mandriva 2006 after trying to change the Grub Splash Image. Please tell me how to revert back to the default splash image, or solve it in other way.
plsoft is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 16-08-2006, 12:07 AM   #2 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: Grub Problem

Who told you to change the splash Image in the first place? Don't play with the
Linux System files. It's too dangerous & risky. First understand the Linux O.S properly,
then when you have enough experience & knowledge, you can do what you want.
JGuru is offline  
Old 16-08-2006, 12:11 AM   #3 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,657
Default Re: Grub Problem

Edit the bootline while booting, and remove the bootsplash show option from the line and hit enter, if you get in, repair your GRUB then.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 16-08-2006, 01:46 AM   #4 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: Grub Problem

Looks like you forgot to add initrd line in your boot option. Just add it and everything will be fine. Also, iirc Mandriva uses LILO by-default. Did you choose GRUB over LILO?
eddie is offline  
Old 16-08-2006, 10:44 AM   #5 (permalink)
In The Zone
 
plsoft's Avatar
 
Join Date: Mar 2005
Posts: 234
Default Re: Grub Problem

Problem solved guys, thnx for helpin'. Nways i have changed the splashimage successfully
plsoft is offline  
Old 16-08-2006, 10:56 AM   #6 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,657
Default Re: Grub Problem

Post the solution too please :]
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 16-08-2006, 11:51 AM   #7 (permalink)
I see right through you.
 
Sykora's Avatar
 
Join Date: Sep 2005
Location: Chennai
Posts: 597
Default Re: Grub Problem

Yes, please do. I'd also like to change my grub splashimage
__________________
I didn't make the world, I only try to live in it.
http://lucentbeing.com
-- Sykora --
Sykora is offline  
Old 16-08-2006, 12:31 PM   #8 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: Grub Problem

@Sykora, Mandriva Linux uses LILO as bootloader, not GRUB!! Also it's easy to change the LILO Splash image.
It's stored in the directory '/usr/share/bootsplash/themes/mandriva/images'. Just resize your Image & move it
to mentioned directory. Name it as 'bootsplash-1024x768.jpg', 'bootsplash-1280x1024.jpg', 'bootsplash-800x600.jpg'.
Backup the bootsplash Images first, so you can restore them in case something goes wrong.
JGuru is offline  
Old 16-08-2006, 09:24 PM   #9 (permalink)
In The Zone
 
plsoft's Avatar
 
Join Date: Mar 2005
Posts: 234
Default Re: Grub Problem

@JGuru-Mandriva Linux has an option to use both the bootloaders i.e. LILO or GRUB. I chose GRUB cos it's better lookwise.

@Sykora
Well i changed my Grub splashimage following the instructions given in the DIGIT's Fast Tract to Linux. In case you didn't get the issue, here is how:

Requirements:
1. The image depth has to be 14 colors with maximum 640x480 resolution & in the xpm format.
2. You have to be the root.

Steps:
1. To convert the image's format & resolution, use the following command:
# convert -depth 8 -colors 14 -resize 640x480 /home/user/pictures/photo.jpg /home/user/pictures/photo.xpm

considering yur image is in jpeg format (change it to the image format u r using) & your image file is in /home/user/pictures directory.

2. Compress the image to 'gz' format: Use the following command
a) If u are working from the directory where the image is saved, do the following:
# gzip photo.xpm
b) If u are working from another directory, do the following:
# gzip /home/user/pictures/photo.xpm

3. Now copy the image to /boot/grub where the splashimage file is located:
# cp /home/user/pictures/photo.xpm.gz /boot/grub

4. The last step is to edit the grub's config file. Open the grub.conf (or menu.lst for mandriva) that's in /boot/grub. Pass the following command:
# kwrite menu.lst
or if you are working from another directory
# kwrite /boot/grub/menu.lst
This will open the grub configuration file in kwrite. Look for the line 'splashimage=' (in case of mandriva there is no = sign) & change the path of the splash screen image from /grub/*.xpm.gz to /grub/photo.xpm.gz (as in our example). The * is the default filename, which is different for different distros.

Now reboot your system to see the change in grub's screen.
Hope i've explained it well enough, n good luck
plsoft is offline  
Old 16-08-2006, 09:35 PM   #10 (permalink)
I see right through you.
 
Sykora's Avatar
 
Join Date: Sep 2005
Location: Chennai
Posts: 597
Default Re: Grub Problem

Yes, I found the instructions, thanks anyway. I don't know what happened to my image, but the result I go was horrible. I'll have to experiment a bit more...
__________________
I didn't make the world, I only try to live in it.
http://lucentbeing.com
-- Sykora --
Sykora is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +5.5. The time now is 07:09 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2