Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
This is my first time installing or using any Linux os. So please bare in mind that I might not quite understand what you want me to do. After installing ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    6

    An error I got that has something to do with "grub"


    This is my first time installing or using any Linux os. So please bare in mind that I might not quite understand what you want me to do.

    After installing from the ubuntu live cd 6.06 I was asked to reboot the pc. After doing that, while the pc was loading. It got "stuck' on showing
    Code:
    Loading grub 1,5
    Thats it. The pc either froze or something hapened (I left the pc for several hours to see if it would get any better and if it was actually loading, but to no avail.) Tried reloading several times/changing bios setup. But it didn`t help.

    P.S. Sorry if this was answered somewhere previously. But I didnt find it while searching.

    Awaiting for your replys,
    Šarūnas Žukauskas

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Hi zhukis !

    Welcome to the LinuxForums !

    is there any other OS installed in HardDisk? how many HardDisks are plugged-in your machine?
    boot up from Ubuntu CD and execute this command in terminal
    Code:
    sudo fdisk -l    <-- its small 'L'
    this command will ask for password. press 'Enter' key. post the output here.





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Posts
    6
    Quote Originally Posted by devils_casper
    Hi zhukis !

    Welcome to the LinuxForums !

    is there any other OS installed in HardDisk? how many HardDisks are plugged-in your machine?
    boot up from Ubuntu CD and execute this command in terminal
    Code:
    sudo fdisk -l    <-- its small 'L'
    this command will ask for password. press 'Enter' key. post the output here.





    casper
    Thank you for the fast reply and a warming welcome. I`ll try that in a moment, as for your questions.

    There are two hard disks plugged in. Previously I had Windows XP, but I have formated that drive and installed the Ubuntu 6.06. Currently there no other operating system.

    As for the info on
    Code:
    sudo fdisk -l
    Code:
    Disk /dev/sda: 160gb 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device   Boot     Start    End      Blocks    Id   System
    /dev/sda1    *           1  18700   150207718+   83   Linux
    /dev/sda2            18701  19457     6080602+    5   Extended
    /dev/sda5            18701  19457     6080571    82   Linux swap/Solaris
    
    Disk /dev/sdb: 160.0gb 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    
       Device   Boot     Start    End      Blocks    Id   System
    /dev/sdb1                2  19457   156280288     5   W95 Ext'd (LBA)
    /dev/sdb2                2  19457   156280288+   82   HPFS/NTFS
    That seems to be it. (Note, there could be a few mistakes since I couldn't just go in and copy paste it, that computer has no internet connection at this moment. And the CD booted OS doesn't allow me to write files in removable media. So I had to rewrite it by hand)

    Šarūnas Žukauskas

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    boot up from Ubuntu CD and execute this code in 'terminal'
    Code:
    sudo grub-install /dev/sda
    in case, it doesn't work, post the contents of /boot/grub/menu.lst file. copy first title, root, kernel and initrd lines only. post here......





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #5
    Just Joined!
    Join Date
    Nov 2006
    Posts
    6
    Code:
    sudo grub-install /dev/sda
    Response:
    Could not find devices for /boot: Not found or not a block device.

    Code:
    /boot/grub/menu.lst file.
    No such file or directory.

    Kinda weird. Got any suggestions?
    Šarūnas Žukauskas

  7. #6
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    did you use Ubuntu Alternate Cd for Ubuntu installation? where did you install GRUB?





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  8. #7
    Just Joined!
    Join Date
    Nov 2006
    Posts
    6
    Quote Originally Posted by devils_casper
    did you use Ubuntu Alternate Cd for Ubuntu installation? where did you install GRUB?
    I used the live CD if I remember correctly. The installer said that GRUB was installed to hd0.

    Šarūnas Žukauskas

  9. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Quote Originally Posted by zhukis
    The installer said that GRUB was installed to hd0.
    Ubuntu Live CD does not display or ask for GRUB location.

    anyways, boot up from CD again and execute this code in terminal.
    Code:
    sudo grub
    find /boot/grub/stage1
    if it finds the stage1, you can install GRUB again. output would be root (hd0,0) or something similar.
    Code:
    root (hd0,0)    <--- replace this with output of find command.
    setup(hd0)
    quit
    exit
    reboot machine ans check if GRUB appears or not.





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  10. #9
    Just Joined!
    Join Date
    Nov 2006
    Posts
    6
    Quote Originally Posted by devils_casper
    Ubuntu Live CD does not display or ask for GRUB location.

    anyways, boot up from CD again and execute this code in terminal.
    Code:
    sudo grub
    find /boot/grub/stage1
    if it finds the stage1, you can install GRUB again. output would be root (hd0,0) or something similar.
    Code:
    root (hd0,0)    <--- replace this with output of find command.
    setup(hd0)
    quit
    exit
    reboot machine ans check if GRUB appears or not.





    casper
    Did that.
    Didnt have any effect. And find /boot/grub/stage1 already stated (hd0)

  11. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    did you execute setup(hd0) command?





    casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

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