LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 05-08-2009, 08:15 AM   #1
milagros
LQ Newbie
 
Registered: May 2009
Posts: 9

Rep: Reputation: 0
Error 17, GRUB loading stage 1.5


Hello,I'm appreciated if someone helps me.I have the following problem
i install xubuntu 9.04 on the first hard drive of laptop Toshiba Satellite A300-211,that have partition it.(there is also Windows Vista in the other partition of this drive).When I restart my laptop ,it says


Grub loading stage 1.5.

Grub loading, please wait...
Error 17

I ran Super Grub Disk(auto_super_grub_disk_1.5.exe) and i followed this link:https://help.ubuntu.com/community/Re...tallingWindows
but problem exists
thanks in advance
 
Old 05-08-2009, 09:34 AM   #2
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,840

Rep: Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763
Quote:
17 : Cannot mount selected partition
This error is returned if the partition requested exists, but the filesystem type cannot be recognized by GRUB.
Log in to Ubuntu and in a terminal type: sudo fdisk -l (lower case Letter L), post output here. Also post the /boot/grub/menu.lst file. You can skip the sections at the top of this file that have hash marks to the left (#). Most likely what is happening is the stage1 file is pointing to the wrong partition.
 
Old 05-08-2009, 10:15 AM   #3
saurabh nigam
Member
 
Registered: Feb 2009
Location: @ /home & @ my blog at http://saurabh-nigam.blogspot.com/
Distribution: Slackware , Fedora , Ubuntu
Posts: 35

Rep: Reputation: 15
Unhappy Problems Re-installing Grub

Hi
i do have the same problem
whenever i boot i get

Grub loading stage 1.5.

Grub loading, please wait...
Error 17

My system configuration is windows & mandriva 09
I used Mandriva 09 rescue to re-install grub but it says it cannot find root device

i tried
Code:
root (sda
but it says unable to parse number
so finally i restored back to windows bootloader now i want to re-install grub.
Please help !
 
Old 05-08-2009, 10:28 AM   #4
milagros
LQ Newbie
 
Registered: May 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
Log in to Ubuntu and in a terminal type: sudo fdisk -l (lower case Letter L), post output here. Also post the /boot/grub/menu.lst file. You can skip the sections at the top of this file that have hash marks to the left (#). Most likely what is happening is the stage1 file is pointing to the wrong partition.

fdisk -lisk /dev/sda: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xefb069ce

Device Boot Start End Blocks Id System
/dev/sda1 1 192 1536000 27 Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 192 20589 163839996 7 HPFS/NTFS
/dev/sda3 24541 48642 193589248 7 HPFS/NTFS
/dev/sda4 20590 24540 31736407+ 5 Extended
/dev/sda5 20590 24236 29294496 83 Linux
/dev/sda6 24237 24540 2441848+ 82 Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdb: 513 MB, 513802240 bytes
255 heads, 63 sectors/track, 62 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xda3e597b

gedit /boot/grub/menu.lst file.:

title Ubuntu 9.04, kernel 2.6.28-11-generic
uuid 55a2c4aa-78ab-494f-bf3c-b6fa59befa81
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=55a2c4aa-78ab-494f-bf3c-b6fa59befa81 ro quiet splash
initrd /boot/initrd.img-2.6.28-11-generic
quiet

title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
uuid 55a2c4aa-78ab-494f-bf3c-b6fa59befa81
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=55a2c4aa-78ab-494f-bf3c-b6fa59befa81 ro single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
uuid 55a2c4aa-78ab-494f-bf3c-b6fa59befa81
kernel /boot/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/sda2
title Windows Vista (loader)
rootnoverify (hd0,1)
savedefault
makeactive
chainloader +1


Thanks,
 
Old 05-08-2009, 12:03 PM   #5
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,215

Rep: Reputation: 231Reputation: 231Reputation: 231
Milagros:

Welcome to LQ.

Try change the first Ubuntu line of the /boot/grub/menu.lst into following:

title Ubuntu 9.04, kernel 2.6.28-11-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda5 ro
initrd /boot/initrd.img-2.6.28-11-generic
quiet

--use gedit then be sure you saved it, then reboot
--note that the third line "kernel /boot/.... up to /sda5 ro" is a single line, with a space between "kernel" and "/boot" also between "generic" and "root="
-----------------------

To saurabh nigam:

Come post your pertinent information like milagros did so that the members here can help you.
-----------------------

Hope it helps. Goodluck.

Last edited by malekmustaq; 05-08-2009 at 12:12 PM.
 
Old 05-08-2009, 12:38 PM   #6
milagros
LQ Newbie
 
Registered: May 2009
Posts: 9

Original Poster
Rep: Reputation: 0
[QUOTE=malekmustaq;3534744]Milagros:

Welcome to LQ.

Try change the first Ubuntu line of the /boot/grub/menu.lst into following:

title Ubuntu 9.04, kernel 2.6.28-11-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.28-11-generic root=/dev/sda5 ro
initrd /boot/initrd.img-2.6.28-11-generic
quiet

--use gedit then be sure you saved it, then reboot
--note that the third line "kernel /boot/.... up to /sda5 ro" is a single line, with a space between "kernel" and "/boot" also between "generic" and "root="
-----------------------


i tried this and i reboot,but when restart:it says the same error.
why???
I hope you can help me,i face this problem four days now and i need ubuntu.....
 
Old 05-08-2009, 12:40 PM   #7
milagros
LQ Newbie
 
Registered: May 2009
Posts: 9

Original Poster
Rep: Reputation: 0
i forgot to ask you if needs to change with the same lines and recovery mode??
 
Old 05-08-2009, 03:40 PM   #8
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,840

Rep: Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763
You could try re-installing Grub by using your Installation CD, letting it load, open a terminal and type:

sudo grub (should be prompted for password and get prompt: grub>)

here you would enter: root (hd0,4)
setup (hd0)
quit

Hit the enter key after entering each line. In your first post you said you installed xubuntu 'on the first drive'. Do you or did you have another drive connected during the install other than the 513MB flash?
 
Old 05-08-2009, 04:20 PM   #9
milagros
LQ Newbie
 
Registered: May 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
You could try re-installing Grub by using your Installation CD, letting it load, open a terminal and type:

sudo grub (should be prompted for password and get prompt: grub>)

here you would enter: root (hd0,4)
setup (hd0)
quit

Hit the enter key after entering each line. In your first post you said you installed xubuntu 'on the first drive'. Do you or did you have another drive connected during the install other than the 513MB flash?
No,i did the above,but problem remains.
Thanks a lot..
 
Old 05-08-2009, 04:52 PM   #10
milagros
LQ Newbie
 
Registered: May 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Partition table entries are not in disk order
Is this a problem??
 
Old 05-08-2009, 06:39 PM   #11
yancek
Senior Member
 
Registered: Apr 2008
Distribution: PCLinux, Ubuntu, Slackware
Posts: 4,840

Rep: Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763Reputation: 763
Your Ubuntu partition is on sda5 per your fdisk output so the commands I suggested should have worked. sda5 is (hd0,4) to Grub. Did you have any other drives attached during the install?

Couple things to try. First, to see how Grub sees your partitions open a terminal and type: sudo grub (this should get the grub prompt: grub>)
at the grub prompt type: geometry (hd0)

After doing that and posting here, get out of Grub (quit) and do 'sudo blkid' and post output.

Quote:
Partition table entries are not in disk order
Is this a problem??
Probably. Note your fdisk output. sda1 ends at 192 and sda2 starts at 192 when it should start at 193. Don't know why this happens or if it can be resolved short of re-partitiion/re-install. Perhaps someone else will explain it.
 
Old 05-08-2009, 07:14 PM   #12
milagros
LQ Newbie
 
Registered: May 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
Your Ubuntu partition is on sda5 per your fdisk output so the commands I suggested should have worked. sda5 is (hd0,4) to Grub. Did you have any other drives attached during the install?

Couple things to try. First, to see how Grub sees your partitions open a terminal and type: sudo grub (this should get the grub prompt: grub>)
at the grub prompt type: geometry (hd0)

After doing that and posting here, get out of Grub (quit) and do 'sudo blkid' and post output.



Probably. Note your fdisk output. sda1 ends at 192 and sda2 starts at 192 when it should start at 193. Don't know why this happens or if it can be resolved short of re-partitiion/re-install. Perhaps someone else will explain it.

grub> geometry (hd0)
drive 0x80: C/H/S = 48641/255/63, The number of sectors = 781422768, /dev/sda
Partition num: 0, Filesystem type unknown, partition type 0x27
Partition num: 1, Filesystem type unknown, partition type 0x7
Partition num: 2, Filesystem type unknown, partition type 0x7
Partition num: 4, Filesystem type is ext2fs, partition type 0x83
Partition num: 5, Filesystem type unknown, partition type 0x82
sudo blkid
/dev/sda1: UUID="8
=> Grub0.97 is installed in the MBR of /dev/sda and looks on the same drive
in partition #5 for /boot/grub/stage2 and /boot/grub/menu.lst.

sda1: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

sda2: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows Vista
Boot files/dirs: /bootmgr /Boot/BCD /Windows/System32/winload.exe

sda3: _________________________________________________________________________

File system: ntfs
Boot sector type: Windows Vista
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files/dirs:

sda4: _________________________________________________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: _________________________________________________________________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 8.10
Boot files/dirs: /boot/grub/menu.lst /etc/fstab

sda6: _________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders, total 781422768 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xefb069ce

Partition Boot Start End Size Id System

/dev/sda1 2,048 3,074,047 3,072,000 27 Hidden HPFS/NTFS
/dev/sda2 * 3,074,048 330,754,039 327,679,992 7 HPFS/NTFS
/dev/sda3 394,242,048 781,420,543 387,178,496 7 HPFS/NTFS
/dev/sda4 330,762,285 394,235,099 63,472,815 5 Extended
/dev/sda5 330,762,348 389,351,339 58,588,992 83 Linux
/dev/sda6 389,351,403 394,235,099 4,883,697 82 Linux swap / Solaris


blkid -c /dev/null: ____________________________________________________________

/dev/sda1: UUID="803003E63003E250" LABEL="WinRE" TYPE="ntfs"
/dev/sda2: UUID="222405FE2405D627" LABEL="Vista" TYPE="ntfs"
/dev/sda3: UUID="4E9008209008115F" LABEL="Data" TYPE="ntfs"
/dev/sda5: UUID="49aa06a2-8d24-41b5-84ac-eeff328574d2" TYPE="ext3"
/dev/sda6: TYPE="swap" UUID="fa253903-2240-48d8-9dc2-8f1d9c95fa4e"

=============================== "mount" output: ===============================

/dev/sda5 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.27-11-generic/volatile type tmpfs (rw,mode=755)
securityfs on /sys/kernel/security type securityfs (rw)
/dev/sda2 on /media/Vista type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)


03003E63003E250" LABEL="WinRE" TYPE="ntfs"
/dev/sda2: UUID="222405FE2405D627" LABEL="Vista" TYPE="ntfs"
/dev/sda3: UUID="4E9008209008115F" LABEL="Data" TYPE="ntfs"
/dev/sda5: UUID="49aa06a2-8d24-41b5-84ac-eeff328574d2" TYPE="ext3"
/dev/sda6: TYPE="swap" UUID="fa253903-2240-48d8-9dc2-8f1d9c95fa4e"

title Ubuntu 8.10, kernel 2.6.27-11-generic
uuid 49aa06a2-8d24-41b5-84ac-eeff328574d2
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=49aa06a2-8d24-41b5-84ac-eeff328574d2 ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic
quiet

title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid 49aa06a2-8d24-41b5-84ac-eeff328574d2
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=49aa06a2-8d24-41b5-84ac-eeff328574d2 ro single
initrd /boot/initrd.img-2.6.27-11-generic

title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 49aa06a2-8d24-41b5-84ac-eeff328574d2
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=49aa06a2-8d24-41b5-84ac-eeff328574d2 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 49aa06a2-8d24-41b5-84ac-eeff328574d2
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=49aa06a2-8d24-41b5-84ac-eeff328574d2 ro single
initrd /boot/initrd.img-2.6.27-7-generic

title Ubuntu 8.10, memtest86+
uuid 49aa06a2-8d24-41b5-84ac-eeff328574d2
kernel /boot/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/sda2
title Windows Vista/Longhorn (loader)
root (hd0,1)
savedefault
makeactive
chainloader +1


=============================== sda5/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda5
UUID=49aa06a2-8d24-41b5-84ac-eeff328574d2 / ext3 relatime,errors=remount-ro 0 1
# /dev/sda6
UUID=fa253903-2240-48d8-9dc2-8f1d9c95fa4e none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

=================== sda5: Location of files loaded by Grub: ===================


190.2GB: boot/grub/menu.lst
190.1GB: boot/grub/stage2
190.2GB: boot/initrd.img-2.6.27-11-generic
190.1GB: boot/initrd.img-2.6.27-7-generic
190.2GB: boot/vmlinuz-2.6.27-11-generic
190.2GB: boot/vmlinuz-2.6.27-7-generic
190.2GB: initrd.img
190.1GB: initrd.img.old
190.2GB: vmlinuz
190.2GB: vmlinuz.old

i posted also it,if it helps you to understand.I reinstall ubuntu 8.10.
 
Old 05-08-2009, 07:16 PM   #13
milagros
LQ Newbie
 
Registered: May 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Did you have any other drives attached during the install?
No
 
Old 05-08-2009, 07:41 PM   #14
milagros
LQ Newbie
 
Registered: May 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by milagros View Post
Did you have any other drives attached during the install?
No
when i boot it says loading stage 1.5,loading please wait..is it a problem??
thanks a lot for your help
i believe that problem doesn't exist any more....
 
Old 05-09-2009, 02:47 AM   #15
saurabh nigam
Member
 
Registered: Feb 2009
Location: @ /home & @ my blog at http://saurabh-nigam.blogspot.com/
Distribution: Slackware , Fedora , Ubuntu
Posts: 35

Rep: Reputation: 15
Unhappy Problem re-installing bootloader

Hi malekmustaq

Before the grub crash i ran
Code:
fsck
cause it was showing some probs in getting started
it asked
Code:
This may damage your filesystem y or n?
y
I answered yes
After that i couldn't use GRUB


Now whwn I used Mandriva DVD to rescue
I selected re-install Grub bootloader
it answered

Code:
Installing drivers.........SATA controller

Installing drivers.........IDE controller

Please wait finding your root device
running: vol_id /dev/loop0
running: vol_id /dev/sda
running: vol_id /dev/sda1
running: vol_id /dev/sda2
running: vol_id /dev/sda3
running: vol_id /dev/sda4
running: vol_id /dev/sda5
running: vol_id /dev/sda6
running: vol_id /dev/sda7
running: vol_id /dev/sda8

Couldn't find your root device:-(

Guessmounts failed at /usr/sbin/install_bootloader line 28

I also ran
Code:
fdisk -l
mkdir realroot
mount /dev/sda5 realroot
grub-install --root-directory=realroot /dev/sda
but it answered
Code:
/sbin/grub-install:line 595:expr:command not found
/sbin/grub-install:line 587:test:-gt:unary operator expected
/sbin/grub-install:line 597:test:-eq:unary operator expected
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu 6.10.. Loading Stage 1.5.. Grub Error 2? New install, only o/s?? HELP MEEEE!!! Donkey_kong Linux - Newbie 4 09-01-2011 03:24 AM
Grub loading stage 1.5 error 21. *I*A* Linux - Newbie 5 02-21-2008 02:00 PM
dual booting fedora with vista - boot error - "GRUB loading stage 2" ans Fedora 2 08-20-2007 06:12 AM
Error 17 GRUB Loading stage 1.5, please wait. No keyboard/touch pad response, Unable digital8doug Linux - Newbie 9 10-02-2006 03:14 PM
GRUB Loading stage 1.5 ...... Error 25 sean21 Linux - Newbie 2 11-08-2003 08:27 PM


All times are GMT -5. The time now is 07:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration