Grub Problem

Discussion in 'Open Source' started by plsoft, Aug 15, 2006.

Thread Status:
Not open for further replies.
  1. plsoft

    plsoft New Member

    Joined:
    Mar 14, 2005
    Messages:
    234
    Likes Received:
    1
    Trophy Points:
    0
    "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.
     
  2. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,726
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    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.
     
  3. QwertyManiac

    QwertyManiac Commander in Chief

    Joined:
    Jul 17, 2005
    Messages:
    6,656
    Likes Received:
    10
    Trophy Points:
    0
    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.
     
  4. eddie

    eddie El mooooo

    Joined:
    Jan 26, 2006
    Messages:
    1,414
    Likes Received:
    14
    Trophy Points:
    0
    Location:
    India
    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?
     
  5. OP
    OP
    plsoft

    plsoft New Member

    Joined:
    Mar 14, 2005
    Messages:
    234
    Likes Received:
    1
    Trophy Points:
    0
    Problem solved guys, thnx for helpin'. Nways i have changed the splashimage successfully :)
     
  6. QwertyManiac

    QwertyManiac Commander in Chief

    Joined:
    Jul 17, 2005
    Messages:
    6,656
    Likes Received:
    10
    Trophy Points:
    0
    Post the solution too please :]
     
  7. Sykora

    Sykora I see right through you.

    Joined:
    Sep 10, 2005
    Messages:
    597
    Likes Received:
    4
    Trophy Points:
    0
    Location:
    Chennai
    Yes, please do. I'd also like to change my grub splashimage :)
     
  8. JGuru

    JGuru Well-Known Member

    Joined:
    Dec 25, 2005
    Messages:
    1,726
    Likes Received:
    32
    Trophy Points:
    48
    Location:
    Space-time continuum
    @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.
     
  9. OP
    OP
    plsoft

    plsoft New Member

    Joined:
    Mar 14, 2005
    Messages:
    234
    Likes Received:
    1
    Trophy Points:
    0
    @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 :)
     
  10. Sykora

    Sykora I see right through you.

    Joined:
    Sep 10, 2005
    Messages:
    597
    Likes Received:
    4
    Trophy Points:
    0
    Location:
    Chennai
    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...
     
Thread Status:
Not open for further replies.

Share This Page