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 |
Quote:
|
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 so finally i restored back to windows bootloader now i want to re-install grub. Please help ! |
Quote:
fdisk -l:Disk /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, |
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. |
[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..... |
i forgot to ask you if needs to change with the same lines and recovery mode??
|
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? |
Quote:
Thanks a lot.. |
Partition table entries are not in disk order
Is this a problem?? |
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:
|
Quote:
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. |
Did you have any other drives attached during the install?
No |
Quote:
thanks a lot for your help i believe that problem doesn't exist any more.... |
Problem re-installing bootloader
Hi malekmustaq
Before the grub crash i ran Code:
fsck it asked Code:
This may damage your filesystem y or n? 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 I also ran Code:
fdisk -l Code:
/sbin/grub-install:line 595:expr:command not found |
All times are GMT -5. The time now is 12:24 AM. |