Search:

Type: Posts; User: meierfra; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    254
    Views
    544,304

    Re: HOWTO: Restore GRUB (if your MBR is messed up)

    Did you check the boot order in the bios?
  2. Replies
    254
    Views
    544,304

    Re: HOWTO: Restore GRUB (if your MBR is messed up)

    I don't see anything wrong. Maybe you are trying to boot from the wrong hard drive. Make sure that the Bios are set to boot from the "ubuntu" drive.

    If that did not help: Did you get any error...
  3. Replies
    254
    Views
    544,304

    Re: HOWTO: Restore GRUB (if your MBR is messed up)

    The command is "root (hd0,0)" not "run (hd0,0)". So try




    sudo grub
    root (hd0,0)
    setup (hd0)
    quit
  4. Re: Need a Grub Script to delete all (recovery mode)

    You probably already know that, but I just want point out that you also need to change

    #alternative=true

    to

    #alternative=false

    (Otherwise the recovery mode will reappear after the...
  5. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    Gotit: This should fix it:


    sudo grub
    root (hd1,0)
    setup (hd0)
    quit
  6. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    Gotit: Post the output of "sudo fdisk -l" and the full content of the file "menu.lst" I need that information in order to help you.
  7. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    Are you saying that you can see the sda's "menu.lst" when the external drive is unplugged?
  8. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    Do you get "error 21" after selecting ubuntu at the grub-menu at boot-up?

    Probably you just need to edit "menu.lst". Post the output of


    cat /boot/grub/menu.lst
    and


    sudo fdisk -l
  9. Replies
    9
    Views
    1,178

    Re: i forgot my password

    In recovery mode, type

    cd /home
    ls

    and you will see your username
  10. Replies
    254
    Views
    544,304

    Re: HOWTO: Restore GRUB (if your MBR is messed up)

    Leave it blank. That is just press "enter".
  11. Replies
    254
    Views
    544,304

    Re: HOWTO: Restore GRUB (if your MBR is messed up)

    Make sure that you use "sudo grub" and not only "grub"

    Also you can find out the correct (hdx,y) via


    sudo grub
    find /boot/grub/stage1
  12. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    Don't copy the whole file, just the various titles:

    So things which looks like this:


    title Ubuntu 7.10, kernel 2.6.22-14-generic
    root (hd0,3)
    kernel /boot/vmlinuz-2.6.22-14-generic...
  13. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    I assume that you read the howto at the begining of this thread. So I will be brief (feel free to ask if you need more details)

    First of all you will need to reinstall grub via

    sudo grub
    root...
  14. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    Strange. /dev/sda5 is (hd0,4) . So you need to do "root (hd0,4) setup (hd0).

    But since your setup was succesful, I would guess that /boot really is on /dev/sda6.

    Could you post your fdisk,...
  15. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    That might indeed solve your problem. If it didn't, check out this post:


    http://ubuntuforums.org/showthread.php?t=442945#9

    If that didn't help either, post your menu.lst and the output of...
  16. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    Well what happens is that ubuntu gets confused with boot order of IDE and SATA drives. Ubuntu somehow is convinced that the IDE drive is first in the boot order and sets up everything that way. ...
  17. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    ferossan:

    A couple of things to try:

    1) change the boot order in the bios,

    If this does not give your the grub menu:

    2) with the original boot order
    sudo grub
  18. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    krige: Let's try to find /boot/grub/stage1 manually:

    In the a terminal in the live cd type:



    sudo mkdir /mnt/root

    sudo mount -t ext3 /dev/sda3 /mnt/root
  19. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    Changing your booting order might work, But you would also have to change all (hd1,1) in your menu.lst to (hd0,1). ) ( Edit: I'm No longer sure about this. Maybe It would work even editing menu.lst)...
  20. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    Bernie01: Do you get this error after selecting ubuntu in the grub menu? Or does the grub menu not even appear at boot up?
  21. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    CeeDub: Please post the output of


    gksudo gedit /boot/grub/menu.lst

    and


    sudo fdisk -l
    (all l are lower case L)
  22. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    No. That's just because you to have two versions of linux on your computer. Shouldn't cause any problems



    Replace "setup (hd1)" by "setup (hd0)". So just do



    sudo grub
  23. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    No, (hd0) will put grub on the first sector of the hard drive. Your recovery partition is (hd0,0) (not (hd0))
  24. Replies
    11
    Views
    904

    Re: Grub GUI similar to lilo but better.

    This paragraph you wrote required more text editing than you will have to do to fix grub.
  25. Replies
    1,027
    Views
    2,224,660

    Re: How to install Grub from a live Ubuntu cd.

    Probably the boot order of your hard drives has changed and now grub is looking for ubuntu on the wrong hard drive. You might be able change the boot order in the bios to fix the problem.
    If...
Results 1 to 25 of 39
Page 1 of 2 1 2