Find the answer to your Linux question:
Results 1 to 5 of 5
i have 2 error messages while loading ubuntu 10.10: i) VGA=788 is deprecated. Use gfxpayload = 800x600x16, 800x600 before linux command instead ii)An error occurred while mounting /media/sdb1. Press S ...
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Location
    Mumbai
    Posts
    2

    Two Startup errors on Ubuntu 10.10

    i have 2 error messages while loading ubuntu 10.10:

    i) VGA=788 is deprecated. Use gfxpayload = 800x600x16, 800x600 before linux command instead

    ii)An error occurred while mounting /media/sdb1. Press S to skip.....

    For (i) error I tried changing parameters in Startup-Manager but it still persists

    Error (ii) is a result of my fiddling with fstab, psydm to auto mount drives on start up which eventually i solved through autofs however the error message is still coming..i am pasting the contents of /etc/fstab here please suggest what to do..

    Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    
    proc                          /proc           proc     nodev,noexec,nosuid          0  0  
    /dev/sdb1                     /host           fuseblk  defaults                     0  0  
    /dev/sda1                     /media/WINDOWS  ntfs-3g  defaults,locale=en_US.UTF-8  0  0  
    /dev/sda3                     /media/sda3     ntfs-3g  defaults                     0  0  
    /dev/sda5                     /media/sda5     ntfs-3g  defaults                     0  0  
    /dev/sdb1                     /media/sdb1     ntfs-3g  defaults,locale=en_US.UTF-8  0  0  
    /dev/sdb5                     /media/sdb5     ntfs-3g  defaults                     0  0  
    /dev/sdb6                     /media/sdb6     ntfs-3g  defaults                     0  0  
    /dev/sdb7                     /media/sdb7     ntfs-3g  defaults                     0  0  
    /host/ubuntu/disks/root.disk  /               ext4     loop,errors=remount-ro       0  1  
    /host/ubuntu/disks/swap.disk  none            swap     loop,sw                      0  0
    Last edited by manish12345; 02-14-2011 at 03:33 PM.

  2. #2
    Just Joined!
    Join Date
    Jun 2010
    Posts
    36
    For the first can you post your grub file please

    Code:
    cat /etc/default/grub
    For second - it would help to know what error you get or is that all it says,

    Also

    Code:
    ls /media

  3. #3
    Just Joined!
    Join Date
    Feb 2011
    Location
    Mumbai
    Posts
    2
    cat /etc/default/grub:

    Code:
    # If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.
    
    GRUB_DEFAULT=0
    GRUB_HIDDEN_TIMEOUT=0
    GRUB_HIDDEN_TIMEOUT_QUIET=true
    GRUB_TIMEOUT=3
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=" vga=788"
    
    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
    
    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL=console
    
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE=640x480
    
    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    #GRUB_DISABLE_LINUX_UUID=true
    
    # Uncomment to disable generation of recovery mode menu entries
    #GRUB_DISABLE_LINUX_RECOVERY="true"
    
    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"
    ls /media:
    Code:
    sda3  sda5  sdb1  sdb5  sdb6  sdb7  WINDOWS
    Yes, every time i boot "An error occurred while mounting /media/sdb1. Press S to skip or M for Manual Recovery" is displayed below Ubuntu logo and i have to press s to proceed...

  4. #4
    Just Joined!
    Join Date
    Feb 2011
    Posts
    1

    Lightbulb Try to delete this line.

    I looked at my
    Code:
    /etc/default/grub
    file and found that there is one key difference between mine which boots correctly and yours.

    Change:

    Code:
    GRUB_CMDLINE_LINUX="vga=788"
    to
    Code:
    GRUB_CMDLINE_LINUX=""
    I don't know what to do about your fstab problem because I only have Ubuntu on my system.

  5. #5
    Just Joined!
    Join Date
    Jun 2010
    Posts
    36
    For the grub error - open the file for editing and try this

    Code:
    gksudo gedit /etc/default/grub
    Change
    GRUB_CMDLINE_LINUX=" vga=788" to
    GRUB_CMDLINE_LINUX="gfxpayload=true"

    and change
    #GRUB_GFXMODE=640x480 to
    GRUB_GFXMODE=800x600

    Save the file and update grub.

    Code:
    sudo update-grub
    The ntfs error I'm not so sure about - it would appear from the fstab you're using wubi. Have you tried booting into windows and running the chkdsk from there. The line would appear to be fine as it is. The only thing I would change is to use UUID instead of dev/sdxy.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...