Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Error 22: No such partition + Usplash errors?

  1. #1
    Join Date
    Mar 2009
    Beans
    17

    Question Error 22: No such partition + Usplash errors?

    Hi everyone, I'm a complete Linux newbie that's recently been captivated by his housemate's Ubuntu laptop. I tried "helping" her by updating her OS, but now have hit a bit of a snag.

    After upgrading 7.10 to 8.04 and restarting, I'm getting "Error 22: No such partition" on trying to boot up the computer.

    I did a little research around the forums/Google trying to figure things out and made a little progress. I downloaded the Live CD and managed to boot up OK using that. I also managed to hit "e" when loading up the computer and changing the root (hd0,6) to root (hd0,0) - which I THINK is the correct partition for my friend's laptop.

    Now though, I have two problems:

    1) How do I permanently change the (hd6,0) to (hd0,0), instead of manually changing it every time I boot up?

    2) When I modify the above settings and boot up the computer, I get to a Kubuntu loading screen, then I'm hit with a new error saying "usplash: Setting mode 1280x1024 failed..." Again I read around this topic and I think it has to do with my friend's widescreen laptop (1280x800) not being supported by the default Ubuntu config. How am I supposed to change this though?

    I'd really appreciate any help out there! I'm really keen to get my friend's laptop up and running as soon as I can - especially as she put her trust in me to upgrade/fix it!

  2. #2
    Join Date
    Mar 2009
    Beans
    17

    Re: Error 22: No such partition + Usplash errors?

    Hey, I hate to have to bump this post, but I'd really appreciate some help if anyone's able to provide it. I've been refreshing the page for the past 30 mins hoping someone might respond.

  3. #3
    Join Date
    Sep 2008
    Beans
    114
    Distro
    Kubuntu

    Re: Error 22: No such partition + Usplash errors?

    your partition problems can be solved by first finding out exactly where your boot partition is. Boot your kubuntu livecd and from konsole enter:

    Code:
    sudo grub
    grub> find /boot/grub/stage1
    grub> find /grub/stage1
    One of the above commands should return your main Kubuntu partition (or /boot partition if you have one) in the form of (hdX,Y) where X and Y are numbers, for example (hd1,0), but use whatever it returns as follows:

    Code:
    grub> root (hdX,Y)
    grub> setup (hdX)
    grub> quit
    If you are sure that the correct boot partition is at hd0,0 then you should be able to change to the correct partition by editing your menu.lst file.

    Code:
    gksu kate /boot/grub/menu.lst
    That should fix your grub issues. As far as your Usplash error, I don't have the knowledge to help you there. But I will look to see what I can find out for you.
    Last edited by desperado665; March 28th, 2009 at 02:09 AM.
    Phenom 2 x4 955, ASUS M5A97 r2.0, 12GB Patriot RAM, 64GB Samsung SSD (Ubuntu),240GB Vertex 3 SSD (windows 8) 1.5TB WD, 1GB Gigabyte 6850

  4. #4
    Join Date
    Mar 2009
    Beans
    17

    Re: Error 22: No such partition + Usplash errors?

    Thanks a lot dude for your help. I'm booting up the computer now and will let you know how things go.

  5. #5
    Join Date
    Mar 2009
    Beans
    17

    Re: Error 22: No such partition + Usplash errors?

    OK I tried what you told me to do, and sure enough it is (hd0,0). I got to the "gksu kate /boot/grub/menu.lst" stage, but nothing really happened. I thought "ok, well maybe nothing was supposed to happen". I restarted the computer but I still am faced with the same Error 22 code. I can still get around this by editing the boot commands on the spot, but I was hoping there would be a way to permanently set the (hd0,0).

    Any further thoughts/suggestions?

  6. #6
    Join Date
    Mar 2009
    Beans
    17

    Re: Error 22: No such partition + Usplash errors?

    For the usplash error, it might help if I reproduce the error message in full here:

    Code:
    Starting up ...
    Loading, please wait...
    usplash: Setting mode 1280x1024 failed
    usplash: Setting mode 1024x864 failed
    usplash: Using mode 1024x768
    Check root= bootarg cat /proc/cmdline
    or missing modules, devices: cat /proc/modules ls /dev
    ALERT! /dev/disk/by-uuid/8f9464e4-6148-4146-991c-b02c7170b788 does not exist. Dropping to a shell!
    
    
    BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu12) Built-in shell (ash)
    Enter 'help' for a list of commands.
    
    (initramfs)
    Oh, and I'm not sure if this makes a difference, but I used a Ubuntu CD even though the laptop primarily runs Kubuntu (with the Ubuntu interface also installed).

  7. #7
    Join Date
    Sep 2008
    Beans
    114
    Distro
    Kubuntu

    Re: Error 22: No such partition + Usplash errors?

    Ok did you use the second set of codes?

    Code:
    sudo grub
    grub> root (hd0,0)
    grub> setup (hd0)
    grub> quit
    That should reinstall grub to the correct partition.
    Phenom 2 x4 955, ASUS M5A97 r2.0, 12GB Patriot RAM, 64GB Samsung SSD (Ubuntu),240GB Vertex 3 SSD (windows 8) 1.5TB WD, 1GB Gigabyte 6850

  8. #8
    Join Date
    Mar 2009
    Beans
    17

    Re: Error 22: No such partition + Usplash errors?

    Yep, sure did. I got more of a "confirmatory" message after entering that suggested that it worked, but after restarting nothing really changed. I'll try again now and see if I can copy out the message that came up after I typed in the second set of codes.

  9. #9
    Join Date
    Sep 2008
    Beans
    114
    Distro
    Kubuntu

    Re: Error 22: No such partition + Usplash errors?

    You can also try the following:

    Code:
    nano /boot/grub/menu.lst
    That should open your menu.lst with a text editor. You should see something like this:

    Code:
    # menu.lst - See: grub(8), info grub, update-grub(8)
    #            grub-install(8), grub-floppy(8),
    #            grub-md5-crypt, /usr/share/doc/grub
    #            and /usr/share/doc/grub-doc/.
    
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default		0
    
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout		10
    
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    #hiddenmenu
    
    # Pretty colours
    #color cyan/blue white/blue
    
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line)  and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    #      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    
    #
    # examples
    #
    # title		Windows 95/98/NT/2000
    # root		(hd0,0)
    # makeactive
    # chainloader	+1
    #
    # title		Linux
    # root		(hd0,1)
    # kernel	/vmlinuz root=/dev/hda2 ro
    #
    
    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ##      kopt_2_6_8=root=/dev/hdc1 ro
    ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=0fc634ac-1f31-43b2-a9dd-23f2a2915e49 ro
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=0fc634ac-1f31-43b2-a9dd-23f2a2915e49
    
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ##      alternative=false
    # alternative=true
    
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ##      lockalternative=false
    # lockalternative=false
    
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash
    
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ##      lockold=true
    # lockold=false
    
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ##      altoptions=(recovery) single
    # altoptions=(recovery mode) single
    
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ##      howmany=7
    # howmany=all
    
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ##      memtest86=false
    # memtest86=true
    
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    
    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false
    
    ## ## End Default Options ##
    
    title		Ubuntu 8.10, kernel 2.6.27-11-generic
    uuid		0fc634ac-1f31-43b2-a9dd-23f2a2915e49
    kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=0fc634ac-1f31-43b2-a9dd-23f2a2915e49 ro quiet splash 
    initrd		/boot/initrd.img-2.6.27-11-generic
    quiet
    
    title		Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
    uuid		0fc634ac-1f31-43b2-a9dd-23f2a2915e49
    kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=0fc634ac-1f31-43b2-a9dd-23f2a2915e49 ro  single
    initrd		/boot/initrd.img-2.6.27-11-generic
    
    title		Ubuntu 8.10, kernel 2.6.27-7-generic
    uuid		0fc634ac-1f31-43b2-a9dd-23f2a2915e49
    kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=0fc634ac-1f31-43b2-a9dd-23f2a2915e49 ro quiet splash 
    initrd		/boot/initrd.img-2.6.27-7-generic
    quiet
    
    title		Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
    uuid		0fc634ac-1f31-43b2-a9dd-23f2a2915e49
    kernel		/boot/vmlinuz-2.6.27-7-generic root=UUID=0fc634ac-1f31-43b2-a9dd-23f2a2915e49 ro  single
    initrd		/boot/initrd.img-2.6.27-7-generic
    
    title		Ubuntu 8.10, memtest86+
    uuid		0fc634ac-1f31-43b2-a9dd-23f2a2915e49
    kernel		/boot/memtest86+.bin
    quiet
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    
    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title		Other operating systems:
    root
    
    
    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda1
    title		Windows Vista/Longhorn (loader)
    root		(hd0,0)
    savedefault
    makeactive
    chainloader	+1
    After ## ## End Default Options ## Where you see UUID and a long number, replace with root (hd0,0)

    Example:
    Code:
    title		Ubuntu 8.10, kernel 2.6.27-11-generic
    uuid		0fc634ac-1f31-43b2-a9dd-23f2a2915e49   
    kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=0fc634ac-1f31-43b2-a9dd-23f2a2915e49 ro quiet splash 
    initrd		/boot/initrd.img-2.6.27-11-generic
    quiet
    Change to:
    Code:
    title		Ubuntu 8.10, kernel 2.6.27-11-generic
    root		(hd0,0)
    kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=0fc634ac-1f31-43b2-a9dd-23f2a2915e49 ro quiet splash 
    initrd		/boot/initrd.img-2.6.27-11-generic
    quiet
    Last edited by desperado665; March 28th, 2009 at 03:03 AM.
    Phenom 2 x4 955, ASUS M5A97 r2.0, 12GB Patriot RAM, 64GB Samsung SSD (Ubuntu),240GB Vertex 3 SSD (windows 8) 1.5TB WD, 1GB Gigabyte 6850

  10. #10
    Join Date
    Mar 2009
    Beans
    17

    Re: Error 22: No such partition + Usplash errors?

    Code:
    grub> root (hd0,0)
    
    grub> setup (hd0)
     Checking if "/boot/grub/stage1" exists... yes
     Checking if "/boot/grub/stage2" exists... yes
     Checking if "/boot/grub/e2fs_stage1_5" exists... yes
     Running "embed /boot/grub/e2fs_stage1_5 (hd0)"... 17 sectors are embedded. suceeded
     Running "install /boot/grub/stage1 (hd0) (hd0)1+17 p (hd0,0)/boot/grub/stage2/boot/grub/menu.lst"... suceeded
    Done.
    
    grub>
    Just tried your nano idea. It opened up menu.lst in a text editor, but it's a blank document...?

    In the meantime, I'm downloading and burning a Kubuntu LiveCD to use, to see if that makes any difference.

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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