Find the answer to your Linux question:
Page 1 of 7 1 2 3 4 5 ... LastLast
Results 1 to 10 of 67
Hi! My first call for help! I installed Ubuntu 9.04 on my external, and the Grub Loader is installed on my internal laptop hard disk. The problem is that now ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    34

    [SOLVED] Grub Loader and Booting Problems


    Hi! My first call for help!

    I installed Ubuntu 9.04 on my external, and the Grub Loader is installed on my internal laptop hard disk.

    The problem is that now whenever I bring my laptop around, it fails to boot because of Error 21. I believe it can't load the grub Loader or something. Is there a way to fix this so that I can choose?

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Error 21 usually means that GRUB is looking to boot a drive that isn't there. Try booting with a LiveCD and open a terminal. Execute:
    Code:
    sudo fdisk -l
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Just Joined!
    Join Date
    May 2009
    Posts
    34
    I'm a little bit lost here. Looking for a drive that does not exist...?

    edit: I'm booting from Ubuntu now, can I do the fdisk through the terminal?

  4. $spacer_open
    $spacer_close
  5. #4
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Yep...
    GRUB work like this. You have your internal and external drives, right? Windows gives them letters (C:/ ; D:/). Linux gives them names (sda1, sda2 , sdb1). If one of them has the wrong name, then GRUB will be looking for something that isn't there.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  6. #5
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    oops... didn't see your edit there...

    You should have the terminal open, and just type
    Code:
    sudo fdisk -l
    Just post the output here.


    *that's a small L... not a 1
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  7. #6
    Just Joined!
    Join Date
    May 2009
    Posts
    34
    Okay I've done that and am about to try and reboot now. Wish me luck!

    edit: Hopefully I'll be back soon xD

  8. #7
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    No need to reboot. That command doesn't really do anything. It just shows the different hard drives and partitions that are set-up in your machine. Here's what I mean:
    Code:
    [root@jason ~]# fdisk -l
    
    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x7294eac1
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        5222    41945683+  83  Linux
    /dev/sda2            5223       10444    41945715   83  Linux
    /dev/sda3           10445       20887    83883397+   5  Extended
    /dev/sda4           20888       24619    29977290   83  Linux
    /dev/sda5           10445       15666    41945683+  83  Linux
    /dev/sda6           15667       20887    41937651   83  Linux
    [root@jason ~]#
    Using that, we can look at what your GRUB boot list should look like...
    but that's the next step
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  9. #8
    Just Joined!
    Join Date
    May 2009
    Posts
    34
    Forgive me for I have failed terribly!

    It didn't work. Gah. Also, I am trying to set up "Dual-View" or "TwinView" as I think that's what it is called in ubuntu but I cannot seem to save to xconfig. An error pops out.

  10. #9
    Just Joined!
    Join Date
    May 2009
    Posts
    34
    Quote Originally Posted by jayd512 View Post
    Using that, we can look at what your GRUB boot list should look like...
    but that's the next step
    Oops. I was too excited.

    Code:
    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000080
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        5099    40957686    7  HPFS/NTFS
    /dev/sda2            5100       30401   203238315    f  W95 Ext'd (LBA)
    /dev/sda5            5100       30401   203234976    7  HPFS/NTFS
    Note: sector size is 4096 (not 512)
    
    Disk /dev/sdb: 159.8 GB, 159840301056 bytes
    26 heads, 50 sectors/track, 30018 cylinders
    Units = cylinders of 1300 * 4096 = 5324800 bytes
    Disk identifier: 0x20202020
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1       30019   156093788    b  W95 FAT32
    
    Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
    255 heads, 63 sectors/track, 121601 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xe8900690
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdc1   *           1      108481   871366671    7  HPFS/NTFS
    /dev/sdc2          108482      121601   105386400    5  Extended
    /dev/sdc5          108482      120638    97651071   83  Linux
    /dev/sdc6          120639      121601     7735266   82  Linux swap / Solaris

  11. #10
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Cool. Now that we have that, we need one other thing. The output of
    Code:
    sudo cat /boot/grub/menu.lst
    When we get a look at that, it'll be a matter of setting it up to look for everything properly.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Page 1 of 7 1 2 3 4 5 ... 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
  •