Grub error 17

Status
Not open for further replies.

Sykora

I see right through you.
On my new computer I decided to try out kubuntu, and I've done up my partitioning as follows :

sda1 : /boot : 128MB (ext3)
sda2 : / : 75GB (reiserfs)
sda5 : /home 75GB (reiserfs)
sda6 : swap : 1GB

Installation went fine, and I told it to put GRUB on my second hard disk, the first one being partially occupied by Windows.

I successfully reboot into my second hard disk and grub loads, but gives a GRUB error 17 (Cannot mount partition) on every entry. I'm using the livecd right now, and I've checked the partitions for integrity, and mounted them myself here. They all look fine. I have no idea why I can't boot into kubuntu.

I'll include my menu.lst if anyone wants to take a look at it.

Please help.
 

QwertyManiac

Commander in Chief
Error 17 means GRUB can't identify the filesystem, maybe something's wrong in the menu.lst, something pointing to a wrong place?
 

Asfaq

Keyboard addict
@Sykora : post the contents of your menu.lst file. That should hold the key. In all probabilty u r pointing to an incorrect location..
 
OP
Sykora

Sykora

I see right through you.
This is the entry part of my menu.lst :

title Ubuntu, kernel 2.6.20-15-generic
root (hd1,0)
kernel /vmlinuz-2.6.20-15-generic root=UUID=53b427a1-60ab-48d0-bfbb-870ec0e38557 ro quiet splash
initrd /initrd.img-2.6.20-15-generic
quiet
savedefault

title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
root (hd1,0)
kernel /vmlinuz-2.6.20-15-generic root=UUID=53b427a1-60ab-48d0-bfbb-870ec0e38557 ro single
initrd /initrd.img-2.6.20-15-generic

title Ubuntu, memtest86+
root (hd1,0)
kernel /memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows Vista/Longhorn (loader)
root (hd0,0)
savedefault
chainloader +1

Everything looks right, I think. the main ubuntu entry points to (hd1,0), which is the first partition of my second hdd, which is where I've set /boot .
 

praka123

left this forum longback
I assume u dont get a GRUB boot menu,instead error 17.
my suggestion is do reinstall grub from chroot.first mount ur ubuntu "/" somewhere say /mnt,then mount ur /boot partition inside /mnt/boot/ .then chroot into ubuntu in /mnt and try a GRUB reinstall.if the /boot partn is valid,u can mount.and another suggestion is while in chroot try a :
Code:
sudo dpkg-reconfigure linux-image-`uname -r`
^ it will auto set GRUB among other things.be sure to mount ur /boot/ partn inside ur ubuntu root (/) partn's /boot directory.
if this step too fails,u shud consider installing grub natively.
and u can get the uuid for each disks once u booted into Ubuntu as:
Code:
 ls  -l /dev/disk/by-uuid/
even i am doubtful whether it can boot from ur second hdd,may be we need to set something like active partn? etc :?
 
Status
Not open for further replies.
Top Bottom