Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Another grub dumba**, so please help me

  1. #11
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: Another grub dumba**, so please help me

    How about trying:
    Code:
    sudo grub
    grub> root (hd0,8)
    grub> setup (hd0,8)
    grub> quit
    And then in your Ubuntu's menu.lst, try using the following entry for Fedora:
    Code:
    title Fedora on sda9
    root (hd0,8)
    chainloader +1
    Let me know if that works OK.

  2. #12
    Join Date
    Feb 2009
    Beans
    12

    Re: Another grub dumba**, so please help me

    Nope, it's not working:

    Code:
    grub> setup (hd0,8)
    setup (hd0,8)
    
    Error 17: Cannot mount selected partition

  3. #13
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: Another grub dumba**, so please help me

    Quote Originally Posted by momcilosystem
    Code:
    Disk /dev/sda: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x922d5f18
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1    *             63    52,436,159    52,436,097   7 HPFS/NTFS
    /dev/sda2          52,436,160    52,837,784       401,625  83 Linux
    /dev/sda3          52,837,785   312,576,704   259,738,920   f W95 Ext d (LBA)
    /dev/sda5          52,837,848    94,783,499    41,945,652   7 HPFS/NTFS
    /dev/sda6          94,783,563   136,729,214    41,945,652   7 HPFS/NTFS
    /dev/sda7         136,729,278   178,674,929    41,945,652   7 HPFS/NTFS
    /dev/sda8         178,674,993   187,060,859     8,385,867  82 Linux swap / Solaris
    /dev/sda9         187,060,923   229,006,574    41,945,652   6 FAT16
    /dev/sda10        229,006,638   270,952,289    41,945,652   6 FAT16
    /dev/sda11        270,952,353   312,576,704    41,624,352   b W95 FAT32
    Somehow your partition table has your Fedora sda9 partition incorrectly listed as having a FAT16 file system instead of Linux, so I would suggest first correcting that:
    Code:
    sudo sfdisk -c /dev/sda 9 83
    Then try running the Grub commands from my previous post again (make sure to use "sudo grub" and not just "grub" to get the Grub CLI), and if you still get error 17, please post:
    Code:
    sudo mount /dev/sda9 /mnt && ls -l /mnt
    And we can work from there.

  4. #14
    Join Date
    Feb 2009
    Beans
    12

    Re: Another grub dumba**, so please help me

    Your advice helped me! I can now boot to Fedora.

    You pointed out that ext3 wasn't detected corectly and what is more surprising is that it does the same thing with Ubuntu's / filesystem (it's sda10)

    Do you think that if I formatted both partitions to ext2 - I could be able to do everything smoothly: Ubuntu's grub would recognise Fedora and add it to Grub automaticly and if so, what woould I loose by choosing ext2 over ext3?

    I just want to understand this a little better, tnx!

  5. #15
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: Another grub dumba**, so please help me

    I would definitely not format your sda9 and sda10 linux partitions, because they mount and are accessible just fine; the only problem was that your partition table somehow did not have the correct file system listed for those partitions. That problem is really easy to correct with a single command as you saw. And by the way, since your sda10 Ubuntu partition is also incorrectly listed as FAT16 in the partition table, it would be good to correct it too:
    Code:
    sudo sfdisk -c /dev/sda 10 83
    And then you should be all set.

  6. #16
    Join Date
    Feb 2009
    Beans
    12

    Re: Another grub dumba**, so please help me

    Ok, I will do that,

    I have two more questions:

    If I now run
    Code:
    sudo grub
    root (hd0,1)
    setup (hd0,1)
    quit
    would I be able to boot to linuxes? Or should I keep the current config (I am asking this for future restorations of grub - I might forget where to execute setup (hd0,x) )

    And another thing, I just run updates and I have a dilema, there's a window asking me about menu.lst. Please advise:
    Attached Images Attached Images

  7. #17
    Join Date
    Feb 2009
    Beans
    12

    Re: Another grub dumba**, so please help me

    So, I was able to setup grub on hd0,1 and everything works just fine.

    I would like to give my best regards to caljohnsmith who helped me and had a lot of patience to explain everything. And I would like to say that this thread is officialy SOLVED


    Tnx again, and I hope I won't bug you for a while

  8. #18
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: Another grub dumba**, so please help me

    Glad to hear it's all working; cheers and enjoy all your Linux distros and Windows.

Page 2 of 2 FirstFirst 12

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
  •