Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: grub rescue;USB boot can login and runs very slowly

  1. #1
    Join Date
    Dec 2010
    Beans
    10

    grub rescue;USB boot can login and runs very slowly

    hi,everyone.im noob.my laptop's dualboot system are XP and ubuntu9.10.

    on Sundy,i want to recover XP to eliminate the laptop's uncompatible problem between

    XP and the Audio card with Ghost.

    After the recovery,i can login ubuntu but can't login XP,im sorry i didn't stop.i just

    recover the C partition again using the WinPE.

    Now i can login neither.when the grub begins,it shows"error filesystem,grub

    rescue".and i can login the USB live CD.please help me .

    in the grub rescue ,i use "ls" and find "/boot/grub" at (hd0,13),(hd0,10) i also find

    "lost+u.."and "yubuntu(that is my account)"two file in (hd0,12),(hd0,9).

    in the live CD,i use "sudo fdisk -l" and find

    "/dev/sda1""/dev/sda2"..."/dev/sda60"250GB and "/dev/sdb1" 8455MB.

    i only known a little syntax of the teminal, and have a live CD(in the USB).before i put

    this thread,i want to access and download the bootinfoscript but the connect seems to

    be always reset for in the live CD(USB),i can't get info of the boot.if file in the

    laptop survive,it would be very pleasure.what should i do or

    any suggestion.please help me.Thanks very much.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: grub rescue;USB boot can login and runs very slowly

    Welcome to the forums.

    It would be a big help if you could get the boot info script.

    Boot Info Script courtesy of forum member meierfra
    Page with instructions and download:
    http://bootinfoscript.sourceforge.net/
    Paste results.txt, then highlight entire file and click on # in edit panel(code tags) to make it easier to read.
    Or You can generate the tags first by pressing the # icon in the post's menu and then paste the contents between the generated [ code] paste here [ /code] tags.

    Do you have two installs? sda10 & sda13? Which is your primary or the one you want to boot.

    You should be able to manually boot if you have a grub prompt.

    Change 10 to 13 if that it the one you want to boot:
    set prefix=(hd0,10)/boot/grub
    insmod (hd0,10)/boot/grub/linux.mod # Probably not necessary, but if it returns an error there is no use in proceeding (unless it's already loaded).
    set root=(hd0,10)
    linux /vmlinuz root=/dev/sda10 ro
    initrd /initrd.img
    boot
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Dec 2010
    Beans
    10

    Re: grub rescue;USB boot can login and runs very slowly

    Quote Originally Posted by oldfred View Post
    Welcome to the forums.

    It would be a big help if you could get the boot info script.

    Boot Info Script courtesy of forum member meierfra
    Page with instructions and download:
    http://bootinfoscript.sourceforge.net/
    Paste results.txt, then highlight entire file and click on # in edit panel(code tags) to make it easier to read.
    Or You can generate the tags first by pressing the # icon in the post's menu and then paste the contents between the generated [ code] paste here [ /code] tags.

    Do you have two installs? sda10 & sda13? Which is your primary or the one you want to boot.

    You should be able to manually boot if you have a grub prompt.

    Change 10 to 13 if that it the one you want to boot:
    set prefix=(hd0,10)/boot/grub
    insmod (hd0,10)/boot/grub/linux.mod # Probably not necessary, but if it returns an error there is no use in proceeding (unless it's already loaded).
    set root=(hd0,10)
    linux /vmlinuz root=/dev/sda10 ro
    initrd /initrd.img
    boot
    Thanks very much for your replying.

    i try my best to download the bootinfoscript but the connect always seems to be reset again by again since my laptop boot from USB live CD run very slowly.

    in laptop there are 2.6.31-14-generic and 2.6.31-22-generic.

    i'm noob.there nothing important in ubuntu.

    the reason i want to boot for one from them is that i want to access the memory so that i could copy some file which stored in WinXP and format the memory thoroughly ,then install the system again.

    i follow your instruction and i can login the ubuntu.terrific!!!

    one moment i try to download the bootinfoscript again though the laptop still run very slowly.Thanks very much.

  4. #4
    Join Date
    Dec 2010
    Beans
    10

    Re: grub rescue;USB boot can login and runs very slowly

    oh,the bash spends so much time,about one hour.

    though i login the laptop,it response to my operation very slowly.

    is it unusual?

    should i stop?

    thank you very much.

  5. #5
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: grub rescue;USB boot can login and runs very slowly

    The boot script only takes a minute or two depending on your system. It should not be that slow. Do you have some hard drive or other system issues?

    Even the USB boot will be slower than the Hard Disk install, but should run relatively quickly once an app is loaded. Only writes to a flash drive are slow especially if you have USB1.1 not USB2.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  6. #6
    Join Date
    Dec 2010
    Beans
    10

    Re: grub rescue;USB boot can login and runs very slowly

    sorry,there are bad things one by one,the network was unstable,so late to post a thread.

    i also have windows_xp_professional_with_service_pack_3.just download from the ftp.
    before i manually boot into the system,there is no error for ubuntu9.10.

    USB memory is USB 2.0,8GB.i think the USB matters nothing.maybe my partition have destroyed for in terminal the result of "sudo fdisk -l" returns /dev/sda1,/dev/sda2,/dev/sda3...until /dev/sda60and i only have 250GB

    also in Disk Utility i've seen /dev/sda188.oh my god.

    thanks for your help.

    when i login,first it show a character interface (like the cmd prompt),and i input accout and password.it entered.
    then it show GNOME,it also allow me to input the password.finally it slowly get into the system.

    the first account is yubuntu. and in GNOME the account is yUbuntu.maybe it is helpful to the question.

    thank you very much.

    i tried to recover the grub with rescatux_cdrom_usb_hybrid_i386_486-amd64_2010_12_06,and it login.but the laptop also run very slowly,then i power off the laptop.


    and type"df -h"and it return :
    Code:
    filesystem size Used Mounted on
    /dev/sda13 15G 3.4G /
    udev 1005M 1.3M /dev
    none 1005M 408k /dev/shm
    none 1005M 72k /var/run
    none 1005M 0 /var/ lock
    none 1005M 0 /lib/init/rw
    /dev/sda222 31G 457M /home
    Last edited by pleasurefish; December 10th, 2010 at 03:44 AM. Reason: more

  7. #7
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: grub rescue;USB boot can login and runs very slowly

    How do you have so many partitions?
    /dev/sda222 31G 457M /home

    That may explain why script is so slow as it has to process every partition.

    run this, but if it is as long as you say be sure to post in code tags (the # in edit menu above as you post). Either click on # and paste between the code code tags or highlight and then click on # and it will auto add tags at start & end of highlighted script.
    Code:
    sudo fdisk -lu
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  8. #8
    Join Date
    Dec 2010
    Beans
    10

    Re: grub rescue;USB boot can login and runs very slowly

    Quote Originally Posted by oldfred View Post
    How do you have so many partitions?
    /dev/sda222 31G 457M /home

    That may explain why script is so slow as it has to process every partition.

    run this, but if it is as long as you say be sure to post in code tags (the # in edit menu above as you post). Either click on # and paste between the code code tags or highlight and then click on # and it will auto add tags at start & end of highlighted script.
    Code:
    sudo fdisk -lu
    there're many partition,maybe 255,surprisingly.

    after type "sudo fdisk -lu",it returns
    Code:
    Warning: omitting partitions after #60.
    They will be deleted if you save this partition table.
    Disk /dev/sda: 250.1 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x624aa2e0
    Device Boot Start End Blocks Id System
    /dev/sda1 * 63 51424064 25712001 c W95 FAT32 (LBA)
    /dev/sda2 51424065 488392064 218484000 f W95 Ext'd (LBA)
    /dev/sda5 51424128 212041934 80308903+ 7 HPFS/NTFS
    /dev/sda6 212041998 274358069 31158036 7 HPFS/NTFS
    /dev/sda7 372659868 402653159 14996646 83 Linux
    /dev/sda8 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda9 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda10 274358133 304351424 14996646 83 Linux
    /dev/sda11 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda12 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda13 274358133 304351424 14996646 83 Linux
    /dev/sda14 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda15 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda16 274358133 304351424 14996646 83 Linux
    /dev/sda17 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda18 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda19 274358133 304351424 14996646 83 Linux
    /dev/sda20 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda21 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda22 274358133 304351424 14996646 83 Linux
    /dev/sda23 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda24 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda25 274358133 304351424 14996646 83 Linux
    /dev/sda26 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda27 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda28 274358133 304351424 14996646 83 Linux
    /dev/sda29 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda30 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda31 274358133 304351424 14996646 83 Linux
    /dev/sda32 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda33 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda34 274358133 304351424 14996646 83 Linux
    /dev/sda35 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda36 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda37 274358133 304351424 14996646 83 Linux
    /dev/sda38 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda39 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda40 274358133 304351424 14996646 83 Linux
    /dev/sda41 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda42 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda43 274358133 304351424 14996646 83 Linux
    /dev/sda44 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda45 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda46 274358133 304351424 14996646 83 Linux
    /dev/sda47 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda48 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda49 274358133 304351424 14996646 83 Linux
    /dev/sda50 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda51 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda52 274358133 304351424 14996646 83 Linux
    /dev/sda53 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda54 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda55 274358133 304351424 14996646 83 Linux
    /dev/sda56 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda57 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda58 274358133 304351424 14996646 83 Linux
    /dev/sda59 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda60 308351673 424083869 57866098+ b W95 FAT32
    Partition table entries are not in disk order
    thanks a lot.

  9. #9
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: grub rescue;USB boot can login and runs very slowly

    Warning: omitting partitions after #60.

    It did not even give us the entire list. Some have been asking how many partitions they can have and we say 16 or maybe more. Now we can say a lot more.

    How did you get to this point. Have you reinstalled Linux a bunch of times, or are you testing every version of linux? It also looks like the partition table has major errors as the numbers of start & end repeat.
    These start & ends repeat every three partitions.
    /dev/sda8 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda9 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda10 274358133 304351424 14996646 83 Linux

    The partition entries for logical partitions are a linked list and it looks like you have a bad link.

    I think it is time to think about starting over. Testdisk can often repair partition entries so if you want to try that you can.

    Another thing to try:
    this occasionally fixes issues and is worth trying:
    you do the following :
    fdisk /dev/sda
    use option : x (expert mode)
    use option : f (fix partition order)
    use option : r (return)
    use option : p (to print)
    use option : v to verify partition
    if it is ok
    then you can do
    option : w ( to write table to disk)
    option : q to quit

    enable the "universe" repository to download testdisk
    System>Administration>Software Sources>Ubuntu Software.
    https://help.ubuntu.com/community/DataRecovery
    http://www.cgsecurity.org/wiki/TestDisk
    repairs including testdisk info & links
    http://members.iinet.net.au/~herman546/p21.html
    https://help.ubuntu.com/community/Da...st%20Partition

    Instructions
    http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step
    http://www.cgsecurity.org/wiki/Menu_Analyse
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  10. #10
    Join Date
    Dec 2010
    Beans
    10

    Re: grub rescue;USB boot can login and runs very slowly

    Quote Originally Posted by oldfred View Post
    Warning: omitting partitions after #60.

    It did not even give us the entire list. Some have been asking how many partitions they can have and we say 16 or maybe more. Now we can say a lot more.

    How did you get to this point. Have you reinstalled Linux a bunch of times, or are you testing every version of linux? It also looks like the partition table has major errors as the numbers of start & end repeat.
    These start & ends repeat every three partitions.
    /dev/sda8 304351488 308351609 2000061 82 Linux swap / Solaris
    /dev/sda9 308351673 424083869 57866098+ b W95 FAT32
    /dev/sda10 274358133 304351424 14996646 83 Linux

    The partition entries for logical partitions are a linked list and it looks like you have a bad link.

    I think it is time to think about starting over. Testdisk can often repair partition entries so if you want to try that you can.

    Another thing to try:
    this occasionally fixes issues and is worth trying:
    you do the following :
    fdisk /dev/sda
    use option : x (expert mode)
    use option : f (fix partition order)
    use option : r (return)
    use option : p (to print)
    use option : v to verify partition
    if it is ok
    then you can do
    option : w ( to write table to disk)
    option : q to quit

    enable the "universe" repository to download testdisk
    System>Administration>Software Sources>Ubuntu Software.
    https://help.ubuntu.com/community/DataRecovery
    http://www.cgsecurity.org/wiki/TestDisk
    repairs including testdisk info & links
    http://members.iinet.net.au/~herman546/p21.html
    https://help.ubuntu.com/community/Da...st%20Partition

    Instructions
    http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step
    http://www.cgsecurity.org/wiki/Menu_Analyse
    i only update ubuntu9.10 from 2.6.31-14-generic to 2.6.31-22-generic.no more version.

    many thanks,i'll have a try.
    Last edited by pleasurefish; December 10th, 2010 at 07:01 AM.

Page 1 of 2 12 LastLast

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
  •