Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
So I got everything going after several days of trying to dual boot XP and Kubuntu. I got GRUB going, but it gives me the error 17. Any ideas how ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    34

    Loading GRUB With 'Error 17', Need Help Badly


    So I got everything going after several days of trying to dual boot XP and Kubuntu.

    I got GRUB going, but it gives me the error 17.

    Any ideas how I can fix it?

    Thanks.

  2. #2
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Using a livecd such as the live Ubuntu cd or Knoppix, could you post the contents of

    /boot/grub/menu.lst
    /etc/fstab

    And the command

    sudo fdisk -l


    If you post the contents of those 3, we will be able to straighten this out.
    The fdisk

    grub Error 17
    17 : Cannot mount selected partition
    This error is returned if the partition requested exists, but the
    filesystem type cannot be recognized by GRUB.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  3. #3
    Just Joined!
    Join Date
    Nov 2005
    Posts
    34
    Quote Originally Posted by budman7
    Using a livecd such as the live Ubuntu cd or Knoppix, could you post the contents of

    /boot/grub/menu.lst
    /etc/fstab

    And the command

    sudo fdisk -l


    If you post the contents of those 3, we will be able to straighten this out.
    The fdisk

    grub Error 17
    17 : Cannot mount selected partition
    This error is returned if the partition requested exists, but the
    filesystem type cannot be recognized by GRUB.
    Thanks man, i'll try that right now and post back shortly.

  4. #4
    Just Joined!
    Join Date
    Nov 2005
    Posts
    34
    ubuntu@ubuntu:~$ /boot/grub/menu.lst
    bash: /boot/grub/menu.lst: No such file or directory

    ubuntu@ubuntu:~$ /etc/fstab
    bash: /etc/fstab: Permission denied

    ubuntu@ubuntu:~$ sudo fdisk -l

    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
    /dev/sda2 2551 30400 223705125 f W95 Ext'd (LBA)
    /dev/sda5 2551 10199 61440561 7 HPFS/NTFS
    /dev/sda6 10200 10326 1020096 7 HPFS/NTFS
    /dev/sda7 10327 17975 61440561 7 HPFS/NTFS
    /dev/sda8 17976 30400 99803781 7 HPFS/NTFS

    Disk /dev/sdb: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/sdb1 1 8510 68356543+ 83 Linux
    /dev/sdb2 8511 18358 79104060 5 Extended
    /dev/sdb5 8511 18236 78124063+ 83 Linux
    /dev/sdb6 18237 18358 979933+ 82 Linux swap / Solaris

    Disk /dev/hda: 200.0 GB, 200049647616 bytes
    255 heads, 63 sectors/track, 24321 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 1 24321 195358401 7 HPFS/NTFS

  5. #5
    Just Joined!
    Join Date
    Nov 2005
    Posts
    34
    I really don't get it and getting quite angry with this. After all, i've re-tried at least 20 times by now.

    I have my first partition as '/' and primary, which i've tried with the bootflag on & off. All of my other partitions are logical.

    Any help would really help.

  6. #6
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    To display the contents of those files, use "less".

    less /boot/grub/menu.lst

    or

    less /boot/grub/grub.conf

    less /etc/fstab

    If you get permission denied, try putting "sudo" in front of the command.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  7. #7
    Just Joined!
    Join Date
    Sep 2005
    Location
    New Jersey, USA
    Posts
    22

    Several days !!!

    you can have Windows Xp dual booting with either Mepis or PCLinuxOS in
    40 minutes with no hassle.
    "flags?,we don't need no stinking flags " Yes, they are both flagless installs !!

  8. #8
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    am I correct that you have 3 harddrives? And that only one contains linux?

    if this is correct I think you need to have /dev/sdb1 flagged as bootable and mounted at /boot.

    the contents of /etc/fstab are critical for understanding whats going on here.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  9. #9
    Just Joined!
    Join Date
    May 2006
    Posts
    4

    old thread, similar problem

    Hi guys,

    I installed fedora core 5 in my second hard disk (hdb1 linux and hdb2 linux LVM) with grub in that disk in order to leave the MBR in the first disk (windows XP, one primary partition, and three logical partitions) primary master untouched. I changed the boot sequence in bios in order to be able to boot from second drive using grub.

    At first, I couldn’t load grub (the screen would freeze at start-up), so I just booted from the rescue cd and reinstalled grub. This time, the grub menu appeared but couldn’t boot into any of the two OS. I figured to fix the problem for windows by adding couple of lines in grub.conf file to remap device order. Now I could boot to windows. But I am still working to get Fedora booting, where it posts the same on the screen:

    booting ‘Fedora Core (2.6.15-1.2054-FC5)’
    Root (hd1,0)
    Filesystem type unknown, partition type 0x7
    kernel /vm.linuz-2.6.15-1.2054_ro root = /dev/volGroup 00 /logVol00 rhgb quiet

    Error 17: cannot mount selected partition


    Here is how my grub.conf file looks like (after editing, I highlighted with red)

    //start grub.conf

    default = 0
    timeout = 20


    splashimage = (hd1, 0) /grub/splash.xpm.gz

    hiddenmenu

    Title fedora core (2.6.15-1.2054-FC5)
    root (hd1,0)
    kernel /vm.linuz-2.6.15-1.2054_ro root = /dev/volGroup 00 /logVol00 rhgb quiet
    initrd /initrd-2.6.15-1-2054_FC5.img

    Title windows xp
    root (hd1,0)
    map (hd1) (hd0)
    map (hd0) (hd1)

    chainloader +1

    //end grub.conf

    and here is my /etc/fstab,

    //start /etc/fstab

    /dev/volGroup00/LogVo100 /
    label = /boot /boot
    devpts /dev/pts
    tmpfs /dev/shm
    proc /proc
    sysfs /sys
    /dev/hda6 swap
    /dev/volGroup00 /log vol01 swap

    ext3 defaults 11
    ext3 defaults 12
    devpts gid=5, mode=620 00
    tmpfs defaults 00
    proc defaults 00
    sysfs defaults 00
    swap defaults 00
    swap defaults 00

    //end /etc/fstab

    and finally the fdisk

    //fdisk-l

    Disk /dev/hda: 40.0 GB
    255 heads, 63 sectors/track, 4866 cylinders
    Units = cylinders of 16065*512 = 8225280 bytes

    Device boot start end blocks Id system
    /dev/hda1 * 1 1785 14337181 7 HPFS/NTFS
    /dev/hda3 1786 4866 24748132+ f W95 Ext’d (LBA)
    /dev/hda5 1786 3602 14595021 7 HPFS/NTFS
    /dev/hda6 3603 3666 514048+ 7 HPFS/NTFS
    /dev/hda7 3667 4866 9638968+ 7 HPFS/NTFS

    Disk /dev/hdb: 80.0 GB
    255 heads, 63 sectors/track, 4866 cylinders
    Units = cylinders of 16065*512 = 8225280 bytes

    Device boot start end blocks Id system
    /dev/hdb1 * 1 13 104391 83 Linux
    /dev/hdb2 14 9729 78043770 8e Linux LVM

    //end fdisk -l

    Thanks in advance,

    esprit

  10. #10
    Just Joined!
    Join Date
    Aug 2006
    Posts
    19
    Hi would be nice if some one would help me out with this problem
    Do run small hdd on like 10 gb and only one system on it, on 3 partions.
    Distro ubuntu
    /
    swap
    /home

    This is what I did get from the last less commands over here.

    /proc /proc proc defaults 0 0
    /sys /sys sysfs noauto 0 0
    /dev/pts /dev/pts devpts mode=0622 0 0
    /dev/fd0 /mnt/auto/floppy auto user,noauto,exec,umask=000 0 0
    /dev/cdrom /mnt/auto/cdrom auto user,noauto,exec,ro 0 0
    # Added by KNOPPIX
    /dev/hda5 /mnt/hda5 auto noauto,users,exec 0 0
    # Added by KNOPPIX
    /dev/hda6 none swap defaults 0 0
    # Added by KNOPPIX
    /dev/hda7 /mnt/hda7 ext3 noauto,users,exec 0 0
    swap swap defaults 0 0


    My system do "die" or breakdown like 4 times per year think it have something to with the image or what do you think thats are the problem here?

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
  •