LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-06-2007, 03:48 AM   #1
rendani
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Rep: Reputation: 0
GRUB Error


I have intalled Linux on a PC that was already running Windows. The following day when i boot it, it displays GRUB eroor. when i run "fdisk -l" i get the following:

Disk /dev/hda: 20.4 GB, 20491075584 bytes
16 heads, 63 sectors/track, 39704 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 29085 14658808+ 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/hda2 29086 39191 5092605 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/hda3 39191 39701 257040 5 Extended
Partition 3 does not end on cylinder boundary.
/dev/hda5 39191 39701 257008+ 82 Linux swap / Solaris

What must i do? Dont want to loose my data. Please help
 
Old 07-06-2007, 06:35 AM   #2
LuLoh
LQ Newbie
 
Registered: Feb 2007
Location: Spain
Distribution: debian etch
Posts: 13

Rep: Reputation: 0
As far as I know, the fdisk -l output like 'Partition 1 does not end on cylinder boundary.' is not necessarily serious. But I'm not sure if I understand your problems, so:
- can you boot both OS (W$ and linux), or just one of them?
- how do you get the output from fdisk, from your installed linux or do you boot from a live-cd?
- what exactly is the error message you get from grub when you try to boot?

And if you're really very worried about loosing your data, boot from a live-cd like knoppix, mount your ntfs windows partition and make a copy of your data, just in case something really goes wrong when you try to fix your disk partition table.
Gt.
 
Old 07-06-2007, 07:57 AM   #3
rendani
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by LuLoh
As far as I know, the fdisk -l output like 'Partition 1 does not end on cylinder boundary.' is not necessarily serious. But I'm not sure if I understand your problems, so:
- can you boot both OS (W$ and linux), or just one of them?
- how do you get the output from fdisk, from your installed linux or do you boot from a live-cd?
- what exactly is the error message you get from grub when you try to boot?

And if you're really very worried about loosing your data, boot from a live-cd like knoppix, mount your ntfs windows partition and make a copy of your data, just in case something really goes wrong when you try to fix your disk partition table.
Gt.

Thanks for replying - I boot from live-cd of linux and run fdisk -l. I can not boot to linux or Windows that are installed. When i boot-up, it says "Loading GRUB, pleate waite" after few seconds, it display "Error 18" and just stops. I am really worried about this because i want to work. Any safe way to fix this??
 
Old 07-06-2007, 08:23 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
From the GRUB manual:
Quote:
18 : Selected cylinder exceeds maximum supported by BIOS
This error is returned when a read is attempted at a linear block address beyond the end of the BIOS translated area. This generally happens if your disk is larger than the BIOS can handle (512MB for (E)IDE disks on older machines or larger than 8GB in general).
Was your system once working?
This error is to be expected in some older machines--a BIOS update may be in order. What is the hardware?
 
Old 07-06-2007, 08:58 AM   #5
rendani
LQ Newbie
 
Registered: Jul 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Thaks

Quote:
Originally Posted by pixellany
From the GRUB manual:
Was your system once working?
This error is to be expected in some older machines--a BIOS update may be in order. What is the hardware?
I am running pentium 3 with 20GB HD and 700MHz processor. The system was running well before ( Windows). Even after i have intalled linux(edubuntu) i was able to dual boot for the first day, then switch it off during knock-off time - to my suprise, when i switched on the following day , it displayed that error. I am worried because i didnt work for the whole of today.
 
  


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
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM
Error Grub stage2 loading error (using FC6) on seperate hdd Anifield Linux - Newbie 7 03-20-2007 01:14 PM
GRUB Error 26: Disk Read Error (using grub4dos and ubuntu) Dark_Master Linux - Software 11 02-25-2007 07:42 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration